/*
Theme Name: UAE Uniforms
Theme URI: https://uaeuniforms.com
Author: UAE Uniforms
Description: Custom theme for UAE Uniforms - navy/gold/cream design system with WooCommerce support.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: uae-uniforms
*/

/* =========================================================
   UAE UNIFORMS — 2026/2027 REDESIGN PROTOTYPE
   Palette: deep navy + brass gold + warm cream + terracotta pop
   ========================================================= */

:root {
  --navy-950: #0b1730;
  --navy-900: #0f1e3c;
  --navy-800: #16294d;
  --navy-700: #1f3660;
  --gold-500: #c9a24b;
  --gold-400: #d9bb73;
  --gold-100: #f4ead0;
  --cream-50: #faf7f1;
  --cream-100: #f2ece0;
  --terracotta-500: #c1552f;
  --terracotta-600: #a8451f;
  --ink-900: #1a1a1a;
  --ink-600: #4a4a4a;
  --ink-400: #7a7a7a;
  --line: #e4ddcc;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 50px -20px rgba(15, 30, 60, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(15, 30, 60, 0.18);
  --ff-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Fraunces";
  src: local("Georgia");
}

* { box-sizing: border-box; }
/* Clip horizontal overflow at the root so the off-canvas mobile drawer
   (position:fixed; translateX(100%)) can't be scrolled into view sideways.
   Applied to html (not body) to keep the sticky header working in Safari. */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
iframe, video, table { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 96px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracotta-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--terracotta-500);
  display: inline-block;
}
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; margin: 0 0 18px; color: var(--navy-950); }
h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.01em; }
h3 { font-size: 22px; }
p { line-height: 1.65; color: var(--ink-600); margin: 0 0 16px; }
.lede { font-size: 19px; color: var(--ink-600); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta-500); color: var(--white); box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--terracotta-600); }
.btn-dark { background: var(--navy-950); color: var(--white); }
.btn-dark:hover { background: var(--navy-800); }
.btn-outline { background: transparent; border-color: var(--navy-950); color: var(--navy-950); }
.btn-outline:hover { background: var(--navy-950); color: var(--white); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-400); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== Top utility bar ===== */
.topbar {
  background: var(--navy-950);
  color: var(--gold-100);
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.topbar a { opacity: 0.9; }
.topbar-links { display: flex; gap: 24px; }
.topbar-links span { opacity: 0.7; }

/* ===== Header / nav ===== */
header.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-size: 22px; font-weight: 600; color: var(--navy-950); }
.logo .mark { width: 40px; height: 40px; border-radius: 12px; background: var(--navy-950); color: var(--gold-400); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.logo .logo-img { height: 62px; width: auto; display: block; }
.footer-logo-img { height: 78px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 6px; position: relative; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: static; }
.main-nav > ul > li > a, .nav-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--navy-900); transition: background 0.15s ease;
  background: none; border: none;
}
.main-nav > ul > li > a:hover, .nav-btn:hover { background: var(--cream-100); }
.nav-btn .chev { display: inline-block; font-size: 10px; transition: transform 0.2s ease; color: var(--ink-400); }
.main-nav > ul > li.menu-open .nav-btn .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: 100%; left: 0;
  margin-top: 14px;
  background: var(--white); border-radius: 18px;
  box-shadow: 0 24px 48px -18px rgba(15,30,60,0.22), 0 6px 18px rgba(15,30,60,0.08);
  border: 1px solid rgba(15,30,60,0.06);
  padding: 30px 34px;
  display: none;
  z-index: 70;
}
.mega::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px;
}
.main-nav > ul > li.menu-open .mega { display: flex; }
.mega.mega-wide {
  flex-wrap: wrap; align-items: flex-start;
  width: max-content; max-width: min(1010px, 94vw);
  row-gap: 28px; column-gap: 32px;
  left: 50%; transform: translateX(-50%);
  max-height: min(78vh, 720px); overflow-y: auto; overscroll-behavior: contain;
}
.mega-col { width: 204px; }
.mega-col-title { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-400); font-weight: 700; margin-bottom: 12px; }
.mega a.mega-link {
  display: block; padding: 8px 10px; margin: 0 -10px 2px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--navy-900); white-space: normal; line-height: 1.3;
  transition: background 0.12s ease, color 0.12s ease;
}
.mega.mega-wide a.mega-link { font-size: 14px; padding: 8px 10px; }
.mega a.mega-link:hover { background: var(--cream-100); color: var(--terracotta-600); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--navy-900); white-space: nowrap; }
.header-phone:hover { color: var(--terracotta-600); }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); display: flex; align-items: center; justify-content: center;
}
.cart-count {
  position: absolute; top: -6px; right: -6px; background: var(--terracotta-500); color: white;
  font-size: 11px; font-weight: 700; width: 19px; height: 19px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mobile-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  flex-shrink: 0;
}
.mobile-toggle span { display: block; width: 18px; height: 2px; background: var(--navy-950); border-radius: 2px; }

