/* ============================================================
   Fortress Industrial Supplies — Refreshed theme
   Mirrors the original layout (categories on the left of nav,
   slider hero, "Detail by category" image grid).
   Palette: dark navy blue accents on a white background.
   ============================================================ */

/* ----- Design tokens ----- */
:root {
  --navy:       #0a1f44;   /* primary dark blue */
  --navy-dark:  #061633;   /* darker for hover / footer */
  --navy-light: #14306b;   /* lighter for accents */
  --blue:       #1e40af;   /* mid blue */
  --blue-soft:  #e8eef9;   /* very light blue tint */
  --gold:       #f5b301;   /* small CTA accent */

  --ink-900: #1f2937;
  --ink-700: #374151;
  --ink-500: #6b7280;
  --ink-300: #d1d5db;
  --ink-200: #e5e7eb;
  --ink-100: #f3f4f6;
  --ink-50:  #f9fafb;

  --white: #ffffff;
  --danger:  #dc2626;
  --success: #059669;

  --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 31, 68, 0.08);
  --shadow-lg: 0 16px 32px rgba(10, 31, 68, 0.12);

  --r-sm: 4px;
  --r:    6px;
  --r-lg: 10px;

  --container: 1200px;
  --transition: 200ms ease;
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', 'Poppins', sans-serif;
  margin: 0 0 0.5em;
  line-height: 1.25;
  color: var(--navy);
  font-weight: 700;
}
h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.section_padding   { padding: 70px 0; }
.section_padding_b { padding: 0 0 70px; }
.section_padding_t { padding: 70px 0 0; }

.section_title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 36px;
  color: var(--navy);
  position: relative;
}
.section_title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--navy);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--ink-200);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.top_header {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top_header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  height: 38px;
}
.top_header a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top_header a:hover { color: var(--gold); }
.top_header .left { display: flex; gap: 22px; flex-wrap: wrap; }
.top_header .right { display: flex; gap: 18px; align-items: center; }
.top_header svg { width: 14px; height: 14px; }
.top_header .social { display: flex; gap: 14px; }
.top_header .social a svg { width: 14px; height: 14px; }

@media (max-width: 640px) { .top_header { display: none; } }

/* ============================================================
   MAIN HEADER (white, with logo + search + inquiry)
   ============================================================ */
.site_header {
  background: var(--white);
  border-bottom: 1px solid var(--ink-200);
}
.site_header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
/* ----- Text logo (header + footer) ----- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(10, 31, 68, 0.15);
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
}
.logo-row1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
  letter-spacing: 0.2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo-row2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--ink-500);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* Footer variant — same logo, inverted colours for dark navy background */
.site_footer .logo-row1 { color: var(--white); }
.site_footer .logo-row2 { color: rgba(255, 255, 255, 0.65); }
.site_footer .logo-mark {
  background: var(--white);
  color: var(--navy);
}

/* Search with built-in "All categories" select, like the original */
.search_wrap {
  flex: 1;
  max-width: 640px;
  margin: 0 auto;
}
.search_wrap form {
  display: flex;
  border: 2px solid var(--navy);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition);
}
.search_wrap form:focus-within {
  box-shadow: 0 0 0 4px rgba(10, 31, 68, 0.1);
}
.search_wrap .search_cat {
  position: relative;
  background: var(--ink-50);
  border-right: 1px solid var(--ink-200);
}
.search_wrap .search_cat select {
  border: 0;
  background: transparent;
  padding: 0 32px 0 16px;
  height: 44px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ink-700);
  appearance: none;
  cursor: pointer;
  font-weight: 500;
  outline: none;
}
.search_wrap .search_cat::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-25%) rotate(45deg);
  width: 7px; height: 7px;
  border-right: 2px solid var(--ink-500);
  border-bottom: 2px solid var(--ink-500);
  pointer-events: none;
}
.search_wrap input[type="search"] {
  flex: 1;
  border: 0;
  padding: 0 16px;
  height: 44px;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  color: var(--ink-900);
  background: transparent;
}
.search_wrap input::placeholder { color: var(--ink-500); }
.search_wrap button {
  border: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0 22px;
  height: 44px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition);
}
.search_wrap button:hover { background: var(--blue); }

/* Inquiry icon (right side) */
.header_inquiry {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header_inquiry .icn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: background var(--transition), color var(--transition);
}
.header_inquiry:hover .icn { background: var(--navy); color: var(--white); }
.header_inquiry .icn svg { width: 18px; height: 18px; }
.header_inquiry .txt { display: flex; flex-direction: column; line-height: 1.15; }
.header_inquiry .txt small { color: var(--ink-500); font-size: 0.72rem; }
.header_inquiry .txt strong { color: var(--navy); font-weight: 700; font-size: 0.92rem; }

