body{
    overflow-x: hidden;
}
.phone_form_container {
    display: none;
    align-items: center;
    gap: 8px;
}
.hpgrid {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding-top: 6rem;
  background-color: #e9f3ec7a;
}
h2{
  font-size: x-large;
}
.layout-container {
  display: flex;
  flex-wrap: nowrap;
}


/* Main content - 80% */
.main-content {
  width: 100%;
  padding: 1rem;
  transition: all 0.3s ease;
  /* padding-top: 130px; */
}

.main-content.full-width {
  width: 100%;
}


.sub-menu {
  margin-top: 5px;
    border-left: 2px solid #ccc;
    display: flex;
    flex-direction: column;
    max-height: fit-content;
    transition: all 0.3s ease;
    background: var(--footer-bg);
}
.nav-link,
.sub-link {
  position: relative;
}

.nav-link:hover::after,
.sub-link:hover::after {
  content: attr(title);
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  color: #fff;
  padding: 3px 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 999;
  border-radius: 3px;
}

/* ------------------------------------- */
/* Sub-links (child items) */
.sub-link {
    display: block;
    font-size: 15px;
    color: white;
    padding: 6px 10px;
    text-decoration: none;
    transition: background-color 0.2s cubic-bezier(0.37, 0.68, 0.58, 1);
    border-bottom: 1px solid #607d8b0d;
}

.sub-link:hover {
  background-color: #d4edda;
  color: #000;
}
/* -------------------------------- */
.tproduct {
    background: transparent;
    color: #215d0e;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 3.5em;
 }
.hedding{
    font-size: x-large;
    text-align: center;
}
.url {
  font-size: 15px;
  color: #215d0e;
  display: inline-block;
  padding-top: 8px;
  
  display: flex;
  justify-content: flex-end;
  gap:20px;
  margin-right:1em;
}
.url a{
  background: #166557;
    color: white;
    padding: 5px 20px;
    border-radius: 9px;
    text-decoration: none;
}
.url a:hover{
  color:white;
  background-color: rgb(86, 116, 114);
  border-bottom: 5px solid #003607;
}
.url button {
    background: #166557;
    color: white;
    padding: 5px 20px;
    border-radius: 9px;
    text-decoration: none;
  
    text-decoration: none;
}
.url button:hover {
  color:white;
  background-color: rgb(86, 116, 114);
  border-bottom: 5px solid #003607;
}
/* --------------------------------------------- */

.containerone {
  display: flex;
  flex-direction: row;
   justify-content: space-between;
  flex-wrap: wrap;
  margin: 1% 5%;
  gap: 2rem;
}

.containerone div {
  flex: 1;
 }

.containerone div img {
  width: 100%;
  max-width: 450px;
  height: auto;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
              rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  margin: 10px auto;
  border-radius: 4px;
  display: block;
}

/* Text section */
.spinfo {
  flex: 1;
  color: black;
  text-align: justify;
  font-size: 15px;
  line-height: 30px;
  /* padding: 1rem; */
 }

.phighlights {
    display: grid;
    gap: 25px;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
}
.hone {
  display: flex;
  justify-content: center;
}
.hone img {
  box-shadow: rgba(50, 50, 93, 0.25) 10px 50px 100px 20px,
    rgba(0, 0, 0, 0.3) 10px 30px 60px 30px;
  padding: 10px;
  border-radius: 50%;
  height:110px;
  width: 110px;
}
/* ----------------------------------------- */
section{
    background-color: whitesmoke;
}
.subpcard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  
    gap: 15px;
    margin-top: 20px;
}
.subpcard a{
  text-decoration: none;
  color: black;
}
.pro-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* padding: 10px; */
}

.pro-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.img-wrap {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-body {
    padding: 8px 5px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.price {
    color: #28a745;
    font-weight: bold;
    margin-bottom: 6px;
}

.pro-btn {
    padding: 6px 12px;
    background: var(--footer-bg);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin: auto;;
}

.pro-btn:hover {
    background: #218838;
}
 /* ================================= */
 /* Section */
.related-products {
    padding: 15px;
    background: #a2fcbd17;
}

.related-products .heading {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000000;
    text-align: center;
}

 /* ================================= */
.nav-section{
    display: block;
    padding: 20px 1rem;
    border-radius: 6px;
    color: #004D40;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

/* ========================================== */
/* product feedback form */
.product-review-form {
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.review-title {
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}

.note {
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.required {
  color: red;
}

/* Form Styling */
.pro-review-form .form-group {
  margin-bottom: 20px;
}

.pro-review-form input,
.pro-review-form textarea,
.pro-review-form select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

.pro-review-form input:focus,
.pro-review-form textarea:focus,
.pro-review-form select:focus {
  border-color: #4caf50;
}

.pro-review-form select {
  border-color: #4caf50;
  color: rgb(236, 178, 17);
}
/* Button */
.submit-btn {
    margin: auto;
    display: block;
    width: unset;
    padding: 12px;
    background: #0f5937;
    color: white;
    border: none;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
  background: #45a049;
}

/* Success/Error Message */
.message {
  background-color: #e6f7e6;
  padding: 10px;
  border: 1px solid #4caf50;
  color: #2e7d32;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 20px;
}
.form-container{
  max-width: 670px;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  margin-top: 112px;
}
.alert-msg{
    position:relative;
    background: #b1e7c178;
    width: 100%;
    margin: auto;
    border: 1px solid green;
    border-radius: 3px;
    color: green;
    padding: 8px 5px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;

}
/* ========================================== */
@media (max-width: 480px) {
  .containerone {
    flex-direction: column;
    text-align: center;
  }

  .spinfo {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 1rem 0;
  }
  /* .sidebar{
    display: none;
  } */
  .main-content{
    width: 100%;
    /* padding-top:185px; */
  }
  .img-wrap {
        height: 120px;
    }
  .card-title {
        font-size: 0.9rem;
    }
  .price {
        font-size: 0.85rem;
    }
.subpcard {
        grid-template-columns: repeat(1, 1fr);
    }
  .review-title {
    font-size: 20px;
  }

  .submit-btn {
    font-size: 14px;
  }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {

  .containerone {
    flex-direction: column;
    text-align: center;
  }

  .spinfo {
    font-size: 0.95rem;
  }
  .sidebar{
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0.5rem;
    display: none;
    }

  .main-content{
    width: 100%;
    /* padding-top:185px; */
  }
  .subpcard {
        grid-template-columns: repeat(2, 1fr);
    }
  .container {
    padding: 20px;
  }
}


/* ========== Large Desktops ========== */
@media (min-width: 769px) and (max-width: 1199px) {
  .containerone {
    flex-direction: row;
  }
.subpcard {
        grid-template-columns: repeat(2, 1fr);
    }

}