/* General Body and Text */
body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding-bottom: 40px;
  background-color: #f9f9f9;
  color: #333;
}
/* Header and Navigation */
header {
  background-color: #003366;
  padding: 20px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 15px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1em;
}

nav a:hover {
  text-decoration: underline;
}

/* Logo Banner */
.logo-banner {
  text-align: center;
  margin: 30px 0 40px 0;
}

.logo-banner img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  max-height: 150px;
}

/* Middle Banner - same height as footer */
.banner {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 70px;
}

.banner p {
  font-size: 1em;
  margin: 0;
  font-weight: bold;
}

.btn-primary {
  background-color: #ff6600;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #e65500;
}

/* Building Photo */
.building-photo {
  text-align: center;
  margin: 40px 0 20px 0;
}

.building-photo img {
  max-width: 40%;
  height: auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Footer - same height as banner */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 15px 20px;
  font-size: 0.9em;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

footer a {
  color: #ff6600;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.product-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
}

/* Ensure the content fills without bottom gap */
.product-card > *:last-child {
  margin-bottom: 0;
}

.product-card img {
  max-width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card h2 {
  margin: 0 0 4px 0;
  font-size: 1.1em;
  line-height: 1.2em;
  height: 2.4em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card p {
  margin: 0 0 1px;
  font-size: 0.95em;
  line-height: 1.2em;
  max-height: 3.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #555;
}

/* Product Cost and Add to Cart */
.product-card .product-details {
  text-align: center;
  margin-top: 4px;
}

.product-card .product-details p {
  margin: 0;
  font-weight: bold;
  font-size: 1.1em;
  color: #222;
}

.add-to-cart {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 2px;
}

.add-to-cart:hover {
  background-color: #e65500;
}

/* Cart Table */
.cart-container {
  max-width: 1000px;
  margin: 0 auto 40px auto;
  padding: 20px;
}

.cart-container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.cart-container th,
.cart-container td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.clear-cart {
  background-color: #ff6600;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.clear-cart:hover {
  background-color: #e65500;
}

/* Responsive */
@media (max-width: 600px) {
  .banner p {
    font-size: 1em;
  }

  .building-photo img {
    max-width: 80%;
  }
}

/* Checkout Form Styling */
.checkout-container {
  max-width: 900px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
}

.checkout-form {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.checkout-form fieldset {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 6px;
}

.checkout-form legend {
  font-weight: bold;
  color: #003366;
  padding: 0 10px;
  font-size: 1.1em;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1em;
}

#other-bush-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  line-height: 1.4;
  border-radius: 4px;
  border: 1px solid #ccc;
  resize: vertical;
  box-sizing: border-box;
}

#checkout-cart-summary {
  margin-top: 15px;
  padding: 10px;
  background-color: #f2f2f2;
  border-radius: 4px;
  font-size: 0.95em;
  line-height: 1.6em;
}

/* Checkout Page Form and Summary */

h1 {
  text-align: center;
  margin-top: 40px;
  color: #003366;
  font-weight: 700;
  font-size: 2.4em;
}

form#checkout-form {
  max-width: 900px;
  margin: 30px auto 80px auto;
  display: flex;
  gap: 40px;
  padding: 20px;
  box-sizing: border-box;
}

form#checkout-form .form-section {
  flex: 1 1 600px;
  background: white;
  border-radius: 8px;
  padding: 25px 30px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form#checkout-form .form-section label {
  font-weight: 600;
  color: #003366;
  margin-bottom: 6px;
}

form#checkout-form .form-section input[type="text"],
form#checkout-form .form-section input[type="email"],
form#checkout-form .form-section input[type="tel"],
form#checkout-form .form-section input[type="number"],
form#checkout-form .form-section textarea {
  padding: 10px 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.25s ease;
  font-family: Arial, sans-serif;
}

form#checkout-form .form-section input[type="number"] {
  max-width: 150px;
}