body.no-scroll { overflow: hidden; }

.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(11,23,48,0.5); z-index: 190;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 88vw;
  background: var(--cream-50); z-index: 195; transform: translateX(100%);
  transition: transform 0.3s ease; display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.2);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex;
  align-items: center; justify-content: space-between; flex-shrink: 0;
}
.mobile-nav-title { font-family: var(--ff-display); font-size: 19px; color: var(--navy-950); font-weight: 600; }
.mobile-nav-close { background: var(--cream-100); border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; color: var(--navy-900); }
.mobile-nav-body { flex: 1; overflow-y: auto; padding: 10px 22px 24px; }
.mnav-link {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 600; color: var(--navy-950);
}
.mnav-group { border-bottom: 1px solid var(--line); }
.mnav-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; padding: 14px 4px; font-size: 15px; font-weight: 600;
  color: var(--navy-950); text-align: left;
}
.mnav-chev { font-size: 12px; color: var(--ink-400); transition: transform 0.2s ease; }
.mnav-group.open .mnav-chev { transform: rotate(180deg); }
.mnav-panel {
  display: none; flex-direction: column; gap: 22px; padding: 4px 4px 18px;
}
.mnav-group.open .mnav-panel { display: flex; }
.mnav-col { display: flex; flex-direction: column; }
.mnav-col-title {
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--terracotta-600); font-weight: 700; margin-bottom: 10px;
}
.mnav-col a.mega-link {
  display: block; padding: 8px 4px; margin: 0; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--navy-900); line-height: 1.35;
  transition: background 0.12s ease, color 0.12s ease;
}
.mnav-col a.mega-link:hover, .mnav-col a.mega-link:active { background: var(--cream-100); color: var(--terracotta-600); }
.mobile-nav-foot { padding: 18px 22px 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* ===== Hero ===== */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badges { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--navy-800); }
.hero-badge b { color: var(--terracotta-600); }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0; opacity: 0.55;
}
.hero-visual .frame {
  position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--navy-800), var(--navy-950));
  display: flex; align-items: flex-start; padding: 26px;
}
.hero-visual .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-visual .frame::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,30,60,0) 45%, rgba(11,23,48,0.72) 100%); }
.hero-visual .frame .tag {
  position: relative; z-index: 2; background: rgba(255,255,255,0.95); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 13.5px; font-weight: 600; color: var(--navy-950);
}
.hero-stat-card {
  position: absolute; bottom: -26px; left: -26px; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 18px 22px; z-index: 3; display: flex; gap: 20px;
}
.hero-stat-card .stat b { display: block; font-family: var(--ff-display); font-size: 26px; color: var(--navy-950); }
.hero-stat-card .stat span { font-size: 12px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== Trust strip ===== */
.trust-strip { background: var(--navy-950); color: var(--gold-100); padding: 26px 0; }
.trust-strip .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.trust-strip .item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; opacity: 0.92; }

