/* ================================================
   MUN OVERSEAS  ·  products.css
   Products page specific styles
   ================================================ */

/* ── PAGE HERO ── */
.page-hero {
  min-height: 52vh;
  padding-top: 70px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ph-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  z-index: 0;
}
.ph-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8,20,36,.92) 0%, rgba(10,30,55,.78) 55%, rgba(10,30,55,.5) 100%);
  z-index: 1;
}
.ph-content {
  position: relative; z-index: 2;
  padding: 60px 28px 70px;
}
.ph-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: rgba(255,255,255,.55);
  margin-bottom: 22px; font-weight: 400;
}
.ph-breadcrumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.ph-breadcrumb a:hover { color: white; }
.ph-breadcrumb .fa { font-size: .6rem; }

.ph-content h1 {
  font-family: var(--fh);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; color: white; line-height: 1.1;
  margin-bottom: 18px;
}
.ph-content h1 em { font-style: italic; color: #7ec8f5; }
.ph-content p {
  font-size: 1rem; color: rgba(255,255,255,.72);
  max-width: 560px; font-weight: 300;
  line-height: 1.75; margin-bottom: 36px;
}

.ph-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.ph-stat {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 10px 18px;
}
.ph-stat .fa { color: var(--gold); font-size: 1rem; }
.ph-stat span { font-size: .85rem; color: rgba(255,255,255,.85); }
.ph-stat strong { font-weight: 700; color: white; }

/* ── CATEGORY NAV BAR ── */
.cat-nav-bar {
  background: white;
  border-bottom: 2px solid var(--g200);
  position: sticky; top: 70px; z-index: 900;
  box-shadow: 0 2px 16px rgba(13,33,55,.06);
}
.cat-nav-scroll {
  display: flex; align-items: stretch;
  overflow-x: auto; gap: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-nav-scroll::-webkit-scrollbar { display: none; }

.cat-nav-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 16px 20px;
  font-size: .8rem; font-weight: 600;
  color: var(--g600); white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--tr);
  letter-spacing: .02em;
}
.cat-nav-item .fa { font-size: .85rem; }
.cat-nav-item:hover { color: var(--blue); background: var(--blue-lt); }
.cat-nav-item.active-cat {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: var(--blue-lt);
}

/* ── MAIN PRODUCTS ── */
.products-main { }

/* ── CATEGORY SECTION ── */
.cat-section { padding: 72px 0; }
.cat-section.alt-bg { background: var(--off); }

/* Category header */
.cat-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 24px;
  margin-bottom: 44px; flex-wrap: wrap;
}
.cat-header-left { display: flex; align-items: flex-start; gap: 20px; }

.cat-icon-wrap {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white; flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.cat-num {
  display: block; font-size: .72rem; font-weight: 600;
  color: var(--g400); letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 4px;
}
.cat-header-left h2 {
  font-family: var(--fh); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.2;
}
.cat-header-left p {
  font-size: .87rem; color: var(--g600);
  max-width: 480px; line-height: 1.65; font-weight: 300;
}

/* ── ITEMS GRID ── */
.items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── ITEM CARD ── */
.item-card {
  background: white; border-radius: var(--rlg);
  overflow: hidden; border: 1px solid var(--g200);
  box-shadow: var(--sh); transition: var(--tr);
  display: flex; flex-direction: column;
}
.item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shlg);
  border-color: rgba(26,111,196,.2);
}
.item-card.featured-item {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(26,111,196,.12);
}

.ic-img-wrap {
  height: 180px; position: relative; overflow: hidden;
  background: var(--g100);
}
.ic-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.item-card:hover .ic-img-wrap img { transform: scale(1.05); }
.ic-img-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; color: var(--g400);
}
.ic-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: .68rem; font-weight: 700; padding: 4px 10px;
  border-radius: 99px; letter-spacing: .04em;
}
.popular-b { background: var(--gold); color: white; }

