/* ========================================
   Natural Hege Replica — Base Styles
   Matching Shopify Dawn theme
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Capriola&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Varela+Round&family=Oswald:wght@700&display=swap');

:root {
  --color-background: 255,255,255;
  --color-foreground: 95,95,95;
  --color-background-contrast: 191,191,191;
  --color-button: 255,120,71;
  --color-button-text: 255,255,255;
  --color-secondary-button: 255,255,255;
  --color-secondary-button-text: 255,120,71;
  --color-link: 255,120,71;
  --color-badge-foreground: 95,95,95;
  --color-badge-background: 255,255,255;
  --color-badge-border: 95,95,95;

  --font-body-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-heading-family: 'Oswald', sans-serif;
  --page-width: 140rem;
  --buttons-radius: 40px;
  --variant-pills-radius: 40px;
  --media-radius: 0px;
  --drawer-corner-radius: 0px;
  --inputs-radius: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body-family);
  color: rgb(var(--color-foreground));
  background-color: rgb(var(--color-background));
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: rgb(var(--color-link)); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-family);
  font-weight: 700;
  text-transform: uppercase;
  color: #5F5F5F;
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 48px;
  border-radius: var(--buttons-radius);
  font-family: var(--font-body-family);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background-color: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
}
.btn-primary:hover { background-color: #dd7049; }
.btn-secondary {
  background-color: rgb(var(--color-secondary-button));
  color: rgb(var(--color-secondary-button-text));
  border: 1px solid rgb(var(--color-button));
}
.btn-secondary:hover { background-color: #fff5f2; }

/* Layout */
.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 80px 0; }
.section--tight { padding: 40px 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.header-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.header-logo img { height: 40px; width: auto; }
.header-nav { display: flex; gap: 28px; }
.header-nav a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5F5F5F;
  text-decoration: none;
}
.header-nav a:hover { color: rgb(var(--color-button)); }
.header-icons { display: flex; gap: 20px; align-items: center; }
.header-icons a { color: #5F5F5F; font-size: 14px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.header-icons a:hover { color: rgb(var(--color-button)); }

/* Mobile menu */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #5F5F5F; }

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 60px 0 30px;
}
.footer-grid {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
}
@media (min-width: 750px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 990px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: #5F5F5F;
}
.footer-col p, .footer-col li {
  font-size: 14px;
  color: #5F5F5F;
  margin-bottom: 8px;
}
.footer-col a { color: rgb(var(--color-button)); }
.footer-bottom {
  max-width: var(--page-width);
  margin: 40px auto 0;
  padding: 20px 2rem 0;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #868686;
}
.footer-bottom a { color: #868686; }

/* Cart Notification */
.cart-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 360px;
  width: 100%;
  z-index: 200;
  display: none;
}
.cart-notification.active { display: block; }
.cart-notification__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.cart-notification__heading { font-size: 14px; font-weight: 700; color: #5F5F5F; }
.cart-notification__close { background: none; border: none; font-size: 18px; cursor: pointer; color: #5F5F5F; }
.cart-notification__links { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.cart-notification__links .btn { width: 100%; padding: 10px; font-size: 13px; }

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Responsive */
@media (max-width: 989px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: block; }
}
@media (min-width: 750px) {
  .section { padding: 100px 0; }
}

/* Comparison table swipe */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrapper table { border-collapse: collapse; min-width: 800px; width: 100%; }
.table-wrapper th, .table-wrapper td { padding: 12px 16px; border: 1px solid #eee; text-align: center; font-size: 14px; }
.table-wrapper th { background: #f8f8f8; font-weight: 700; color: #5F5F5F; }
.table-wrapper tr:nth-child(even) { background: #fafafa; }
.table-wrapper tr:nth-child(odd) { background: #fff; }

/* Accordion */
.accordion-item { border-bottom: 1px solid #eee; }
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #5F5F5F;
  text-align: left;
}
.accordion-trigger[aria-expanded="true"] .icon-plus { transform: rotate(45deg); }
.accordion-content { display: none; padding-bottom: 16px; }
.accordion-content.active { display: block; }
.icon-plus { transition: transform 0.2s ease; font-size: 20px; }

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 750px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 990px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-body h3 { font-size: 18px; margin-bottom: 8px; }
.blog-card-body .date { font-size: 12px; color: #868686; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-card-body p { font-size: 14px; color: #5F5F5F; line-height: 1.6; }

/* Subscribe form */
.subscribe-form { display: flex; gap: 8px; margin-top: 12px; }
.subscribe-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 14px;
}
.subscribe-form button {
  padding: 10px 20px;
  background: rgb(var(--color-button));
  color: #fff;
  border: none;
  border-radius: var(--buttons-radius);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  text-transform: uppercase;
}

/* Slider / gallery basics */
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.3s ease; }

/* Lab reports gallery */
.lab-gallery { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px; }
.lab-gallery img { height: 300px; width: auto; border-radius: 4px; border: 1px solid #eee; }

/* Pregnancy stats */
.stats-carousel { display: flex; gap: 24px; overflow-x: auto; padding: 20px 0; }
.stat-card { min-width: 260px; text-align: center; padding: 24px; border: 1px solid #eee; border-radius: 8px; }
.stat-card img { height: 80px; margin: 0 auto 12px; }