form#checkout-form .form-section input:focus,
form#checkout-form .form-section textarea:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 4px #ff6600aa;
}

form#checkout-form .form-section textarea {
  resize: vertical;
  min-height: 60px;
  max-height: 120px;
}

form#checkout-form button[type="submit"] {
  margin-top: 20px;
  align-self: flex-start;
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1.1em;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 102, 0, 0.4);
}

form#checkout-form button[type="submit"]:hover {
  background-color: #e65500;
  box-shadow: 0 6px 14px rgba(230, 85, 0, 0.6);
}

/* Order Summary Styles */

.order-summary {
  flex: 0 0 280px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px 25px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  color: #003366;
  font-family: Arial, sans-serif;
}

.order-summary h2 {
  font-weight: 700;
  font-size: 1.4em;
  margin-bottom: 18px;
  border-bottom: 2px solid #ff6600;
  padding-bottom: 8px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1.1em;
  font-weight: 600;
}

.summary-total {
  margin-top: 14px;
  font-size: 1.3em;
  font-weight: 800;
  color: #ff6600;
  border-top: 2px solid #ff6600;
  padding-top: 12px;
}

/* Confirmation message */

#confirmation {
  max-width: 900px;
  margin: 20px auto 40px auto;
  padding: 18px 24px;
  background-color: #e6ffe6;
  border: 2px solid #33cc33;
  border-radius: 8px;
  font-weight: 700;
  color: #236623;
  white-space: pre-line;
  display: none;
  font-family: Arial, sans-serif;
  box-shadow: 0 0 10px #88cc88aa;
}

/* Responsive for smaller screens */

@media (max-width: 850px) {
  form#checkout-form {
    flex-direction: column;
    padding: 15px 10px;
  }

  .order-summary {
    flex: none;
    width: 100%;
    margin-top: 30px;
  }

  form#checkout-form .form-section {
    width: 100%;
  }
}

/* Info Box with Icon */
.info-box {
  display: flex;
  align-items: flex-start;
  background-color: #e7f3fe; /* light blue */
  border-left: 6px solid #ff6600; /* orange accent */
  color: #084298;
  padding: 12px 16px;
  border-radius: 4px;
  margin: 0 0 20px 0; /* no space above, 20px below */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.03);
}

.info-icon {
  flex-shrink: 0;
  margin-right: 12px;
  margin-top: 3px;
}

.info-text p {
  margin: 0;
  line-height: 1.5;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px;
  flex-wrap: wrap;
}

.nav-left a,
.nav-right a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
  font-weight: 500;
}

.nav-right a:last-child {
  margin-right: 0;
}

.nav-left a:hover,
.nav-right a:hover {
  text-decoration: underline;
}

.flash-success {
  max-width: 800px;
  margin: 20px auto;
  padding: 15px;
  background-color: #d4edda;
  color: #155724;
  border-left: 6px solid #28a745;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
}

.success-popup {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #d4edda;
  color: #155724;
  padding: 15px 25px;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
  z-index: 9999;
  display: none;
}

/* Free-shipping notice under the order summary title */
.free-shipping-notice {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  font-weight: bold;
  color: #003366;
}

.notice-icon {
  font-size: 1.2em;    /* make the bell a bit larger */
  line-height: 1;
}
.free-shipping-notice p {
  background: none;    /* no box */
  color: #003366;       /* match your brand color */
  font-size: 1rem;
}
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* modern white icons on brand colour circles */
/* Modern white icons on brand-colour SQUARES */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-links .social-square {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px; /* rounded square */
  color: #fff; /* SVG uses currentColor */
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.social-links .social-square svg {
  width: 20px;
  height: 20px;
  display: block;
}

.social-links .social-square.facebook { background: #1877F2; }
.social-links .social-square.youtube  { background: #FF0000; }
.social-links .social-square.whatsapp { background: #25D366; }

.social-links .social-square:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  opacity: 0.95;
}