.ic-body {
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; flex: 1;
}
.ic-body h4 {
  font-family: var(--fh); font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 8px; line-height: 1.25;
}
.ic-body p {
  font-size: .84rem; color: var(--g600);
  line-height: 1.65; font-weight: 300;
  margin-bottom: 14px; flex: 1;
}
.ic-specs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
.ic-specs span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; color: var(--g600);
  background: var(--g100); padding: 4px 10px;
  border-radius: 99px; font-weight: 500;
}
.ic-specs span .fa { color: var(--blue); font-size: .7rem; }

.ic-enquire {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--blue); font-weight: 600; font-size: .84rem;
  transition: var(--tr); margin-top: auto;
}
.ic-enquire .fa { transition: var(--tr); }
.ic-enquire:hover { gap: 9px; }
.ic-enquire:hover .fa { transform: translateX(3px); }

/* ── CUSTOM SOURCING SECTION ── */
.custom-sourcing-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: 80px 0;
}
.custom-sourcing-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.cs-left .sec-tag { margin-bottom: 16px; }
.cs-left h2 {
  font-family: var(--fh); font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; color: white; margin-bottom: 18px; line-height: 1.2;
}
.cs-left p { font-size: .95rem; color: rgba(255,255,255,.72); font-weight: 300; line-height: 1.75; margin-bottom: 26px; }
.cs-bullets { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.cs-bullets li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); font-size: .9rem; }
.cs-bullets li .fa { color: var(--gold); font-size: .8rem; }

.cs-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.cs-stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--rlg); padding: 24px 20px;
  text-align: center; transition: var(--tr);
}
.cs-stat:hover { background: rgba(255,255,255,.12); }
.csi {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold);
  margin: 0 auto 12px;
}
.cs-stat strong { display: block; font-family: var(--fh); font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 4px; }
.cs-stat span { font-size: .78rem; color: rgba(255,255,255,.55); }

/* ── CTA STRIP ── */
.cta-strip {
  background: linear-gradient(90deg, var(--blue) 0%, #1558a0 100%);
  padding: 52px 0;
}
.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-inner h3 {
  font-family: var(--fh); font-size: 1.7rem; font-weight: 700;
  color: white; margin-bottom: 6px;
}
.cta-inner p { font-size: .9rem; color: rgba(255,255,255,.75); font-weight: 300; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-wa-strip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r);
  background: #25d366; color: white;
  font-weight: 600; font-size: .92rem; transition: var(--tr);
}
.btn-wa-strip:hover { background: #1cb956; transform: translateY(-2px); }
.cta-strip .btn-primary {
  background: white; color: var(--blue);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.cta-strip .btn-primary:hover { background: var(--g100); }

/* ── FOOTER BRAND NAME (text instead of logo) ── */
.footer-brand-name {
  display: flex; flex-direction: column;
  gap: 2px; margin-bottom: 16px;
}
.fbn-mun {
  font-family: var(--fh); font-size: 2rem; font-weight: 700;
  color: white; letter-spacing: .12em; line-height: 1;
}
.fbn-overseas {
  font-family: var(--fb); font-size: .9rem; font-weight: 600;
  color: rgba(255,255,255,.7); letter-spacing: .22em;
}
.fbn-sub {
  font-size: .72rem; color: rgba(255,255,255,.35);
  letter-spacing: .08em; margin-top: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .items-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-sourcing-inner { grid-template-columns: 1fr; gap: 36px; }
  .cs-stat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .cat-header { flex-direction: column; gap: 16px; }
  .cat-header .btn-primary { width: 100%; justify-content: center; }
  .items-grid { grid-template-columns: 1fr; }
  .ph-stats { flex-direction: column; gap: 12px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
  .cs-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-section { padding: 52px 0; }
  .ph-content { padding: 40px 18px 50px; }
}

@media (max-width: 480px) {
  .cat-nav-item { padding: 14px 14px; font-size: .75rem; }
  .cs-stat-grid { grid-template-columns: 1fr 1fr; }
  .fbn-mun { font-size: 1.6rem; }
}