/* ===== Solution cards (category picker) ===== */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.solution-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; transition: box-shadow 0.2s ease, transform 0.2s ease; display: flex; flex-direction: column;
}
.solution-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.solution-media { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 54px; position: relative; overflow: hidden; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; }
.solution-media .glyph { position: relative; z-index: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25)); }
.solution-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(255,255,255,0.08), rgba(0,0,0,0.12)); }
.solution-media.m1 { background: linear-gradient(155deg, #1F3660, #0F1E3C); }
.solution-media.m2 { background: linear-gradient(155deg, #C9A24B, #A8451F); }
.solution-media.m3 { background: linear-gradient(155deg, #16294D, #0B1730); }
.solution-media.m4 { background: linear-gradient(155deg, #4a4a4a, #1A1A1A); }
.solution-media.m5 { background: linear-gradient(155deg, #C1552F, #7A1F2B); }
.solution-media.m6 { background: linear-gradient(155deg, #0F1E3C, #1F3660); }
.solution-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.solution-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--terracotta-600); font-weight: 700; margin-bottom: 10px; }
.solution-body h3 { font-size: 21px; margin: 0 0 10px; }
.solution-body p { font-size: 14.5px; margin: 0 0 14px; }
.solution-meta { font-size: 12.5px; color: var(--ink-400); margin-top: auto; margin-bottom: 14px; }
.solution-link { font-weight: 700; font-size: 14px; color: var(--navy-950); display: inline-flex; align-items: center; gap: 6px; }
.solution-link:hover { color: var(--terracotta-600); }
.image-note { text-align: center; font-size: 12px; color: var(--ink-400); margin-top: 18px; font-style: italic; }

/* ===== How can we help — two-path chooser ===== */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; position: relative; }
.path-card .path-num { font-family: var(--ff-display); font-size: 15px; color: var(--gold-500); font-weight: 700; margin-bottom: 14px; }
.path-card .path-eyebrow { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--terracotta-600); font-weight: 700; margin-bottom: 8px; }
.path-card h3 { font-size: 22px; margin-bottom: 10px; }
.path-card p { font-size: 14.5px; }
.path-card .path-cta { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* ===== Embroidery / feature banner ===== */
.feature-banner { background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); border-radius: var(--radius-lg); padding: 64px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; color: white; }
.feature-banner .visual { aspect-ratio: 1/1; border-radius: var(--radius-md); background: linear-gradient(155deg, var(--gold-400), var(--terracotta-500)); display: flex; align-items: center; justify-content: center; font-size: 72px; overflow: hidden; }
.feature-banner .visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-banner h2 { color: white; }
.feature-banner p { color: rgba(255,255,255,0.75); }
.feature-banner .hero-cta a.btn-outline { border-color: rgba(255,255,255,0.5); color: white; }
.feature-banner .hero-cta a.btn-outline:hover { background: white; color: var(--navy-950); }

/* ===== Stats row ===== */
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 40px 0; }
.stats-row .stat b { display: block; font-family: var(--ff-display); font-size: 32px; color: var(--navy-950); }
.stats-row .stat span { font-size: 12.5px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== Resource cards ===== */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; }
.resource-card .eyebrow { margin-bottom: 10px; }
.resource-card h3 { font-size: 18px; margin-bottom: 8px; }
.resource-card p { font-size: 14px; }
.resource-card a { font-weight: 700; color: var(--navy-950); }
.resource-card a:hover { color: var(--terracotta-600); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary { font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--navy-950); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--terracotta-500); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; font-size: 14.5px; }

/* ===== Bento industry grid ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 14px; }
.bento a {
  grid-column: span 2; grid-row: span 1; border-radius: var(--radius-md); position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--navy-800), var(--navy-950)); color: white; padding: 20px;
  display: flex; flex-direction: column; justify-content: flex-end; transition: transform 0.25s ease;
}
.bento a:hover { transform: translateY(-4px); }
.bento a.big { grid-column: span 3; grid-row: span 2; }
.bento a .cat-name { font-family: var(--ff-display); font-size: 19px; }
.bento a .cat-tag { font-size: 12px; opacity: 0.75; margin-top: 4px; }
.bento a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55)); }
.bento a > * { position: relative; z-index: 1; }
.bento a.alt { background: linear-gradient(155deg, var(--gold-400), var(--gold-500)); color: var(--navy-950); }
.bento a.alt2 { background: linear-gradient(155deg, var(--terracotta-500), var(--terracotta-600)); }

/* ===== Feature cards ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 24px; }
.feature-card .icon { width: 64px; height: 64px; margin-bottom: 16px; }
.feature-card .icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; display: block; }
.feature-card h3 { margin-bottom: 8px; font-size: 18px; }
.feature-card p { font-size: 14.5px; margin: 0; }

/* ===== Process steps ===== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step { background: var(--white); border-radius: var(--radius-md); padding: 24px 18px; border: 1px solid var(--line); position: relative; }
.step .num { font-family: var(--ff-display); font-size: 30px; color: var(--gold-500); margin-bottom: 10px; }
.step h4 { font-size: 15.5px; margin: 0 0 6px; }
.step p { font-size: 13px; margin: 0; }

/* ===== Product cards / grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.product-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.product-media { aspect-ratio: 4/3; background: linear-gradient(155deg, var(--cream-100), var(--gold-100)); display: flex; align-items: center; justify-content: center; font-size: 34px; position: relative; }
.product-media .badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.badge.ready { background: var(--navy-950); color: var(--gold-400); }
.badge.custom { background: var(--terracotta-500); color: white; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body .cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-400); font-weight: 600; }
.product-body h3 { font-size: 16.5px; margin: 0; }
.product-body .price { font-family: var(--ff-display); font-size: 19px; color: var(--navy-950); margin-top: auto; }
.product-body .price small { font-family: var(--ff-body); font-size: 12px; color: var(--ink-400); font-weight: 500; }

/* ===== Shop layout ===== */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: flex-start; }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; position: sticky; top: 100px; }
.filters h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 12px; color: var(--navy-950); }
.filters .group { margin-bottom: 24px; }
.filters label { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-600); padding: 6px 0; cursor: pointer; }
.filters input { accent-color: var(--terracotta-500); }
.mode-toggle { display: flex; background: var(--cream-100); border-radius: 999px; padding: 4px; margin-bottom: 28px; width: fit-content; }
.mode-toggle button { border: none; background: none; padding: 10px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-600); }
.mode-toggle button.active { background: var(--navy-950); color: white; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.shop-toolbar .count { font-size: 14px; color: var(--ink-400); }

/* ===== Testimonials ===== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; }
.testi-card .stars { color: var(--gold-500); font-size: 14px; margin-bottom: 12px; }
.testi-card p { font-size: 14.5px; margin-bottom: 16px; }
.testi-card .who { display: flex; align-items: center; gap: 10px; }
.testi-card .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-900); color: var(--gold-400); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.testi-card .who b { display: block; font-size: 14px; }
.testi-card .who span { font-size: 12px; color: var(--ink-400); }
.testi-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }

/* ===== CTA banner ===== */
.cta-banner { background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); border-radius: var(--radius-lg); padding: 64px 56px; color: white; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-banner h2 { color: white; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 480px; }

/* ===== Footer ===== */
footer.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.75); padding: 72px 0 28px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-grid h4 { color: var(--gold-400); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-family: var(--ff-body); }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-social { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
.footer-social:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; }

/* ===== Cart drawer ===== */
.overlay { position: fixed; inset: 0; background: rgba(11,23,48,0.5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw; background: var(--cream-50);
  z-index: 95; transform: translateX(100%); transition: transform 0.3s ease; display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.2);
}
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { margin: 0; }
.drawer-close { background: none; border: none; font-size: 22px; color: var(--ink-600); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line .thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--gold-100); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.cart-line .info { flex: 1; }
.cart-line .info b { font-size: 14px; display: block; }
.cart-line .info span { font-size: 12.5px; color: var(--ink-400); display: block; margin-top: 2px; }
.cart-line .remove { font-size: 12px; color: var(--terracotta-600); background: none; border: none; padding: 0; margin-top: 6px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.drawer-foot .row.total { font-weight: 700; font-size: 16px; margin: 12px 0 18px; }
.empty-msg { text-align: center; padding: 60px 10px; color: var(--ink-400); font-size: 14px; }

/* ===== Modal (configurator + quote + checkout) ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(11,23,48,0.55); z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: var(--radius-lg); max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 34px; position: relative; }
.modal-close { position: absolute; top: 20px; right: 20px; background: var(--cream-100); border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 17px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 14px; font-family: inherit; background: var(--cream-50);
}
.field textarea { resize: vertical; min-height: 80px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch.selected { box-shadow: 0 0 0 2px var(--navy-950); }
.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size-grid .size-row { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; background: var(--cream-50); }
.size-row span { font-size: 13px; font-weight: 600; }
.size-row input { width: 50px; padding: 6px; text-align: center; border: 1px solid var(--line); border-radius: 6px; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--navy-950); color: white; padding: 14px 22px; border-radius: 999px; font-size: 14px; z-index: 200; opacity: 0; transition: all 0.3s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Category / industry item template ===== */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 0; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-400); }
.breadcrumb a { color: var(--ink-600); font-weight: 500; }
.breadcrumb a:hover { color: var(--terracotta-600); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .current { color: var(--navy-950); font-weight: 600; }

.item-hero { padding: 52px 0 8px; }
.item-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.item-hero-content .eyebrow { margin-bottom: 14px; }
.item-hero-content .hero-cta { flex-wrap: nowrap; }
.item-hero-content .hero-cta .btn { padding: 12px 18px; font-size: 13.5px; }

/* Quick facts (MOQ / lead time / fabric) — one divided strip; value-first like .stats-row */
.item-facts { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); margin-top: 24px; overflow: hidden; }
.item-fact { flex: 1; padding: 14px 18px; }
.item-fact + .item-fact { border-left: 1px solid var(--line); }
.item-fact-value { display: block; font-family: var(--ff-display); font-size: 17px; font-weight: 600; color: var(--navy-950); line-height: 1.25; }
.item-fact-label { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-400); font-weight: 700; margin-top: 5px; }

