/* Global Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}
.hamburger{
  display: none;
}
/* Hide phone form initially */
.phone_div1 form {
  display: none;
  justify-content: end;
}

/* Layout Adjustments */
.sub-pro-content {
  padding-top: 8rem;
}

.r-btn {
  margin-top: 1rem;
  display: flex;
  justify-content: end;
  margin-right: 1rem;
  width: 84%;
}

.rate-btn {
  background-color: transparent;
  border: 1px solid #091a56;
  border-radius: 5px;
  color: darkgreen;
  margin-left: 20px;
  padding: 4px 23px;
}

.rate-btn a {
  color: #09105e;
  text-decoration: none;
}

.pro-summary {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Product container */
.product-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.product-summary-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.product-summary-col {
  flex: 1;
  /* min-width: 280px; */
  max-width: 100%;
}
.left-column-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Price tags */
.tag .prize {
  background-color: #ffcc00;
  color: #000;
  padding: 5px 10px;
  display: inline-block;
  font-weight: bold;
  border-radius: 5px;
  margin-bottom: 10px;
}
/* Enquire box */
.box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10px;
  margin-top: 10px;
}

.icons a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  margin: 5px;
}
/* Card styling */
.sp-card {
  width: 100%;
  max-width: 300px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.sp-img {
  width: 100%;
  height: auto;
}

/* Animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Compare Button */
.pcompare .pulsetwo {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* Right column styles */
.hedding {
  font-size: 24px;
  margin-bottom: 15px;
}
.line-through {
  text-decoration: line-through;
  color: grey;
}

/* Text styling */
.spinfo {
  line-height: 1.5;
  overflow-wrap: break-word;
  text-align: justify;
}

/* Description container */
.desc-container {
  width: 90%;
  max-width: 100%;
  margin: 2% auto;
  padding: 20px;
  border-radius: 15px;
  background-color: #f0f8ff2b;
  text-align: justify;
  box-shadow: rgba(0, 0, 0, 0.151) 0px 1px 4px;
}

/* Prize tag styles */
.prize {
  border-radius: 0.25rem;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
  padding: 5px 15px;
  color: #fff;
  background-image: linear-gradient(90deg, var(--bs-red), #763339);
  clip-path: polygon(0 0, 0 0, 100% 0, 100% 0, 100% calc(100% - 15px), calc(100% - 17px) 100%, 15px 100%, 0 100%);
  font-size: 0.7rem;
  line-height: 14px;
  letter-spacing: 1.2px;
  transition: 0.2s 0.1s;
  border: 0 solid;
  overflow: hidden;
  display: initial;
  margin: 7px 0px;
}

.sp-card {
  display: block;
  margin: auto;
}

.sp-img {
  width: 95%;
  margin: 10px;
}

/* Enquire button box */
.share a:nth-child(1) {
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  margin-left: 0;
}

.share a {
  line-height: 45px;
  width: 45px;
  text-align: center;
  display: inline-block;
  background-color: #ffffff;
  color: #0b2b02;
  overflow: hidden;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.pcompare {
  margin: 10px;
}

.pcompare a {
  background: transparent;
  color: var(--bs-success);
  padding: 5px 20px;
  border-radius: 18px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  text-decoration: none;
  border: 1px solid;
}

.pulsetwo {
  animation: shadow-pulsetwo 1s infinite;
  background-color: #215d0e;
}

/* Price layout */
.price {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
}
.price-row .label {
  text-align: left;
}

.price-row .amount {
  text-align: right;
}

/* Specification container */
.specification-container {
  width: 90%;
  max-width: 100%;
  margin: 5% auto;
  /* padding: 20px; */
  background-color: #f0f8ff2b;
  border-radius: 20px;
}

.specs-div {
  width: 100%;
}

.specs {
  font-size: 15px;
  overflow-x: auto;
}

/* Key-value styling */
.keys {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.value {
  text-align: right;
}

/* Product container styling */
.pro-container {
  width: 90%;
  margin: 2% auto;
  background: #f0f8ff2b;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  padding: 24px;
}

/* Sub-product display */
.spdisp h3 {
  margin: 2px 18px;
  margin: 2px;
  font-size: 20px;
  font-weight: 600 !important;
  color: #0b2b02;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
}

.specs-div h3 {
  font-size: 20px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  color: #0b2b02;
  margin-top: 5px;
  margin-bottom: 8px;
  background: rgb(10 68 41);
  color: white;
  padding: 6px 7px;
  border-bottom: 1px solid orange;
}

/* Footer styling */
.footer {
  margin-left: 0px;
  left: 0px;
  width: 100%;
}

/* Responsive for small devices */
@media (max-width: 750px) {
  .rate-btn {
    margin-bottom: 0.5rem;
  }
  .pcompare {
    padding-top: 0.8rem;
    height: 45px;
    margin-top: 0rem;
    margin-left: 3em;
  }
  #hr1 {
    width: 100%;
    margin: auto;
  }
  #hr2 {
    width: 95%;
  }
  .specs {
    display: block;
    gap: 10px;
    font-size: 15px;
    overflow-x: scroll;
    padding-left: 10px;
    padding-right: 10px;
  }
  .keys {
    margin-bottom: 1rem;
    gap: 0.5rem;
  }
  .value {
    flex-basis: 30%;
    color: #215d0e;
    width: 18rem;
    white-space: wrap;
    font-size: 13px;
  }
  .spdisp {
    margin: 5px 2%;
    margin-top: 20px;
  }
}

/* Tablet view adjustments */
@media (max-width: 768px) {
  .hedding {
    width: 90%;
  }
  .product-summary-row {
    flex-direction: column;
    align-items: center;
  }
  .enquire-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }
  .button-column {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
  }
  .enquire-btn {
    min-width: 120px;
    width: 45%;
  }
  .pro-container {
    background: #f0f8ff2b;
    border-radius: 20px;
}
  .sp-card {
    max-width: 100%;
  }
}
.enquire-compare-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.enquire-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.button-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.enquire-btn,
.compare-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--hover-color);
    min-width: 120px;
    width: 100%;
}
.phone-btn,
.whatsapp-btn,
.email-btn,
.sms-btn {
  background-color: var(--facebook-color);
}
.compare-btn { background-color: #007bff; }

.enquire-btn i, .compare-btn i {
  font-size: 18px;
}
.enquire-btn:hover, .compare-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  color: white;
}

