/*
Theme Name: Edna's Rapid Relief
Author: McNeill Resources
Version: 1.0
*/

:root {
  --primary: #6b7f5f;
  --secondary: #f3f7f4;
  --accent: #b79c6a;
  --dark: #3f463b;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #faf9f6;
  color: var(--dark);
  line-height: 1.6;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #6b7f5f, #8fa98b);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 6px solid var(--accent);
}

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 2rem;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #1a202c;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

/* SECTIONS */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* FEATURE GRID */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--secondary);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(63, 70, 59, 0.15);
  border: 1px solid #d6d1c4;
}

.card h3 {
  margin-top: 0;
  color: var(--primary);
}

/* CTA */
.cta {
  background: #f3f0ea;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

/* FOOTER */
footer {
  background: var(--dark);
  color: #e7e5df;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 6px solid var(--accent);
}

footer span {
  color: white;
}

/* MOBILE */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  section {
    padding: 3rem 1.5rem;
  }
}
/* ================================
   HEADER NAVIGATION – FINAL FIX
   ================================ */

/* Header container */
header {
  position: relative;
  text-align: center;
}

/* Menu wrapper */
header nav {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* Remove bullets & spacing */
header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;              /* THIS makes it horizontal */
  gap: 2rem;                  /* Space between menu items */
}

/* Menu items */
header nav ul li {
  margin: 0;
  padding: 0;
}

/* Menu links */
header nav ul li a {
  color: #ffffff;             /* White text */
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: opacity 0.2s ease;
}

/* Hover effect */
header nav ul li a:hover {
  opacity: 0.8;
}

/* WooCommerce cart icon */
header .cart-contents {
  color: #ffffff;
  margin-left: 1.5rem;
  font-size: 18px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;   /* Stack on small screens */
    gap: 1rem;
  }
}
/* ================================
   CHECKOUT PAGE POLISH
   ================================ */

/* Center checkout */
.woocommerce-checkout {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Remove clutter */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

/* Inputs */
.woocommerce-checkout input,
.woocommerce-checkout select {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #d6d1c4;
}

/* Checkout button */
#place_order {
  background: #b79c6a;
  color: #1a202c;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-weight: 600;
  border: none;
  font-size: 1rem;
}

/* Remove coupon distraction (optional but recommended) */
.woocommerce-form-coupon-toggle {
  display: none;
}
/* ================================
   PRODUCT PAGE OPTIMIZATION
   ================================ */

/* Center product page */
.single-product .product {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Product title */
.single-product h1.product_title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #3f463b;
}

/* Price styling */
.single-product .price {
  font-size: 1.6rem;
  font-weight: 600;
  color: #6b7f5f;
  margin-bottom: 1.25rem;
}

/* Primary Add to Cart button */
.single-product .single_add_to_cart_button {
  background: #b79c6a;
  color: #1a202c;
  border-radius: 999px;
  padding: 1rem 2.2rem;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
}

/* Remove clutter */
.single-product .woocommerce-tabs,
.single-product .related.products {
  display: none;
}

/* Description spacing */
.single-product .woocommerce-product-details__short-description {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

/* Buy Now secondary button */
.buy-now-btn {
  margin-left: 1rem;
  background: transparent;
  border: 2px solid #b79c6a;
  color: #b79c6a;
  border-radius: 999px;
  padding: 0.9rem 2rem;
  font-weight: 700;
}