.item-gallery { display: flex; flex-direction: column; gap: 12px; }
.item-gallery-main { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; box-shadow: var(--shadow-card); }
.item-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-gallery-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.item-gallery-thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--line); display: block; }

.item-body { padding: 20px 0 76px; }
.item-body-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.item-content h2 { font-size: 26px; margin-top: 40px; }
.item-content h2:first-child { margin-top: 0; }
.item-content h3 { font-size: 17px; margin-top: 26px; margin-bottom: 12px; }
.check-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-600); line-height: 1.5; }
.check-list li::before { content: "✓"; color: var(--terracotta-500); font-weight: 700; flex-shrink: 0; }
.order-steps { list-style: none; counter-reset: order-step; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 14px; }
.order-steps li { counter-increment: order-step; position: relative; padding-left: 34px; font-size: 14.5px; color: var(--ink-600); line-height: 1.55; }
.order-steps li::before { content: counter(order-step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-950); color: var(--gold-400); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Sticky "talk to sales" card — the main conversion CTA on item pages */
.sales-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; position: sticky; top: 100px; box-shadow: var(--shadow-card); }
.sales-card-head { margin-bottom: 18px; }
.sales-card-head h3 { font-size: 20px; margin-bottom: 8px; }
.sales-card-head p { font-size: 13.5px; margin-bottom: 0; }
.sales-card-divider { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; margin: 18px 0; }
.sales-card-divider::before, .sales-card-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sales-card-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; }
.sales-card-foot a { color: var(--navy-900); font-weight: 600; }
.sales-card-foot a:hover { color: var(--terracotta-600); }

