* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.7;
  color: #222;
  background: #f9f9f9;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #002244;
  color: white;
  padding: 1.2rem 0 0.8rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.announcement-bar {
  margin: 0 !important;
  padding: 0.4rem 0 !important;
  background: #fd7a06 !important;
  color: white !important;
  text-align: center !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  width: 100% !important;
}

.site-header {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.announcement-bar .container {
  padding: 0 !important;
  margin: 0 !important;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  letter-spacing: -1px;
  white-space: nowrap;
}

.logo-accent {
  color: #00dd00;
}

.phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  white-space: nowrap;
}

.phone a {
  color: inherit;
  text-decoration: none;
}

.phone-800 { color: white; }
.phone-mid  { color: #00dd00; }
.phone-end  { color: white; margin-left: -10px }

/* Nav on its own row below – original desktop styling */
.nav-container {
  margin-top: 0.8rem;
  text-align: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem 2.2rem;
  font-size: 1.1rem;
  margin: 0;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s;
}

.main-nav a:hover {
  color: #00dd00;
}

/* Intro Text (above 3 columns) */
.intro-text {
  padding: 3rem 0 1rem;
  background: white;
  text-align: center;
}

.intro-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3.4rem;
  margin: 0.5rem 0;
  line-height: 1.1;
}

.stop-buying {
  color: #00dd00;
}

.start-gen {
  color: #002244;
}

/* 3 Columns */
.three-columns {
  padding: 2rem 0 4rem;
  background: white;
}

.columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.column {
  background: #f8f8f8;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.column h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.95rem;
  margin-bottom: 1.2rem;
  color: #002244;
}

.column p {
  margin-bottom: 1.8rem;
  flex-grow: 1;
  font-size: 1.2rem;
}

.center-image {
  background: none;
  box-shadow: none;
  padding: 0;
}

.center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Buttons */
.btn-learn, .btn-order, .btn-view-all, .btn-order-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2.4rem;
  font-size: 1.32rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-learn {
  background: #00dd00;
  color: white;
}

.btn-learn:hover {
  background: #00c400;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,221,0,0.3);
}

.btn-order {
  background: #00dd00;
  color: white;
  margin-bottom: 1.5rem;
}

.btn-order:hover {
  background: #00c400;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,221,0,0.3);
}

.btn-order-now {
  background: #fd7a06;
  color: white;
  margin-bottom: 1.5rem;
}

.btn-order-now:hover {
  background: #e06c00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(253,122,6,0.3);
}

.btn-view-all {
  background: #00dd00;
  color: white;
  padding: 1.4rem 3.5rem;
  font-size: 1.56rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,221,0,0.3);
}

.btn-view-all:hover {
  background: #00c400;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,221,0,0.4);
}

/* Dark Blue Divider Line */
.divider-line {
  height: 4px;
  background: #002244;
  width: 100%;
}

/* About Me */
.about-me {
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #111;
}

.about-overlay {
  background: rgba(255, 255, 255, 0.85);
  padding: 6rem 0 7rem;
  width: 100%;
  min-height: 100%;
}

.about-me .container {
  max-width: 960px;
}

.about-me h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 2.2rem;
  color: #002244;
  text-align: center;
}

.about-me .about-content {
  background: #ffffff;
  padding: 3rem 3.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.about-me p {
  font-size: 1.18rem;
  margin-bottom: 1.9rem;
  line-height: 1.85;
  text-align: left;
}

/* Float images in About Me */
.about-img {
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin: 0 1.5rem 1rem;
}

.about-img.right {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.about-img.left {
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

/* Clearfix */
.about-content::after {
  content: "";
  display: table;
  clear: both;
}

.about-me a {
  color: #0066ff;
  font-weight: 600;
  text-decoration: underline;
}

.about-me a:hover {
  color: #0044cc;
}

/* Product Order Section */
.product-order {
  padding: 5rem 0;
  background: white;
  text-align: center;
}

.product-order h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  margin-bottom: 3rem;
  color: #002244;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.product-item {
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.product-item:hover {
  transform: translateY(-8px);
}

.product-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin: 1.5rem 1rem 0.8rem;
  color: #002244;
}

.product-item .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00dd00;
  margin: 0.5rem 0 1.2rem;
}

/* Footer */
.site-footer {
  background: #002244;
  color: white;
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.98rem;
}

.social-links a {
  color: #00dd00;
  text-decoration: none;
  margin: 0 1rem;
}

/* Cart & Checkout shared styles */
.cart-page, .checkout-page {
  padding: 4rem 0;
  background: white;
}

.cart-items, .cart-summary {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-info h3 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  color: #002244;
}

.cart-item-info .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00dd00;
}

.remove-btn {
  background: #ff4444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.remove-btn:hover {
  background: #cc0000;
}

.empty-cart {
  font-size: 1.3rem;
  text-align: center;
  padding: 4rem 0;
  color: #666;
}

