/* 🔒 Force solid header background */
body.patio .patio-header {
  background-color: #2E7D32 !important; /* Deep green */
  color: #fff !important;
  padding: 20px;
  border-bottom: 2px solid #1B5E20;
  opacity: 1 !important;
  z-index: 10;
  position: relative;
}

/* 🔒 Top nav bar */

body.patio .top-bar {
  background-color: #388E3C !important;
  opacity: 1 !important;
}

body.patio .top-bar a {
  background-color: #66BB6A !important;
  color: #fff !important;
}

/* 🔒 Logo text */
body.patio .logo-text a {
  color: #fff !important;
}

/* 🔒 Main nav bar */

body.patio .main-nav {
  background-color: #388E3C !important;
  opacity: 1 !important;
}

body.patio .main-nav a {
  background-color: #66BB6A !important;
  color: #fff !important;
}

body.patio .main-nav a:hover {
  background-color: #81C784 !important;
  color: #fff !important;
}

body.patio .main-nav a.active {
  background-color: #66BB6A; /* Same as normal buttons */
  color: #fff;
}

body.patio .main-nav ul {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.patio .main-nav a {
  text-decoration: none;
  color: #2E7D32;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 4px;
  background-color: #C8E6C9;
  transition: background-color opacity: 1;
}

body.patio .main-nav a:hover {
  background-color: #A5D6A7;
}

body.patio .main-nav a.active {
  background-color: #A5D6A7;
  color: #1B5E20;
}
/* 🔧 Top Bar Layout Fix */
body.patio .top-bar {
  background-color: #388E3C;
  padding: 10px 0;
}

body.patio .top-bar ul {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.patio .top-bar li {
  display: inline-block;
}

body.patio .top-bar a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 4px;
  background-color: #66BB6A;
  transition: background-color 0.3s ease;
}

body.patio .top-bar a:hover {
  background-color: #81C784;
}
/* ====== Product Card Styling ====== */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}

.product-card {
  width: 260px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.1rem;
  margin: 8px 0;
  color: #2E7D32;
}

.product-card p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 12px;
}

.buy-button {
  display: inline-block;
  background-color: #66BB6A;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.buy-button:hover {
  background-color: #81C784;
}
.patio-section h2 {
  text-align: center;
  font-size: 1.6rem;
  color: #2E7D32;
  margin-bottom: 20px;
  border-bottom: 2px solid #A5D6A7;
  padding-bottom: 6px;
}
/*============back to top section===========*/
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: #43A047;
  color: white;
  padding: 14px 20px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

.back-to-top:hover {
  background-color: #66BB6A;
  transform: scale(1.05);
}
.back-to-top {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: #43A047;
  color: white;
  padding: 14px 20px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

.back-to-top:hover {
  background-color: #66BB6A;
  transform: scale(1.05);
}
.led-lighting-grid .product-card img {
  max-width: 160px;
}

.patio-grid .product-card img {
  max-width: 160px;
}

/* Optional: scoped layout tweaks */
.led-lighting-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.patio-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}


@media (max-width: 600px) {
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
  }

  .main-nav li {
    width: 80%;
    text-align: center;
  }

  .main-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    background-color: #C8E6C9;
    color: #2E7D32;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
  }

  .main-nav a:hover {
    background-color: #A5D6A7;
    color: #fff;
  }
}
@media (max-width: 600px) {
  .top-bar ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
  }

  .top-bar li {
    width: 80%;
    text-align: center;
  }

  .top-bar a {
    display: block;
    padding: 10px 16px;
    font-size: 1rem;
    background-color: #A5D6A7;
    color: #2E7D32;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
  }

  .top-bar a:hover {
    background-color: #81C784;
    color: #fff;
  }
}