/* WhatsApp CTAs — brand green, used inline and as the persistent floating button */
.btn-whatsapp { background: #25D366; color: #fff; gap: 9px; }
.btn-whatsapp:hover { background: #1DA851; }
.btn-whatsapp svg { flex-shrink: 0; }
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28); z-index: 150; transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 29px; height: 29px; }

/* ===== Directory landing (categories / industries) ===== */
.dir-group { margin-bottom: 44px; }
.dir-group-title { font-size: 21px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); color: var(--navy-950); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 18px; }
.dir-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease; }
.dir-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); border-color: rgba(15,30,60,0.14); }
.dir-card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--cream-100); }
.dir-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.dir-card:hover .dir-card-media img { transform: scale(1.04); }
.dir-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 18px; }
.dir-card h3 { font-size: 16.5px; margin: 0 0 7px; color: var(--navy-950); }
.dir-card p { font-size: 13px; color: var(--ink-600); line-height: 1.5; margin: 0 0 14px; flex: 1; }
.dir-link { font-weight: 700; font-size: 13.5px; color: var(--terracotta-600); }
[id] { scroll-margin-top: 96px; }

/* ===== FAQ page ===== */
.faq-page-body { max-width: 860px; }
.faq-section-title { font-size: 21px; margin: 40px 0 8px; padding-bottom: 10px; border-bottom: 2px solid var(--line); color: var(--navy-950); }
.faq-page-body .faq-section-title:first-child { margin-top: 0; }
.faq-page-body .faq-list { max-width: none; }