/* Compare button styling */
.compare-button {
  margin-top: 10px;
}
/* Reviews Section Styling */
.reviews-section {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.reviews-section h5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

#avg-rate {
    color: #ff9800;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

#avg-rate i {
    margin-left: 4px;
}

.reviews-section hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0.5rem 0;
}

.usereview .first-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.star {
    color: #ff9800;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.star i {
    margin-left: 3px;
}

.usereview .second-line {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.usereview .second-line p {
    margin-bottom: 0.5rem;
}

.usereview .second-line img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.usereview .second-line img:hover {
    transform: scale(1.05);
}

.usereview em {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #555;
}

.usereview span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #333;
}

/* Image zoom overlay */
.overlay-img {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.overlay-img.active {
    display: flex;
}

.overlay-img .image-container {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.overlay-img .image-container img.full-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.overlay-img #remove-icon1 {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    cursor: pointer;
    padding: 5px;
    font-size: 24px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reviews-section {
        padding: 10px;
    }

    .reviews-section h5 {
        flex-direction: column;
        align-items: flex-start;
    }

    #avg-rate {
        margin-top: 5px;
    }

    .usereview .first-line {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        margin: 10px;
    }

    .usereview .second-line img {
        width: 100%;
    }
}

/* Tablet view adjustments */
@media (max-width: 1024px) {
  .enquire-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .button-column {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }
  .enquire-btn {
    min-width: 140px;
    flex: 1;
  }
}

/* Mobile view adjustments */
@media (max-width: 480px) {
  .button-column {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .button-column.left-column {
    align-items: flex-start;
  }
  .button-column.right-column {
    align-items: flex-end;
  }
    .enquire-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .button-column {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .enquire-btn,
  .compare-btn {
    width: 100%;
    min-width: auto;
  }
  .price-row {
    flex-direction: column;
    gap: 5px;
  }
  .keys {
    /* flex-direction: column; */
    gap: 5px;
  }
}
/* //////////////////////////////////////////////////////////////// */
.specification-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin: 20px 0;
  flex-wrap: wrap; 
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  margin: auto;
  padding: 6px 6px;
}

.specs-div, 
.desc-container {
  flex: 1 1 45%;  
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
}

/* Keys styling */
.keys {
  display: flex;
  justify-content: space-between;
  /* padding: 5px 0; */
  border-bottom: 1px solid #ddd;
}

.key {
  font-weight: bold;
}
.keys:hover{
  background-color: #b2c4ad;
  color: white;
}
.value {
  text-align: right;
}

/* Responsive: stack in column on small screens */
@media (max-width: 768px) {
  .specification-container {
    flex-direction: column;
  }

  .specs-div,
  .desc-container {
    flex: 1 1 100%;
  }
}
