/*
Theme Name: Ameer Fits
Theme URI: https://ameerfits.com
Author: Ameer Fits
Author URI: https://ameerfits.com
Description: Custom theme for Ameer Fits — medical scrubs & essentials. Navy + teal design system with pulse-line signature motif.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ameer-fits
*/

/* ===================================================
   Ameer Fits — Design System
   Navy + Teal, pulse-line as recurring signature motif
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root{
  --navy: #0F2C4E;
  --navy-deep: #0A1F38;
  --teal: #1A8C82;
  --teal-light: #E4F2F0;
  --white: #FFFFFF;
  --bg-alt: #F7F8F9;
  --text: #2E3338;
  --text-soft: #6B7480;
  --border: #E4E7EA;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-w: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
.wrap{ max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-body);
  font-weight:600; font-size:.78rem; letter-spacing:.12em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:''; width:18px; height:2px; background: var(--teal); display:inline-block;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 28px; border-radius: 4px;
  font-family: var(--font-body); font-weight:600; font-size:.95rem;
  border: 1.5px solid transparent; cursor:pointer; transition: all .18s ease;
}
.btn-primary{ background: var(--teal); color: var(--white); }
.btn-primary:hover{ background:#166f67; }
.btn-outline{ background:transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover{ background: var(--white); color: var(--navy); }
.btn-outline-navy{ background:transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color: var(--white); }

/* Pulse-line signature divider (echoes the logo's heartbeat mark) */
.pulse-divider{ width:100%; height:34px; display:block; margin: 4px 0; }
.pulse-divider path{
  fill:none; stroke: var(--teal); stroke-width:2.5;
  stroke-linecap:round; stroke-linejoin:round;
}

/* Header */
header.site{
  position: sticky; top:0; z-index:50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 32px; max-width: var(--max-w); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:42px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{
  font-weight:600; font-size:.92rem; color: var(--navy);
  padding: 6px 2px; position:relative;
}
.nav-links a.active,
.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a{ color: var(--teal); }
.nav-links a.active::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after{
  content:''; position:absolute; left:0; right:0; bottom:-4px; height:2px; background: var(--teal);
}
.nav-cta{ display:flex; align-items:center; gap:20px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; }

/* Footer */
footer.site{
  background: var(--navy-deep); color: #C9D3DC; padding: 56px 0 24px;
  margin-top: 90px;
}
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid h4{ color:#fff; font-size:.95rem; margin-bottom:16px; }
.footer-grid p, .footer-grid a{ color:#9FADB9; font-size:.9rem; }
.footer-grid li{ margin-bottom:10px; }
.footer-grid a:hover{ color: var(--teal); }
.foot-brand img{ height:38px; margin-bottom:14px; }
.foot-brand p{ max-width: 280px; }
.social-row{ display:flex; gap:12px; margin-top:16px; }
.social-row a{
  width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center; font-size:.8rem;
}
.social-row a:hover{ border-color: var(--teal); color: var(--teal); }
.foot-bottom{
  display:flex; justify-content:space-between; padding-top:22px; font-size:.8rem; color:#7C8894;
}

/* Section spacing helpers */
section{ padding: 88px 0; }
.section-alt{ background: var(--bg-alt); }
.section-head{ max-width: 620px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Products page */
.cat-tabs{ display:flex; gap:10px; margin-bottom:44px; }
.cat-tab{
  padding:12px 26px; border-radius:30px; border:1.5px solid var(--border);
  font-weight:600; font-size:.92rem; cursor:pointer; background:#fff; color:var(--text-soft);
}
.cat-tab.active{ background:var(--navy); border-color:var(--navy); color:#fff; }
.cat-panel{ display:none; }
.cat-panel.active{ display:block; }
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.product-card{ border:1px solid var(--border); border-radius:8px; overflow:hidden; }
.product-img{ height:230px; display:flex; align-items:center; justify-content:center; }
.product-card .info{ padding:18px; }
.product-card h4{ font-size:1rem; margin:0 0 4px; color:var(--navy); }
.product-card .price{ color:var(--teal); font-weight:600; }
@media (max-width:900px){ .product-grid{ grid-template-columns:1fr 1fr; } }

/* Contact page */
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:600; font-size:.88rem; margin-bottom:6px; color:var(--navy); }
.field input, .field textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--border); border-radius:5px;
  font-family:var(--font-body); font-size:.95rem; color:var(--text);
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--teal); }
.info-row{ display:flex; gap:14px; margin-bottom:22px; }
.info-row .ic{
  width:42px; height:42px; border-radius:50%; background:var(--teal-light); color:var(--teal);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-weight:700;
}

/* Responsive */
@media (max-width: 900px){
  .nav-links{
    position:fixed; inset: 66px 0 0 0; background:#fff; flex-direction:column;
    padding: 30px 32px; gap: 22px; transform: translateY(-110%); transition: transform .25s ease;
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-toggle{ display:block; }
  .footer-grid{ grid-template-columns: 1fr 1fr; row-gap: 32px; }
  section{ padding: 60px 0; }
  .product-grid{ grid-template-columns:1fr 1fr; }
}