.btn-checkout {
  background: #00dd00;
  color: white;
  padding: 1.2rem 2.5rem;
  font-size: 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-checkout:hover {
  background: #00c400;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,221,0,0.3);
}

/* Coupon form styling */
.coupon-form {
  margin: 1.5rem 0;
  display: flex;
  gap: 0.8rem;
  max-width: 400px;
}

.coupon-form input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.coupon-form button {
  background: #002244;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.coupon-form button:hover {
  background: #0044aa;
}

/* === Appended updates for cart & checkout styling === */

/* Larger product thumbnails (50% bigger) */
.cart-item-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

/* Cart summary spacing fixes */
.cart-summary p {
  margin-bottom: 1rem;
}

.final-total {
  margin: 1.5rem 0 2.5rem;
  font-size: 1.5rem;
}

/* Proceed to Checkout button styling (with icon & bold text) */
.btn-checkout {
  background: #00dd00;
  color: white;
  font-weight: bold;
  padding: 1.2rem 2.5rem;
  font-size: 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s;
}

.btn-checkout:hover {
  background: #00c400;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,221,0,0.3);
}

/* Make delete button float to far right */
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.cart-item-info {
  flex: 1;
}

.remove-form {
  margin-left: auto;
}

/* Checkout page – no coupon form (as requested) */
.checkout-page .coupon-form,
.checkout-page #coupon-message {
  display: none;
}

.dark-blue-fade-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #1e40af 20%,
    #1e40af 80%,
    transparent 100%
  );
  margin: 2rem 0;
  width: 100%;
}

/* Mobile Responsiveness - Homepage Fixes */
@media (max-width: 992px) {
  .intro-text {
    padding: 1rem 0 0.3rem !important;
  }

  .intro-text .start-gen {
    font-size: 2.0rem !important;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .about-img {
    max-width: 73px !important;
  }

  .about-img {
    vertical-align: middle !important;
    margin-top: 0.5rem !important;
  }

  .about-img.right,
  .about-img.left {
    margin-top: 0.5rem !important;
  }

  .three-columns .columns-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .three-columns .column.center-image {
    order: -1;
  }

  .three-columns .column.center-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
  }

  .system-heading {
    font-size: 2.4rem !important;
  }

  .about-content {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1rem !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .main-content-wrapper .container {
    padding: 0 !important;
  }

  .cognito-iframe {
    margin-left: 0 !important;
  }
}

/* Mobile Responsiveness - Product Grid Fix (2 per row, square images) */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .product-item {
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }

  .product-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }
}

/* Desktop - Protect original nav and grid */
@media (min-width: 993px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .product-item img {
    height: 280px !important;
  }

  .main-nav ul {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1.8rem 2.2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0.6rem 0 !important;
    border-top: 1px solid rgba(255,255,255,0.15) !important;
  }

  .main-nav li {
    margin: 0 !important;
  }

  .main-nav a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.25s !important;
  }

  .main-nav a:hover {
    color: #00dd00 !important;
  }
}
/* Desktop – Force logo left, phone right, perfect alignment */
@media (min-width: 993px) {
  .header-flex {
    justify-content: space-between !important;
    align-items: center !important;
  }

  .logo-link {
    text-align: left !important;
    flex: 0 0 auto !important;
  }

  .phone {
    text-align: right !important;
    flex: 0 0 auto !important;
  }

  .nav-container {
    display: block !important;
  }

  .main-nav ul {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1.8rem 2.2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0.6rem 0 !important;
    border-top: 1px solid rgba(255,255,255,0.15) !important;
  }

  .main-nav a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.25s !important;
  }

  .main-nav a:hover {
    color: #00dd00 !important;
  }
}

/* Mobile – Center logo/phone, smaller button text */
@media (max-width: 992px) {
  .header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.8rem 0 0.4rem;
  }

  .logo {
    font-size: 2.2rem;
    margin-bottom: -2.1rem;
  }

  .phone {
    font-size: 1.6rem;
    margin-top: 0.1rem;
  }

  /* Smaller button text on mobile (30% reduction) */
  .btn-order-now, .btn-order {
    font-size: 1.35rem !important; /* 50% bigger than 0.9rem – readable and fits better */
    padding: 1rem 1.8rem !important;
  }

  .btn-order-now i, .btn-order i {
    font-size: 1.2rem !important;
  }

}
/* Mobile - Reduce line spacing when main-nav <li> items wrap to multiple lines */
@media (max-width: 992px) {
  .main-nav ul {
    line-height: 0.3 !important; /* Default is ~1.7, this tightens vertical spacing */
    gap: 1rem !important; /* Smaller gap between wrapped items */
    padding: 0.4rem 0 !important; /* Less top/bottom padding */
  }

  .main-nav li {
    margin: 0.6rem 0 !important; /* Tight vertical margin between items */
  }

  .main-nav a {
    font-size: 1.12rem !important; /* Slightly smaller text to help fit */
    padding: 0.5rem 0 !important; /* Less internal padding per link */
  }
}
/* Show desktop nav only on desktop, mobile nav only on mobile */
@media (min-width: 993px) {
  .mobile-nav {
    display: none !important;
  }
  .desktop-nav {
    display: block !important;
  }
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-nav {
    display: block !important;
  }
}

/* Compact Nudgify popup – smaller box, bigger thumbnail */
.nudgify-compact {
  background-color: #002244 !important;
  color: white !important;
  font-size: 1rem !important;
  padding: 1rem 1.4rem !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
  max-width: 280px !important; /* Smaller box */
  line-height: 1.4 !important;
  text-align: center !important;
}

.nudgify-compact strong {
  font-size: 1.15rem !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

.nudgify-compact img {
  width: 80px !important;           /* Bigger thumbnail */
  height: 80px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 0.6rem auto !important;
  display: block !important;
}

.nudgify-compact br {
  content: "\A";
  white-space: pre;
}