/* Mobile burger */
.mobile_toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: var(--navy);
  color: var(--white);
  border: 0;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   PRIMARY NAV (dark navy bar — categories on the LEFT, like original)
   ============================================================ */
.primary_nav {
  background: var(--navy);
  color: var(--white);
  position: relative;
  z-index: 50;
}
.primary_nav .container {
  display: flex;
  align-items: stretch;
  height: 50px;
  padding: 0 16px;
}

/* "All Categories" trigger on the FAR LEFT (matches original) */
.all_categories {
  position: relative;
  width: 260px;
  flex-shrink: 0;
}
.all_categories > .trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 18px;
  background: var(--navy-light);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  border: 0;
  width: 100%;
  cursor: pointer;
  transition: background var(--transition);
}
.all_categories > .trigger svg { width: 16px; height: 16px; }
.all_categories > .trigger .caret {
  margin-left: auto;
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform var(--transition);
}
.all_categories:hover > .trigger { background: var(--blue); }
.all_categories:hover > .trigger .caret { transform: rotate(-135deg); margin-top: 2px; }

/* Mega menu list — open on hover */
.cat_menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-top: 0;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms, transform 180ms, visibility 180ms;
  z-index: 60;
  max-height: 540px;
  overflow-y: auto;
}
.all_categories:hover .cat_menu,
.all_categories:focus-within .cat_menu,
.all_categories.open .cat_menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.cat_menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-100);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.cat_menu a:last-child { border-bottom: 0; }
.cat_menu a:hover { background: var(--blue-soft); color: var(--navy); padding-left: 22px; }
.cat_menu .ci {
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  background: var(--ink-100);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.cat_menu a:hover .ci { background: var(--navy); color: var(--white); }
.cat_menu .ci svg { width: 16px; height: 16px; }

/* Inline nav links (right of categories) */
.nav_links {
  display: flex;
  align-items: stretch;
  flex: 1;
}
.nav_links > li { position: relative; }
.nav_links > li > a {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 18px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.92rem;
  transition: background var(--transition), color var(--transition);
}
.nav_links > li > a:hover,
.nav_links > li > a.active {
  background: var(--navy-dark);
  color: var(--gold);
}
.nav_links .has_sub > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-top: -2px;
}
.subnav {
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms, transform 180ms, visibility 180ms;
  z-index: 60;
}
.has_sub:hover .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-100);
}
.subnav a:hover { background: var(--blue-soft); color: var(--navy); }
.subnav a:last-child { border-bottom: 0; }

.nav_phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 18px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  align-self: center;
}
.nav_phone:hover { color: var(--gold); }

/* ============================================================
   HERO SLIDER (matches original — full bg image + heading + lead)
   ============================================================ */
.banner_slider {
  position: relative;
  background: var(--navy-dark);
}
.hero_track {
  display: flex;
  overflow: hidden;
}
.hero_area {
  flex: 0 0 100%;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero_area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 31, 68, 0.86) 0%, rgba(10, 31, 68, 0.7) 45%, rgba(10, 31, 68, 0.3) 100%);
}
.hero_area .container { position: relative; z-index: 1; padding: 60px 16px; }
.hero_content { max-width: 600px; }
.hero_content .eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.hero_content h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 700;
}
.hero_content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  margin-bottom: 26px;
  line-height: 1.65;
}
.hero_ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Slider arrows + dots */
.slider_arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.slider_arrows button {
  pointer-events: auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  transition: background var(--transition), border-color var(--transition);
}
.slider_arrows button:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.slider_dots {
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 2;
}
.slider_dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
  transition: background var(--transition), width var(--transition);
}
.slider_dots button.active { background: var(--white); width: 28px; border-radius: 5px; }

/* ============================================================
   SHOP BY CATEGORY GRID
   ============================================================ */
.shop_bycat .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat_card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ink-200);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: block;
}
.cat_card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}
.cat_card .cat_img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-100);
  position: relative;
}
.cat_card .cat_img img,
.cat_card .cat_img object {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
  display: block;
}
.cat_card:hover .cat_img img,
.cat_card:hover .cat_img object {
  transform: scale(1.05);
}
.cat_card .cat_img .new_tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cat_card .cat_label {
  padding: 16px 14px;
  text-align: center;
}
.cat_card .cat_label h5 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0;
  font-weight: 600;
  transition: color var(--transition);
}
.cat_card:hover .cat_label h5 { color: var(--blue); }

/* ============================================================
   SUBCATEGORY GRID (matches original — 6 columns of compact cards)
   ============================================================ */
