:root {
    --font_color: #000000;
    --head_bg: #410A70;
    --font_style:"Inter", sans-serif;
    --logo_color: green;
    --head_font_color: rgb(70, 129, 70);
}


/* ===== Container for equal spacing ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* equal left & right spacing */
}

/* ===== Header ===== */
header {
    text-align: center;
    /* background-color: var(--head_bg); */
    padding: 10px 0;
    /* color: var(--head_font_color); */
}

header span {
    color: var(--logo_color);
    font-weight: bolder;
}

.header_text {
    position: relative;
    top: -90px;
    opacity: 0;
    animation: revealText 0.9s ease-out forwards;
}

@keyframes revealText {
    0% { top: -80px; opacity: 0; }
    100% { top: 0; opacity: 1; }
}

/* ===== Product Section ===== */


/*.product-labels{*/
/*  height: 40px;*/
/*  padding: 20px 0px;*/
/*  width: 100%;*/
/*}*/

.product-labels:empty {
    height: 0;
    padding: 0;
}

.product-labels {
    height: 40px;
    padding: 20px 0;
    width: 100%;
}



/*main*/
.wrapper {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}


.section-prod {
  display: flex;
  gap: 3px;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 0px;
}

.product-page {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 50px;
  padding: 40px 20px;
}

.product-images {
  display: flex;
  gap: 20px;
  width: 50%;
}


/* 🖼️ Left Side – Image & Thumbnails */
.box-img {
  display: flex;
  gap: 15px;
  width: 54%;
  /* min-width: 320px; */
  overflow: hidden;
}



.main-image {
  flex: 1;
  border-radius: 14px;
  background: #db0000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#img-main {
  /* max-width: 100%;
  max-height: 100%; */
  /* height: 399px; */
  /* object-fit: contain; */
}

.abt_pro.active{
  display: block;
}

.abt_pro{
  display: none;
}

/* Thumbnail Row */
.row-thumbs {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 500px;
  overflow-y: auto;
}

.row-thumbs::-webkit-scrollbar{
  display: none;
}


.thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumb {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}

.thumb:hover {
  border-color: #000;
  transform: scale(1.05);
}


.thumb-img {
  width: 90%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  cursor: pointer;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0px;
  transition: border 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.thumb-img:hover,
.thumb-img.active {
  border-color: #000;
  transform: scale(1.0  );
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* 🧾 Right Side – Info Box */
.box-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  /* background: #ffffff; */
  border-radius: 12px;
  padding: 0px 30px;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); */
  box-sizing: border-box;
}

.title-prod {
  font-size:20px;
  font-weight: 400;
  color: #222;
  margin-bottom: 10px;
}

.desc-prod {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.price-prod {
  font-size: 1.4rem;
  font-weight: 400;
  color: #111;
  /* margin-bottom: 25px; */
}

.price_sec{
  display:grid;
  grid-template-columns: 120px auto;
  gap: 2px;
}

.mrp-prod{
  font-size: 1.2rem;
  font-weight: 300;
  color: #ec2828;
  text-decoration: line-through;
  /* margin-top: 1.5rem; */
  /* margin-bottom: 2px; */
}
/* 💡 Responsive Adjustments */
@media (max-width: 1074px) {
  .section-prod {
    flex-direction: column;
    gap: 25px;
    padding: 25px 15px;
    justify-content: center;
    align-items: center;
  }

  .box-info, .box-img {
    width: 90%;
  }
  .box-img{
    flex-direction: column;
  }
  .row-thumbs{
    flex-direction: row;
    flex: 0 0;
    width: 100%;
  }
  .thumb-img{
    height: 50px;
  }
  .main_img{
    /* justify-content: center;
    justify-items: center;
    justify-self: center;
    align-items: center;
    align-content:center; */
    text-align: center;
  }
  #img-main {
    height: 209px;
  }
  .row-btn{
    flex-direction: column;
  }
  .btns_first{
    /* background-color: red; */
  }
   .contact-cta-section {
    padding: 25px 0px;
  }
  .price_sec {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }
  
}

@media (min-width:700px) and (max-width: 1074px) {
    #img-main {
      height: 509px;
    }
}


/* Action Row */
.row-action {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  max-width: 260px;
  gap: 30px;
  margin-bottom: 15px;
}