/* ===== About page ===== */
.about-hero { padding: 52px 0 8px; }
.about-body { padding: 24px 0 76px; }
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.about-content h2 { font-size: 26px; margin-top: 44px; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { font-size: 15.5px; line-height: 1.7; }
.about-side .sales-card { position: sticky; top: 100px; }
.standard-row { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
.standard-bar { flex: 0 0 84px; height: 7px; border-radius: 999px; background: var(--cream-100); overflow: hidden; }
.standard-bar span { display: block; height: 100%; background: var(--terracotta-500); border-radius: 999px; }
.standard-meta b { display: block; font-size: 14px; color: var(--navy-950); }
.standard-meta span { font-size: 12.5px; color: var(--ink-400); }

/* ============ Responsive ============ */

/* ---- Tablet (≤980px): nav switches to hamburger, grids relax to 2-up ---- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .feature-grid, .steps, .product-grid, .testi-grid, .footer-grid, .path-grid { grid-template-columns: repeat(2, 1fr); }
  .steps.steps-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .feature-banner { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento a.big { grid-column: span 2; grid-row: span 1; }
  .shop-layout { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .item-hero-grid, .item-body-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .sales-card, .about-side .sales-card { position: static; }
}

/* ---- Phone (≤640px): real compacting, not just squeezed desktop grids ---- */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 52px 0; }

  /* Header: drop phone number + Get a Quote from the bar, keep cart + hamburger */
  .header-phone, .header-actions > .btn-outline { display: none; }
  .logo .logo-img { height: 42px; }
  .footer-logo-img { height: 58px; }
  .topbar-links:last-child { display: none; }
  /* Plain icons on mobile - no round circle border/background */
  .icon-btn, .mobile-toggle { border: none; background: none; width: 40px; height: 40px; }
  /* Full-width fixed bars: size to the visual width, never the inflated one */
  .mobile-cta-bar { width: 100vw; left: 0; right: auto; }

  /* Hero */
  .hero { padding: 32px 0 28px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero .lede { font-size: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  /* Homepage hero: keep the two CTAs side-by-side on one line */
  .hero .hero-cta { flex-direction: row; flex-wrap: nowrap; gap: 10px; }
  .hero .hero-cta .btn { flex: 1; width: auto; padding: 14px 8px; font-size: 13.5px; white-space: nowrap; }
  /* Stats: one balanced 3-up strip instead of a lopsided 2+1 grid */
  .hero-badges {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 24px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
    padding: 15px 4px; box-shadow: var(--shadow-card);
  }
  .hero-badge {
    flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;
    gap: 4px; background: none; border: none; border-right: 1px solid var(--line);
    border-radius: 0; padding: 0 6px; font-size: 10.5px; line-height: 1.25;
    color: var(--ink-600); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em;
  }
  .hero-badge:last-child { border-right: none; }
  .hero-badge b {
    display: block; font-family: var(--ff-display); font-weight: 600;
    font-size: 24px; line-height: 1; color: var(--terracotta-600);
    text-transform: none; letter-spacing: 0;
  }
  .hero-visual { margin-top: 44px; }
  .hero-stat-card {
    position: static; margin-top: 14px; width: 100%; justify-content: space-around;
    box-shadow: none; border: 1px solid var(--line);
  }

  /* Trust strip: horizontal scroll instead of wrap */
  .trust-strip .container {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 26px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .trust-strip .container::-webkit-scrollbar { display: none; }
  .trust-strip .item { white-space: nowrap; flex-shrink: 0; }

  /* Card grids -> swipeable horizontal carousels */
  .solution-grid, .resource-grid, .steps, .steps-4, .feature-grid {
    display: flex; grid-template-columns: none; overflow-x: auto; gap: 16px;
    padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; margin: 0 -18px; padding-left: 18px; padding-right: 18px;
  }
  .solution-grid::-webkit-scrollbar, .resource-grid::-webkit-scrollbar, .steps::-webkit-scrollbar, .feature-grid::-webkit-scrollbar { display: none; }
  .solution-card { flex: 0 0 82%; scroll-snap-align: start; }
  .resource-card { flex: 0 0 84%; scroll-snap-align: start; }
  .step { flex: 0 0 62%; scroll-snap-align: start; }
  .section-head { margin-bottom: 28px; }

  /* Two-path chooser + embroidery banner: stack tighter */
  .path-grid { grid-template-columns: 1fr; gap: 16px; }
  .path-card { padding: 24px; }
  .feature-banner { padding: 32px 22px; border-radius: var(--radius-md); gap: 24px; }
  .feature-banner .visual { max-width: 220px; margin: 0 auto; }

  /* Stats: compact 2x2 */
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; padding: 26px 0; margin: 24px 0; }
  .stats-row .stat b { font-size: 26px; }

  /* Feature cards (Trusted Expertise): big swipeable cards */
  .feature-card { flex: 0 0 80%; scroll-snap-align: start; padding: 30px 26px; }
  .feature-card .icon { width: 68px; height: 68px; margin-bottom: 18px; }
  .feature-card h3 { font-size: 21px; }
  .feature-card p { font-size: 15.5px; }

  /* FAQ + CTA banner */
  .faq-item summary { font-size: 14.5px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 26px; gap: 18px; }
  .cta-banner p { max-width: none; }

  /* Footer becomes a compact accordion; brand block always visible */
  footer.site-footer { padding: 48px 0 20px; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 20px; }
  .footer-col { border-top: 1px solid rgba(255,255,255,0.12); }
  .footer-col h4 {
    margin: 0; padding: 16px 2px; display: flex; align-items: center; justify-content: space-between;
    cursor: pointer;
  }
  .footer-col h4::after { content: "+"; font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.5); }
  .footer-col.open h4::after { content: "–"; }
  .footer-col ul { display: none; padding-bottom: 14px; }
  .footer-col.open ul { display: block; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Category/industry item template */
  .breadcrumb-bar { padding: 12px 0; }
  .breadcrumb { font-size: 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .breadcrumb::-webkit-scrollbar { display: none; }
  .item-hero { padding: 28px 0 4px; }
  .item-hero-grid { gap: 22px; }
  .item-gallery { order: -1; }
  .item-gallery-thumbs { gap: 8px; }
  .item-body { padding: 8px 0 56px; }
  .item-body-grid { gap: 24px; }
  .sales-card { padding: 22px; }
  .item-facts { flex-direction: column; margin-top: 18px; }
  .item-fact + .item-fact { border-left: none; border-top: 1px solid var(--line); }
  .item-fact { padding: 12px 16px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ============================================================
   Blog, search, article & 404 — added for the WordPress build
   ============================================================ */
.uae-search { display:flex; gap:8px; }
.uae-search-input {
  flex:1; padding:13px 16px; border:1.5px solid var(--gold-100);
  border-radius:var(--radius-md); font-size:15px; background:#fff; color:var(--navy-900);
}
.uae-search-input:focus { outline:none; border-color:var(--gold-500); }
.uae-search-btn { white-space:nowrap; }

.blog-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.blog-card {
  background:#fff; border:1px solid var(--gold-100); border-radius:var(--radius-lg);
  overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow:0 16px 40px rgba(20,29,45,.10); transform:translateY(-3px); }
.blog-card-media { display:block; aspect-ratio:16/10; overflow:hidden; background:var(--cream-100); }
.blog-card-media img { width:100%; height:100%; object-fit:cover; }
.blog-card-body { padding:22px; display:flex; flex-direction:column; gap:10px; }
.blog-card-meta { font-size:13px; letter-spacing:.04em; text-transform:uppercase; color:var(--terracotta-600); font-weight:600; }
.blog-card-body h3 { font-size:20px; line-height:1.25; margin:0; }
.blog-card-body h3 a { color:var(--navy-900); text-decoration:none; }
.blog-card-body h3 a:hover { color:var(--terracotta-600); }
.blog-card-body p { color:var(--ink-600); font-size:15px; margin:0; }
.blog-card-link { margin-top:auto; color:var(--navy-800); font-weight:600; text-decoration:none; font-size:14px; }
.blog-card-link:hover { color:var(--terracotta-600); }
.blog-pagination { margin-top:44px; text-align:center; }
.blog-pagination .page-numbers {
  display:inline-block; padding:9px 15px; margin:0 3px; border-radius:var(--radius-sm);
  border:1px solid var(--gold-100); color:var(--navy-900); text-decoration:none; font-weight:600;
}
.blog-pagination .page-numbers.current { background:var(--navy-900); color:#fff; border-color:var(--navy-900); }

.article-title { font-size:clamp(30px,5vw,46px); line-height:1.1; margin-top:8px; }
.article-hero { border-radius:var(--radius-lg); overflow:hidden; }
.article-hero img { width:100%; height:auto; display:block; }
.article-body { font-size:18px; line-height:1.75; color:var(--ink-900); }
.article-body h2 { font-size:28px; margin:36px 0 12px; }
.article-body h3 { font-size:22px; margin:28px 0 10px; }
.article-body p { margin:0 0 20px; }
.article-body img { max-width:100%; height:auto; border-radius:var(--radius-md); }
.article-body a { color:var(--terracotta-600); }

.search-results { display:flex; flex-direction:column; gap:14px; max-width:820px; }
.search-result {
  display:flex; gap:18px; align-items:center; padding:16px; text-decoration:none;
  border:1px solid var(--gold-100); border-radius:var(--radius-md); background:#fff; transition:box-shadow .2s;
}
.search-result:hover { box-shadow:0 10px 28px rgba(20,29,45,.08); }
.search-result-media img { width:72px; height:72px; object-fit:cover; border-radius:var(--radius-sm); }
.search-result-body { display:flex; flex-direction:column; gap:3px; }
.search-result-type { font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--terracotta-600); font-weight:700; }
.search-result-body strong { color:var(--navy-900); font-size:18px; }
.search-result-excerpt { color:var(--ink-600); font-size:14px; }

/* Contact page */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.contact-info-item { display:flex; gap:14px; margin-bottom:22px; }
.contact-info-item .ci-icon { flex:0 0 40px; height:40px; border-radius:50%; background:var(--cream-100); display:flex; align-items:center; justify-content:center; font-size:18px; }
.contact-info-item h4 { margin:0 0 3px; font-size:16px; }
.contact-info-item p, .contact-info-item a { margin:0; color:var(--ink-600); font-size:15px; text-decoration:none; }
.contact-info-item a:hover { color:var(--terracotta-600); }
.contact-map iframe { width:100%; height:340px; border:0; border-radius:var(--radius-lg); }
.contact-hours { list-style:none; padding:0; margin:10px 0 0; }
.contact-hours li { display:flex; justify-content:space-between; padding:7px 0; border-bottom:1px solid var(--gold-100); font-size:15px; color:var(--ink-900); }

@media (max-width:860px){
  .blog-grid { grid-template-columns:1fr 1fr; }
  .contact-grid { grid-template-columns:1fr; gap:32px; }
}
@media (max-width:560px){
  .blog-grid { grid-template-columns:1fr; }
  .uae-search { flex-direction:column; }
}

/* ============================================================
   App-style sticky bottom CTA bar (mobile only)
   ============================================================ */
.mobile-cta-bar { display: none; }
@media (max-width: 640px) {
  .mobile-cta-bar {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(247, 243, 234, 0.94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(11, 23, 48, 0.12);
    transform: translateY(130%); transition: transform 0.3s ease;
  }
  /* transform:none (not translateY(0)) in the visible state: a fixed element
     with any transform pins to the layout viewport and hides behind the iOS
     toolbar. none keeps it anchored to the visual viewport bottom. */
  .mobile-cta-bar.visible { transform: none; }
  .mobile-cta-bar .btn { flex: 1; width: auto; padding: 14px 8px; font-size: 14px; justify-content: center; white-space: nowrap; }
  /* raise the WhatsApp float above the bar while it is showing */
  body.cta-bar-visible .whatsapp-float { bottom: 82px; transition: bottom 0.3s ease; }
}

/* Blog article tables & lists */
.article-body table {
  width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15.5px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
.article-body thead th {
  background: var(--navy-900); color: #fff; text-align: left; font-weight: 600;
  padding: 11px 14px; font-family: var(--ff-body); font-size: 14px;
}
.article-body td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.article-body tbody tr:nth-child(even) { background: var(--cream-50); }
.article-body ul { margin: 0 0 20px; padding-left: 22px; list-style: disc; }
.article-body ul li { margin-bottom: 7px; line-height: 1.6; }
@media (max-width: 640px) {
  .article-body table { font-size: 14px; display: block; overflow-x: auto; }
}