.subcat_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.subcat_card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.subcat_card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.subcat_card .subcat_img {
  aspect-ratio: 1 / 1;
  background: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px;
}
.subcat_card .subcat_img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 300ms ease;
}
.subcat_card:hover .subcat_img img { transform: scale(1.06); }
.subcat_card .subcat_label {
  padding: 10px 12px 14px;
  border-top: 1px solid var(--ink-100);
  flex: 1;
  display: flex;
  align-items: flex-start;
}
.subcat_card .subcat_label p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1.35;
  text-align: center;
  width: 100%;
}
.subcat_card:hover .subcat_label p { color: var(--navy); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product_detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.product_detail .pd_img {
  background: var(--ink-50);
  border-radius: var(--r);
  padding: 24px;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
}
.product_detail .pd_img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product_detail .pd_info h1 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.product_detail .pd_cat {
  margin-bottom: 4px;
  color: var(--ink-700);
  font-size: 0.92rem;
}
.product_detail .pd_cat span { color: var(--ink-700); font-weight: 600; margin-right: 6px; }
.product_detail .pd_cat a { color: var(--blue); font-weight: 600; }
.product_detail .pd_cat a:hover { color: var(--navy); }
.product_detail .pd_intro { color: var(--ink-500); margin-bottom: 22px; }
.product_detail .pd_form { background: var(--ink-50); border-radius: var(--r); padding: 22px; }

.related_block { margin-top: 48px; }
.related_block h3 { margin-bottom: 18px; font-size: 1.2rem; }

/* ============================================================
   FEATURED PANEL (Abrasives & Tools, Safety) — subtle, not flashy
   ============================================================ */
.featured_panels {
  background: var(--ink-50);
}
.featured_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.featured_card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--ink-200);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 240px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.featured_card:hover { box-shadow: var(--shadow-md); border-color: var(--navy); }
.featured_card .fc_img {
  background-size: cover;
  background-position: center;
  background-color: var(--ink-100);
}
.featured_card .fc_body { padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; }
.featured_card .fc_tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 6px;
}
.featured_card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.25rem; }
.featured_card p { color: var(--ink-700); font-size: 0.92rem; margin-bottom: 18px; }
.featured_card .fc_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  width: fit-content;
}
.featured_card .fc_link:hover { color: var(--blue); gap: 10px; }
.featured_card .fc_link svg { width: 14px; height: 14px; }

/* ============================================================
   ABOUT PAGE BLOCKS
   ============================================================ */
