/* Popup Background */
.enquiry-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
/*     background-color: rgba(0,0,0,0.6); */
}

/* Popup Box */
.enquiry-modal-content {
    background: #fff;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    gap: 30px;
    max-width: 750px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    position: relative;
}

/* Left Section */
.enquiry-left {
    flex: 1;
    text-align: center;
}
.enquiry-left img {
    width: 100%;
    border-radius: 10px;
}
.enquiry-left h3 {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
}

/* Right Section */
.enquiry-right {
    flex: 1;
}
.enquiry-right h2 {
    background: #d84a1b;
    color: white;
    padding: 10px 15px;
    font-size: 18px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 15px;
}

/* Close Button */
.enquiry-close {
    position: absolute;
    top: -7px;
    right: 10px;
    color: #333;
    font-size: 28px;
    cursor: pointer;
    font-weight: bold;
}
@media (max-width: 991px){
	#certificateModal .enquiry-modal-content {
    width: 95% !important;
	height: 110vh !important;
	}
}
@media (max-width: 768px) {
    .enquiry-modal-content {
        flex-direction: column;
        width: 90%;
    }
	.product-actions.mt-3 {
    flex-direction: column;
	}
	#certificateModal .enquiry-modal-content {
    width: 95% !important;
	height: 110vh !important;
	}
}
.center-hdng{
	position: relative;
	text-align: center;
    font-size: 36px;
    width: fit-content;
    margin: 0 auto;
}
.center-hdng:before {
    content: "";
    display: block;
    width: 130px;
    height: 3px;
    background: #ea4b00;
    margin-top: 10px;
    margin-left: 20px;
    bottom: 0;
    left: 0;
    position: absolute;
}

/* Onion Products page */

.onion-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
.onion-product-card {
    background: #3333330d;
    padding: 20px;
    border-radius: 5px;
	height: 100%;
}
h2.onion-title a {
    color: #000;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 500;
}
.onion-product-image img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 5px;
}
.onion-title{
	margin-top: 10px;
}
.secondary-container {
    padding: 60px 0px;
}
.onion-product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50%;
}

.onion-products-grid {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.onion-product-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.onion-product-card:nth-child(1) { animation-delay: 0.1s; }
.onion-product-card:nth-child(2) { animation-delay: 0.2s; }
.onion-product-card:nth-child(3) { animation-delay: 0.3s; }
.onion-product-card:nth-child(4) { animation-delay: 0.4s; }
/* continue pattern if you expect more cards */



/* Single Onion */

.onion-single {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 60px;
}

.onion-single-image img {
  max-width: 400px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.onion-single-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;	
}

.btn {
  background: #0082B3;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background: #006d99;
}

/* Carousel cards */
.onion-products-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.product-card {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
}
.onion-single-wrapper {
    display: flex
;
    gap: 10px;
    justify-content: space-around;
}
.onion-single-description {
    text-align: left;
	margin-left: -100px;
}
/* img.sngl-pg-img {
    box-shadow: 0px 0px 5px #33333317;
    padding: 10px;
    width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
} */
img.sngl-pg-img {
/*     box-shadow: 2px 2px 5px #33333317; */
/*     padding: 10px; */
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
}
.dynamic-data-container td.data.p7px {
    border: 1px solid #33333326;
}
.dynamic-data-container {
    border: 2px solid #00000024;
    border-radius: 10px;
}
p.mt10px {
    border-bottom: 1px solid #33333338;
    line-height: 2.3;
}
.main-wrapper {
    background: #fafafa;
    border-radius: 10px;
    padding: 25px 20px;
}
section.product-details-enquiry.container h2 {
    text-align: center;
	font-weight: 600;
}
section.product-details-enquiry.container span {
    color: #ea4b00;
}
div#wpcf7-f403-o1 {
    width: 70%;
    margin: 0 auto;
}
section.explore-products.container {
    margin: 60px auto;
}
section.explore-products.container h2 {
    text-align: center;
}
.product-card img {
    width: 200px;
    border-radius: 5px;
    height: 200px;
    object-fit: cover;
}
.product-card h3 {
    color: #d84a1b;
    font-size: 17px;
    font-weight: 600;
    margin-top: 20px;
}
.products-grid {
    display: grid
;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 35px;
	border-radius: 5px;
}
.product-item {
    background: #f6f7ee;
    padding: 10px;
/* 	width: 430px; */
	border-radius: 10px;
	box-shadow: 0 0 10px 0 #8080804a;
}
.product-item h2 {
    color: var(--primary);
    margin-top: 15px;
	text-align: center;
	font-size: 20px;
}
.product-item img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 5px;
}
main.custom-products-archive {
    padding: 60px 30px;
}
main.custom-products-archive h1 {
    color: #333;
    text-align: center;
    font-size: 38px;
    margin-bottom: 35px;
}
.product-item:hover {
    background: #ea4b0021;
    transition: 0.3s 
ease-in-out;
    transform: translateY(-5px);
}
section.custom-single.container {
    padding-top: 30px;
    padding-bottom: 30px;
}
.custom-single-wrapper {
    display: flex;
    justify-content: center;
	gap: 50px;
}
.container.my-4 li {
    position: relative;
    padding-left: 30px;
}
.container.my-4 li:before {
    content: "»";
    position: absolute;
    left: 5px;
    top: 45%;
    transform: translateY(-50%);
    font-size: 21px;
    color: #000;
}
.dynamic-data-container {
    width: 1050px;
    overflow-x: auto;
}

@media (max-width: 768px){
	.dynamic-data-container {
    width: 100%;
    overflow-x: auto;
}
	.main-wrapper{
	padding: 0px;	
	}	
}

.view-certificate-btn {
    background: #444;
    color: #fff;
    padding: 10px 18px;
    border-radius: 45px;
    cursor: pointer;
}

.certificate-viewer {
    text-align: center;
    width: 100%;
}
#certificateModal .enquiry-modal-content {
    width: 65% !important;
    max-width: 100% !important;
    height: 100vh !important;
    padding: 15;
    border-radius: 10px;
}

/* For PDF iframe full size */
#certificatePDF {
    width: 100% !important;
    height: 95vh !important;
    border: none !important;
}
div#certificateModal {
    top: -35px;
}
/* For image certificates (if any) */
#certificateImage {
    max-width: 100% !important;
    height: auto;
}