/* ============================================================
   EUROPE BANGLA GROUP — DIVISION PAGE TEMPLATES
   Three designed layouts, one per division slug:
     .apx-*  Apparel & Textiles Ltd.
     .fhx-*  Fashion House
     .gcx-*  Global Craft Ltd.
   Shared bits (breadcrumb, hero feature row) use .dvx-*.
   ============================================================ */

:root {
  --apx-navy: #1b3a8f;
  --apx-navy-dark: #14265c;
  --apx-green: #15803d;
  --apx-green-dark: #14532d;
  --apx-page: #eef1f6;
  --apx-line: #e3e8ef;

  --fhx-cream: #faf6f0;
  --fhx-green: #1f4d2e;
  --fhx-gold: #b8892f;
  --fhx-ink: #1f2430;

  --gcx-cream: #f8f2e7;
  --gcx-green: #1f4d2e;
  --gcx-brown: #8a5a2b;
}

/* ============================================================
   SHARED
   ============================================================ */
.dvx-crumb {
  font-size: .8rem;
  color: #6b7280;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.dvx-crumb a { color: #6b7280; }
.dvx-crumb a:hover { color: var(--apx-navy); }
.dvx-crumb i { font-size: .65rem; opacity: .6; }
.dvx-crumb .current { color: #111827; font-weight: 600; }

.dvx-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 28px;
}
.dvx-hero-feature {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  line-height: 1.25;
  font-weight: 500;
  color: #374151;
  max-width: 165px;
}
.dvx-hero-feature i {
  font-size: 1.05rem;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .85;
}

.dvx-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 7px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: .2s ease;
  white-space: nowrap;
}
.dvx-btn-ghost {
  background: #fff;
  border-color: #cbd5e1;
  color: #1f2937;
}
.dvx-btn-ghost:hover { border-color: #94a3b8; background: #f8fafc; }

/* Ornamental centered heading used on the Fashion / Global Craft pages */
.dvx-serif-head { text-align: center; margin-bottom: 34px; }
.dvx-serif-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  color: #14251c;
  margin: 0;
}
.dvx-serif-head p {
  margin: 10px auto 0;
  max-width: 720px;
  font-size: .87rem;
  color: #6b7280;
}
.dvx-orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--fhx-gold);
}
.dvx-orn::before,
.dvx-orn::after {
  content: "";
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.dvx-orn::after { background: linear-gradient(270deg, transparent, currentColor); }
.dvx-orn i { font-size: .7rem; }

/* Bottom 4-up feature strip (all three templates) */
.dvx-strip {
  background: #fff;
  border: 1px solid var(--apx-line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.dvx-strip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 24px 22px;
  border-right: 1px solid var(--apx-line);
}
.dvx-strip-item:last-child { border-right: 0; }
.dvx-strip-item i {
  font-size: 1.35rem;
  color: var(--apx-green);
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f4;
}
.dvx-strip-item h6 { font-size: .87rem; font-weight: 700; margin: 0 0 4px; color: #111827; }
.dvx-strip-item p { font-size: .77rem; color: #6b7280; margin: 0; line-height: 1.5; }

@media (max-width: 991.98px) {
  .dvx-strip { grid-template-columns: repeat(2, 1fr); }
  .dvx-strip-item:nth-child(2n) { border-right: 0; }
  .dvx-strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--apx-line); }
}
@media (max-width: 575.98px) {
  .dvx-strip { grid-template-columns: 1fr; }
  .dvx-strip-item { border-right: 0; border-bottom: 1px solid var(--apx-line); }
  .dvx-strip-item:last-child { border-bottom: 0; }
}

/* ============================================================
   APPAREL & TEXTILES
   ============================================================ */
.apx-page { background: var(--apx-page); padding-bottom: 0; }

.apx-hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.apx-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
}
.apx-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.apx-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .85) 18%, rgba(255, 255, 255, 0) 52%);
}
.apx-hero-inner { position: relative; z-index: 2; padding: 26px 0 44px; }
.apx-hero-col { max-width: 560px; }
.apx-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.14;
  margin: 0 0 14px;
  color: var(--apx-navy);
}
.apx-hero h1 span { display: block; color: var(--apx-green); }
.apx-hero-sub {
  font-size: 1rem;
  color: #4b5563;
  margin: 0;
  max-width: 420px;
  line-height: 1.55;
}
.apx-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.apx-btn-green { background: var(--apx-green); color: #fff; }
.apx-btn-green:hover { background: var(--apx-green-dark); color: #fff; }

.apx-hero-badge {
  position: absolute;
  right: 4%;
  bottom: 34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--apx-green-dark);
  color: #fff;
  border-radius: 10px;
  padding: 16px 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}
.apx-hero-badge i { font-size: 1.8rem; opacity: .8; }
.apx-hero-badge small { display: block; font-size: .78rem; opacity: .85; }
.apx-hero-badge strong { display: block; font-size: 1.02rem; font-weight: 700; line-height: 1.25; }

@media (max-width: 991.98px) {
  .apx-hero-media { position: static; width: 100%; height: 260px; }
  .apx-hero-media::after { background: none; }
  .apx-hero-inner { padding: 22px 0 32px; }
  .apx-hero-col { max-width: none; }
  .apx-hero-badge { position: static; margin-top: 18px; display: inline-flex; }
}

/* --- section card shell --- */
.apx-card {
  background: #fff;
  border: 1px solid var(--apx-line);
  border-radius: 12px;
  padding: 26px 24px;
  height: 100%;
}
.apx-head { display: flex; align-items: baseline; gap: 9px; margin-bottom: 16px; }
.apx-head .num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--apx-navy);
  position: relative;
  padding-bottom: 8px;
}
.apx-head .num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--apx-green);
}
.apx-head h2 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--apx-navy);
  margin: 0;
  line-height: 1.3;
}
.apx-card.is-green .apx-head .num,
.apx-card.is-green .apx-head h2 { color: var(--apx-green); }
.apx-lead { font-size: .82rem; color: #4b5563; line-height: 1.75; }

/* 1 — overview stats */
.apx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; text-align: center; }
.apx-stat i { font-size: 1.7rem; color: #64748b; }
.apx-stat .val { font-size: 1.45rem; font-weight: 800; color: var(--apx-navy); margin-top: 8px; }
.apx-stat .lbl { font-size: .72rem; color: #6b7280; }
.apx-stats-solo { display: flex; justify-content: center; margin-top: 22px; }
.apx-stats-solo .apx-stat { max-width: 190px; }

/* 2 — fabric cards */
.apx-fabrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.apx-fabric {
  border: 1px solid var(--apx-line);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.apx-fabric-img { height: 92px; background: #f1f5f9; }
.apx-fabric-img img { width: 100%; height: 100%; object-fit: cover; }
.apx-fabric-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.apx-fabric-body h6 { font-size: .82rem; font-weight: 700; color: var(--apx-green); margin: 0 0 8px; }
.apx-fabric-body p { font-size: .7rem; color: #6b7280; line-height: 1.55; margin: 0 0 6px; }
.apx-fabric-body p b { color: #374151; font-weight: 600; }
.apx-fabric-btn {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center;
  background: var(--apx-green);
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 7px 6px;
  font-size: .7rem;
  font-weight: 600;
}
.apx-fabric-btn:hover { background: var(--apx-green-dark); color: #fff; }

.apx-mattypes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--apx-line);
}
.apx-mattype {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .72rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.3;
}
.apx-mattype i { font-size: 1.15rem; color: var(--apx-green); }

.apx-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--apx-green);
  color: #fff;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: .76rem;
  font-weight: 600;
  white-space: nowrap;
}
.apx-btn-sm:hover { background: var(--apx-green-dark); color: #fff; }
.apx-btn-sm.is-navy { background: var(--apx-navy); }
.apx-btn-sm.is-navy:hover { background: var(--apx-navy-dark); }

/* 3 — product categories */
.apx-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.apx-cat {
  border: 1px solid var(--apx-line);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  gap: 14px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.apx-cat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.apx-cat-img {
  width: 82px;
  flex: 0 0 82px;
  height: 105px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}
.apx-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.apx-cat h6 { font-size: .92rem; font-weight: 700; color: var(--apx-navy); margin: 0 0 8px; }
.apx-cat ul { margin: 0; padding: 0; }
.apx-cat li {
  font-size: .80rem;
  color: #4b5563;
  line-height: 1.6;
  padding-left: 12px;
  position: relative;
}
.apx-cat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--apx-green);
}

/* 4 — factory network */
.apx-checks { margin: 0; padding: 0; }
.apx-checks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .78rem;
  color: #374151;
  padding: 5px 0;
}
.apx-checks i { color: var(--apx-green); font-size: .95rem; margin-top: 1px; }
.apx-figure { border-radius: 8px; overflow: hidden; margin-top: 18px; }
.apx-figure img { width: 100%; height: 150px; object-fit: cover; }

/* 5 — QC steps over a photo */
.apx-qc { position: relative; }
.apx-steps { margin: 0; padding: 0; position: relative; z-index: 2; }
.apx-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  color: #374151;
  padding: 4px 0;
}
.apx-steps .n {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--apx-green);
  color: #fff;
  font-size: .63rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.apx-qc-photo {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.apx-qc-photo img { width: 100%; height: 130px; object-fit: cover; }

/* 6/7 — icon lists */
.apx-iconlist { margin: 0; padding: 0; }
.apx-iconlist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .76rem;
  color: #374151;
  padding: 7px 0;
  line-height: 1.5;
}
.apx-iconlist i { font-size: 1.05rem; color: var(--apx-green); margin-top: 1px; }

/* 8 — inquiry form */
.apx-form .form-control,
.apx-form .form-select {
  border: 1px solid #d8dee9;
  border-radius: 6px;
  font-size: .76rem;
  padding: 9px 11px;
  background: #fff;
  box-shadow: none;
}
.apx-form .form-control:focus,
.apx-form .form-select:focus { border-color: var(--apx-green); box-shadow: none; }
.apx-form-btn {
  background: var(--apx-green);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 9px 20px;
  font-size: .78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.apx-form-btn:hover { background: var(--apx-green-dark); }

/* bottom navy bar */
.apx-bottombar {
  background: var(--apx-navy-dark);
  color: #fff;
  padding: 26px 0;
}
.apx-bottombar-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.apx-bottombar-txt { display: flex; align-items: center; gap: 16px; }
.apx-bottombar-txt > i { font-size: 2rem; opacity: .55; }
.apx-bottombar-txt h5 { font-size: 1.02rem; font-weight: 700; margin: 0 0 3px; }
.apx-bottombar-txt p { font-size: .78rem; opacity: .7; margin: 0; }
.apx-bottombar-stats { display: flex; gap: 42px; flex-wrap: wrap; }
.apx-bottombar-stats .val { font-size: 1.3rem; font-weight: 800; }
.apx-bottombar-stats .lbl { font-size: .7rem; opacity: .7; }

@media (max-width: 1199.98px) {
  .apx-fabrics { grid-template-columns: repeat(3, 1fr); }
  .apx-mattypes { grid-template-columns: repeat(3, 1fr); }
  .apx-cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
  .apx-fabrics { grid-template-columns: repeat(2, 1fr); }
  .apx-mattypes { grid-template-columns: repeat(2, 1fr); }
  .apx-cats { grid-template-columns: repeat(2, 1fr); }
  .apx-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .apx-bottombar-stats { gap: 26px; }
}
@media (max-width: 479.98px) {
  .apx-fabrics,
  .apx-cats { grid-template-columns: 1fr; }
}

/* ============================================================
   FASHION HOUSE
   ============================================================ */
.fhx-page { background: #fff; }

.fhx-hero { background: var(--fhx-cream); position: relative; overflow: hidden; }
.fhx-hero-inner { padding: 24px 0 40px; position: relative; z-index: 2; }
.fhx-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 14px;
  color: #14251c;
}
.fhx-hero h1 span { display: block; color: var(--fhx-green); }
.fhx-hero-sub { font-size: 1rem; color: #4b5563; max-width: 380px; margin: 0; line-height: 1.55; }
.fhx-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--fhx-green);
  color: #fff;
  border-radius: 6px;
  padding: 13px 24px;
  font-size: .85rem;
  font-weight: 600;
}
.fhx-btn:hover { background: #14351f; color: #fff; }

.fhx-hero-media {
  position: relative;
  height: 360px;
  max-height: 360px;
  border-radius: 14px;
  overflow: hidden;
}
.fhx-hero-media > img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center top;
}
.fhx-diamonds {
  position: absolute;
  right: 15px;
  top: 6%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.fhx-diamond {
  width: 96px;
  height: 96px;
  transform: rotate(45deg);
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}
.fhx-diamond:nth-child(2) { margin-right: 24px; }
.fhx-diamond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(-45deg) scale(1.45);
}

@media (max-width: 991.98px) {
  .fhx-hero-media { height: 260px; max-height: 260px; margin-top: 20px; }
  .fhx-hero-media > img { height: 260px; max-height: 260px; }
  .fhx-diamonds { display: none; }
}

/* categories */
.fhx-cat {
  background: #fff;
  border: 1px solid #ece7de;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.fhx-cat-img { height: 190px; background: #f3efe8; }
.fhx-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.fhx-cat-body { padding: 0 20px 18px; position: relative; flex: 1; display: flex; flex-direction: column; }
.fhx-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  margin: -26px 0 12px;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.fhx-cat-col:nth-child(4n+1) .fhx-cat-icon { background: #c08a94; }
.fhx-cat-col:nth-child(4n+2) .fhx-cat-icon { background: #5a6fa8; }
.fhx-cat-col:nth-child(4n+3) .fhx-cat-icon { background: #c9a227; }
.fhx-cat-col:nth-child(4n+4) .fhx-cat-icon { background: #2f6b45; }
.fhx-cat h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #14251c;
  margin: 0 0 10px;
}
.fhx-cat ul { margin: 0 0 16px; padding-left: 16px; list-style: disc; }
.fhx-cat li { font-size: .8rem; color: #4b5563; line-height: 1.85; }
.fhx-cat-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid #efeae1;
}
.fhx-cat-col:nth-child(4n+1) .fhx-cat-link { color: #b06a78; }
.fhx-cat-col:nth-child(4n+2) .fhx-cat-link { color: #4d6197; }
.fhx-cat-col:nth-child(4n+3) .fhx-cat-link { color: #b08a1c; }
.fhx-cat-col:nth-child(4n+4) .fhx-cat-link { color: #2f6b45; }

/* featured collections */
.fhx-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fhx-col {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 190px;
  display: block;
}
.fhx-col img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; }
.fhx-col:hover img { transform: scale(1.06); }
.fhx-col::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .05) 62%);
}
.fhx-col-body { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; }
.fhx-col-body h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.1;
}
.fhx-col-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  border-radius: 4px;
  font-size: .66rem;
  font-weight: 600;
  padding: 5px 11px;
}

/* custom branding */
.fhx-brand {
  background: #f7f3ec;
  border-radius: 12px;
  overflow: hidden;
}
.fhx-brand-body { padding: 34px 30px; }
.fhx-brand h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fhx-green);
  margin: 0 0 14px;
  line-height: 1.15;
}
.fhx-brand p { font-size: .82rem; color: #4b5563; line-height: 1.75; margin: 0 0 20px; }
.fhx-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
.fhx-service { display: flex; align-items: center; gap: 11px; font-size: .82rem; color: #374151; font-weight: 500; }
.fhx-service i { font-size: 1.2rem; color: var(--fhx-green); opacity: .8; }
.fhx-brand-media { height: 100%; min-height: 230px; }
.fhx-brand-media img { width: 100%; height: 100%; object-fit: cover; }

.fhx-bottombar {
  background: #101c33;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: .87rem;
}

@media (max-width: 1199.98px) { .fhx-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) {
  .fhx-cols { grid-template-columns: repeat(2, 1fr); }
  .fhx-services { grid-template-columns: 1fr; }
  .fhx-brand-body { padding: 26px 20px; }
}
@media (max-width: 479.98px) { .fhx-cols { grid-template-columns: 1fr; } }

/* ============================================================
   GLOBAL CRAFT
   ============================================================ */
.gcx-page { background: #fff; }

.gcx-hero { background: var(--gcx-cream); position: relative; overflow: hidden; }
.gcx-hero-inner { padding: 26px 0 44px; }
.gcx-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  font-weight: 700;
  line-height: 1.12;
  color: #14361f;
  margin: 0 0 14px;
}
.gcx-hero h1 span { display: block; }
.gcx-hero-sub { font-size: 1rem; color: var(--gcx-brown); max-width: 400px; margin: 0; line-height: 1.55; }
.gcx-hero .dvx-hero-feature { color: #4b5e4d; }
.gcx-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gcx-green);
  color: #fff;
  border-radius: 6px;
  padding: 13px 22px;
  font-size: .85rem;
  font-weight: 600;
}
.gcx-btn:hover { background: #163a22; color: #fff; }
.gcx-hero-media {
  height: 380px;
  max-height: 380px;
  border-radius: 50% 0 0 50% / 50% 0 0 50%;
  overflow: hidden;
}
.gcx-hero-media img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; }
.gcx-dots { display: flex; gap: 7px; justify-content: center; margin-top: 14px; }
.gcx-dots span { width: 7px; height: 7px; border-radius: 50%; background: #cbbfa8; }
.gcx-dots span.active { background: var(--gcx-brown); }

@media (max-width: 991.98px) {
  .gcx-hero-media { border-radius: 12px; height: 260px; max-height: 260px; margin-top: 18px; }
  .gcx-hero-media img { height: 260px; max-height: 260px; }
}

/* categories */
.gcx-cat {
  background: #fdfbf7;
  border: 1px solid #ece4d6;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.gcx-cat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.gcx-cat-head .n { font-weight: 800; }
.gcx-cat-head .t { flex: 1; line-height: 1.25; }
.gcx-cat-head i { font-size: 1.1rem; opacity: .85; }
.gcx-cat-img { height: 190px; background: #f0e9dd; }
.gcx-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.gcx-cat-body { padding: 16px 14px; display: flex; flex-direction: column; flex: 1; }
.gcx-cat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 12px;
  margin: 0 0 16px;
  padding: 0;
}
.gcx-cat-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .71rem;
  color: #4b5563;
  line-height: 1.5;
}
.gcx-cat-list i { font-size: .82rem; margin-top: 2px; }
.gcx-cat-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  border-radius: 5px;
  padding: 9px 12px;
  font-size: .75rem;
  font-weight: 600;
}
.gcx-cat-col:nth-child(4n+1) .gcx-cat-head,
.gcx-cat-col:nth-child(4n+1) .gcx-cat-btn { background: #8a5a3b; }
.gcx-cat-col:nth-child(4n+2) .gcx-cat-head,
.gcx-cat-col:nth-child(4n+2) .gcx-cat-btn { background: #2f5f3f; }
.gcx-cat-col:nth-child(4n+3) .gcx-cat-head,
.gcx-cat-col:nth-child(4n+3) .gcx-cat-btn { background: #c8912f; }
.gcx-cat-col:nth-child(4n+4) .gcx-cat-head,
.gcx-cat-col:nth-child(4n+4) .gcx-cat-btn { background: #8c3a4a; }
.gcx-cat-col:nth-child(4n+1) .gcx-cat-list i { color: #8a5a3b; }
.gcx-cat-col:nth-child(4n+2) .gcx-cat-list i { color: #2f5f3f; }
.gcx-cat-col:nth-child(4n+3) .gcx-cat-list i { color: #c8912f; }
.gcx-cat-col:nth-child(4n+4) .gcx-cat-list i { color: #8c3a4a; }
.gcx-cat-btn:hover { color: #fff; filter: brightness(.92); }

/* why choose */
.gcx-why { background: #f6f3ec; border-radius: 10px; padding: 30px 20px; }
.gcx-why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gcx-why-item { text-align: center; padding: 0 8px; border-right: 1px solid #e6e0d3; }
.gcx-why-item:last-child { border-right: 0; }
.gcx-why-item i {
  font-size: 1.4rem;
  color: var(--gcx-green);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  margin: 0 auto 12px;
}
.gcx-why-item span { font-size: .76rem; color: #374151; line-height: 1.45; display: block; }

/* featured products slider */
.gcx-prod-wrap { position: relative; padding: 0 34px; }
.gcx-prod { text-align: center; }
.gcx-prod-img { height: 150px; border-radius: 8px; overflow: hidden; background: #f4efe6; }
.gcx-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.gcx-prod span { display: block; font-size: .78rem; color: #374151; margin-top: 10px; }
.gcx-nav {
  position: absolute;
  top: 42%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e4ddcf;
  display: grid;
  place-items: center;
  color: #6b7280;
  z-index: 3;
  cursor: pointer;
}
.gcx-nav.prev { left: 0; }
.gcx-nav.next { right: 0; }
.gcx-prod-wrap .swiper-pagination { position: static; margin-top: 16px; }
.gcx-prod-wrap .swiper-pagination-bullet-active { background: var(--gcx-brown); }

@media (max-width: 991.98px) {
  .gcx-why-grid { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .gcx-why-item:nth-child(3n) { border-right: 0; }
}
@media (max-width: 575.98px) {
  .gcx-why-grid { grid-template-columns: repeat(2, 1fr); }
  .gcx-why-item { border-right: 0; }
  .gcx-cat-list { grid-template-columns: 1fr; }
}

/* Comprehensive responsive media queries for all devices */
@media (max-width: 1199.98px) {
  .apx-fabrics { grid-template-columns: repeat(3, 1fr); }
  .apx-cats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .apx-fabrics { grid-template-columns: repeat(3, 1fr); }
  .apx-cats { grid-template-columns: repeat(2, 1fr); }
  .apx-mattypes { grid-template-columns: repeat(3, 1fr); }
  .apx-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
  .apx-fabrics { grid-template-columns: repeat(2, 1fr); }
  .apx-mattypes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .apx-fabrics { grid-template-columns: repeat(2, 1fr); }
  .apx-cats { grid-template-columns: 1fr; }
  .apx-mattypes { grid-template-columns: repeat(2, 1fr); }
  .apx-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420.98px) {
  .apx-fabrics { grid-template-columns: 1fr; }
  .apx-mattypes { grid-template-columns: 1fr; }
}