.input-qty {
  width: 60px;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Wishlist */
.btn-fav {
  display: grid;
  grid-template-columns: 35px 159px;
  align-items: center;
  gap: 0px;
  cursor: pointer;
  font-size: 1rem;
  color: #2b2b1f;
  user-select: none;
}

.icon-fav {
  width: 24px;
  height: 24px;
}

.path-fav {
  fill: none;
  stroke: #410A70;
  stroke-width: 2;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.btn-fav.active .path-fav {
  fill: #410A70;
  stroke: #410A70;
}

/* Buttons */
.row-btn {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-cart,
.btn-buy {
  padding: 10px 20px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.btn-cart {
  background-color: white;
  color: #000000;
  border:  2px solid black;
}

.btn-cart:hover {
    border: 2px solid #fff;
  background-color: #410A70;
  color: white;
}

.btn-buy {
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
}

.btn-buy:hover {
  background-color: #410A70;
  color: #ffffff;
}

/* Shipping Info */
.info-ship p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.info-ship a {
  text-decoration: underline;
  color: #333;
}

/* Accordion */
.accordion-sec {
  margin-top: 0px;
  border-top: 1px solid #ddd;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.accordion-title {
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  padding: 10px 0;
}

.accordion-title::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-title::after {
  content: '−';
}

.accordion-content {
  display: none;
  margin-top: 10px;
  font-size: 0.95rem;
  color: #444;
}

.accordion-item.open .accordion-content {
  display: block;
}

.accordion-content ul {
  padding-left: 20px;
}

.accordion-content li {
  margin-bottom: 8px;
}
/* Reveal Animation */


@keyframes reveal {
  0% {
    left: 0;
    width: 100%;
  }
  100% {
    left: 100%;
    width: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .product-page {
    flex-direction: column;
  }

  .left-side,
  .right-side,
  .third-side {
    width: 100%;
    padding: 1rem;
  }

  .right-side {
    align-items: center;
    text-align: center;
  }

  .accordion {
    max-width: 100%;
  }
}
/*description section*/

/* Description Section */
.desc-sec.active {
  display: block;
  margin-top: 60px;
}

.desc-sec{
  display: none;
}

.desc-sec h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.desc-sec p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #444;
}

.desc-sec ul {
  padding-left: 20px;
}

.desc-sec li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}



/* ===== Product Info Section ===== */
.product-info-section.active {
    display: block;
    max-width: 1200px; /* same as container */
    margin: 2rem auto;
    padding: 20px; /* same spacing as container */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.product-info-section{
  display: none;
}

.product-info-section h2 {
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 1.5rem;
}

.product-info-table {
    width: 100%;
    border-collapse: collapse;
}

.product-info-table td {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: #333;
}

.product-info-table td:first-child {
    font-weight: bold;
    width: 40%;
    color: #444;
}

/* ===== Suggested Products ===== */
/* Base container */
/* ===== Suggested Products Section ===== */
.suggested-products {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
    overflow-x: hidden;
    
}

/* Section title */
.suggested-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 2rem;
    color: #5a4535;
    text-align: left;
    font-weight: 600;
}

/* Product list (scrollable on small screens) */
.product-list {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    justify-content: flex-start;
    flex-wrap: nowrap; /* scroll horizontally by default */
}

.product-list::-webkit-scrollbar {
    display: none;
}

/* Navigation buttons (optional) */
.navs {
    display: flex;
    gap: 1rem;
    justify-content: left;
    margin-top: 1rem;
    padding-bottom: 2rem;
}
.navs div {
    cursor: pointer;
    width: 32px;
    height: 32px;
    background-color: #410A70;
    color: #fff;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}
.navs div:hover {
    background-color: #410A70;
    transform: scale(1.1);
}

/* Product card */
.product-card {
    flex: 0 0 auto;
    width: clamp(160px, 22vw, 250px);
    display: grid;
    grid-template-rows: 280px 50px 50px;
    /* flex-direction: column; */
    align-items: center;
    text-align: left;
    padding: 1rem;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Product title */
.product-card h3 {
    width: 100%;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight: 600;
    color: #000;
    margin: 0.8rem 0 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3em;
    text-overflow: ellipsis;
    white-space: normal;
}

/* Product subtitle / price */
.product-card p {
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    color: #777;
    margin: 0;
    text-align: left;
}


.navigation_btns{
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.buttons{
  cursor: pointer;
  background-color: #000;
  color: white;
  width: 110px;
  text-align: center;
  padding: 9px;
  border-radius: 0.2rem;
}

.buttons.active{
  background-color: #410A70;
  color: white;
}



/* ===== Responsive ===== */
/* @media (max-width: 1024px) {
    .product-list {
        justify-content: flex-start;
        gap: 1rem;
    }
    .product-card {
        width: clamp(140px, 30vw, 200px);
    }
} */

/* @media (max-width: 768px) {
    .product-list {
        gap: 0.8rem;
        padding: 0.5rem 0;
    }
    .product-card {
        width: clamp(150px, 45vw, 200px);
    }
} */

@media (max-width: 480px) {
    .product-list {
        padding: 0.5rem 0;
        gap: 0.5rem;
    }
    .product-card {
        width: 70vw;
        padding: 0.8rem;
    }
    .product-card img {
        max-height: 180px;
    }
    .suggested-title {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
}


.contact-cta-section {
  width: 100%;
  display: flex;
  justify-content: center;   /* center horizontally */
  padding: 40px 0;

}

.contact-cta-section img {
  width: 80%;                /* control width */
  max-width: 1172px;         /* prevent too large on big screens */
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;

}

/* ===== Responsive Fix for Contact Section ===== */
@media (max-width: 991px) {
  /* Stack items vertically */
  .product-cont,
  .contact-cta-section,
  .faq-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 30px 0px;
  }

  .contact-cta-content,
  .contact-cta-image,
  .image-section,
  .details-section {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .contact-cta-image img {
    max-width: 300px;
    margin-top: 20px;
  }

  .contact-cta-content h2 {
    font-size: 1.6rem;
  }

  .bottom_tags_sec {
    flex-direction: column;
    padding: 35px 15px;
    margin: 3rem 0;
  }
}

/* --- Small Phones (max 480px) --- */
@media (max-width: 480px) {
  /* .contact-cta-section {
    padding: 25px 15px;
  } */

  .contact-cta-content h2 {
    font-size: 1.4rem;
  }

  .contact-cta-image img {
    max-width: 250px;
  }

  .thumbnails img {
    width: 60px;
    height: 60px;
  }

  /* .buttons button {
    width: 100%;
    font-size: 0.9rem;
  } */

  .bottom_tags_sec {
    padding: 25px 10px;
    gap: 1rem;
  }
}

/* --- Very Large Screens (2000px+) --- */
@media (min-width: 2000px) {
  .contact-cta-section,
  .bottom_tags_sec,
  .faq-grid,
  .product-cont {
    max-width: 1400px;
    margin: 0 auto;
  }

  .contact-cta-content h2 {
    font-size: 2.2rem;
  }

  .contact-cta-image img {
    max-width: 500px;
  }
}