.page_banner {
  background: var(--navy);
  background-image: linear-gradient(135deg, rgba(10,31,68,0.92), rgba(20,48,107,0.92)), url('../images/slider/slider_01.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 48px 0;
}
.page_banner h1 { color: var(--white); margin: 0 0 6px; font-size: 2rem; }
.breadcrumbs {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.8); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { opacity: 0.5; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split .text_md {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}
.split h2 { font-size: 1.7rem; margin-bottom: 14px; }
.split p  { color: var(--ink-700); margin-bottom: 12px; }
.split img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

/* ============================================================
   WHY US / FEATURES (3 cards)
   ============================================================ */
.features_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature_card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature_card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature_card .fi {
  width: 48px; height: 48px;
  border-radius: var(--r);
  background: var(--blue-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feature_card .fi svg { width: 22px; height: 22px; }
.feature_card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feature_card p { font-size: 0.92rem; color: var(--ink-500); margin: 0; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta_band {
  background:
    linear-gradient(135deg, rgba(10, 31, 68, 0.95), rgba(30, 64, 175, 0.85)),
    url('../images/slider/slider_02.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 54px 0;
}
.cta_band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta_band h2 { color: var(--white); margin: 0; max-width: 600px; font-size: 1.5rem; }
.cta_band p  { color: rgba(255, 255, 255, 0.85); margin: 6px 0 0; }
.cta_band .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact_grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.contact_form {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form_field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.form_field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-700); }
.form_field input,
.form_field textarea {
  padding: 10px 12px;
  border: 1px solid var(--ink-200);
  border-radius: var(--r);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--ink-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form_field input:focus,
.form_field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(10, 31, 68, 0.08);
}
.form_field textarea { resize: vertical; min-height: 130px; }
.form_field small { color: var(--danger); font-size: 0.78rem; }

.contact_cards { display: flex; flex-direction: column; gap: 14px; }
.contact_cards .card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact_cards .ic {
  width: 42px; height: 42px;
  border-radius: var(--r);
  background: var(--blue-soft);
  color: var(--navy);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.contact_cards .ic svg { width: 18px; height: 18px; }
.contact_cards h5 { color: var(--navy); margin: 0 0 2px; font-size: 0.95rem; }
.contact_cards p, .contact_cards a { color: var(--ink-700); margin: 0; font-size: 0.92rem; }

.alert {
  border-radius: var(--r);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.alert-success { background: rgba(5, 150, 105, 0.08); border: 1px solid var(--success); color: var(--success); }
.alert-error   { background: rgba(220, 38, 38, 0.06);  border: 1px solid var(--danger);  color: var(--danger);  }

/* ============================================================
   FOOTER
   ============================================================ */
.site_footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
}
.footer_grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer_brand p { margin-top: 14px; font-size: 0.9rem; line-height: 1.65; }
.footer_col h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer_col ul li { margin-bottom: 10px; }
.footer_col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer_col ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer_contact_item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
}
.footer_contact_item .fci {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.footer_contact_item .fci svg { width: 14px; height: 14px; }
.footer_contact_item a { color: rgba(255, 255, 255, 0.85); }
.footer_contact_item a:hover { color: var(--gold); }

.footer_social { display: flex; gap: 10px; margin-top: 14px; }
.footer_social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background var(--transition), color var(--transition);
}
.footer_social a:hover { background: var(--gold); color: var(--navy); }
.footer_social svg { width: 16px; height: 16px; }

.footer_bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   MOBILE NAV DRAWER (overlay)
   ============================================================ */
.drawer_backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 68, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms, visibility 300ms;
  z-index: 90;
}
.drawer_backdrop.open { opacity: 1; visibility: visible; }

.mobile_nav {
  position: fixed;
  top: 0; left: 0;
  width: 320px;
  max-width: 88vw;
  height: 100vh;
  background: var(--white);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.mobile_nav.open { transform: translateX(0); }
.mobile_nav_head {
  background: var(--navy);
  color: var(--white);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile_nav_head h3 { color: var(--white); margin: 0; font-size: 1.05rem; }
.mobile_nav_close {
  background: transparent;
  border: 0;
  color: var(--white);
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
}
.mobile_nav_section { padding: 8px 0; }
.mobile_nav_section h6 {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ink-500);
  font-size: 0.72rem;
  padding: 12px 22px 4px;
  margin: 0;
  border-top: 1px solid var(--ink-100);
}
.mobile_nav_section:first-of-type h6 { border-top: 0; }
.mobile_nav_section a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  color: var(--ink-900);
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile_nav_section a:hover { background: var(--blue-soft); color: var(--navy); }
.mobile_nav_section a .ci {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: var(--ink-100);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mobile_nav_section a .ci svg { width: 14px; height: 14px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .shop_bycat .row { grid-template-columns: repeat(3, 1fr); }
  .subcat_grid     { grid-template-columns: repeat(4, 1fr); }
  .featured_grid   { grid-template-columns: 1fr; }
  .features_grid   { grid-template-columns: repeat(2, 1fr); }
  .footer_grid     { grid-template-columns: 1fr 1fr; gap: 28px; }
  .split           { grid-template-columns: 1fr; gap: 30px; }
  .contact_grid    { grid-template-columns: 1fr; }
  .product_detail  { grid-template-columns: 1fr; gap: 24px; }
  .all_categories  { width: 220px; }
  .nav_phone span.text { display: none; }
}

@media (max-width: 768px) {
  .section_padding   { padding: 50px 0; }
  .section_padding_b { padding: 0 0 50px; }

  /* Header collapses */
  .site_header .container { padding-top: 12px; padding-bottom: 12px; gap: 12px; flex-wrap: nowrap; }
  .search_wrap    { display: none; }
  .header_inquiry { display: none; }
  .mobile_toggle  { display: inline-flex; }

  /* Hide desktop nav on mobile */
  .primary_nav { display: none; }

  .hero_area { min-height: 380px; }
  .hero_area .container { padding: 50px 16px; }
  .hero_content p { font-size: 0.95rem; }

  .shop_bycat .row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .subcat_grid     { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .product_detail  { padding: 22px; }
  .features_grid   { grid-template-columns: 1fr; }
  .footer_grid     { grid-template-columns: 1fr; gap: 28px; }
  .form_row        { grid-template-columns: 1fr; }
  .featured_card   { grid-template-columns: 1fr; }
  .featured_card .fc_img { min-height: 180px; }

  .cta_band .container { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .logo-mark { width: 40px; height: 40px; font-size: 1.25rem; }
  .logo-row1 { font-size: 1rem; }
  .logo-row2 { font-size: 0.65rem; letter-spacing: 2px; }
}

@media (max-width: 480px) {
  .logo-row2 { display: none; }
  .cat_card .cat_label { padding: 12px 8px; }
  .cat_card .cat_label h5 { font-size: 0.85rem; }
  .subcat_grid { grid-template-columns: repeat(2, 1fr); }
  .subcat_card .subcat_label p { font-size: 0.78rem; }
}

/* utility */
body.no-scroll { overflow: hidden; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
