/*
Theme Name: Neve Child
Author: Anil Patil 
Template: neve
Version: 1.0
*/


/* Card Container */
.product-card {
    background: #ffffff;
    border-radius: 8px; /* Modern cards mein 8-10px perfect hota hai */
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Soft aur simple shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e1e1;
    position: relative;
}

/* IMAGE FIX: Responsive aur clear display */
.product-card img {
    width: 100%;
    height: auto; 
    aspect-ratio: 1 / 1; /* Square ratio e-commerce ke liye standard hai */
    object-fit: cover; /* "Contain" se behtar "Cover" lagta hai agar images consistent hain */
    background: #f9f9f9; 
    display: block;
    transition: transform 0.5s ease;
}

/* Hover Effect */
.product-card:hover {
    transform: translateY(-10px); /* Zyada jump nahi, subtle movement */
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-color: #D4373C; /* IndiaMart Red accent on hover */
}

.product-card:hover img {
    transform: scale(1.08); /* Zoom effect smooth rakha hai */
}

/* Extra Touch: Card Body */
.product-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
	flex-grow: 1;
	display: flex;
    line-height: 1.4;
}


.product-category, .product-title {
  padding: 10px 20px;
}

.product-category {
  padding-bottom: 0;
}

.product-category a {
  display: inline-block;
  background: #f0f3ff;
  color: #4a5bbd !important;
  font-size: 10px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
}


.main-image img {
  transition: opacity 0.3s ease;
}

.thumbs img.active-thumb {
  border: 2px solid #0073e6;
}

.product-container {
    display: flex;
	flex-grow: 1;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-images { flex: 1; min-width: 300px; }
.product-details { flex: 1; min-width: 300px; }

/* LEFT SIDE IMAGE */
.product-images {
  width: 35%;
}

.main-image {
  border: 1px solid #ddd;
  padding: 10px;
  background: #fff;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: opacity 0.3s;
}

/* THUMBNAILS */
.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid #eee;
    cursor: pointer;
    border-radius: 4px;
}

.thumbs img.active-thumb { border-color: #4a5bbd; }

/* Product Info */
.product-details h1 { font-size: 28px; margin-bottom: 10px; color: #222; }
.price { font-size: 24px; color: #d32f2f; font-weight: bold; margin: 15px 0; }

/* Buttons */
.call-btn, .price-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
    border: none;
}

.call-btn, .price-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px; 
    padding: 10px 20px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.call-btn i, .price-btn i {
    font-size: 1.2em; 
}

.call-btn {
    background: #00a699;
    color: #fff;
}

.call-btn:hover {
    color: #fff;
}

.call-btn:hover i {
    transform: rotate(15deg);
}

/* RELATED PRODUCTS (Grid Fix) */
.related-products {
    width: 100%;
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.related-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.related-item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 10px;
}

.related-item h4 {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
    height: 40px; /* Title alignment */
    overflow: hidden;
}

.related-item .price { font-size: 18px; margin: 5px 0; }

/* Popup Styling */
.popup {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center; align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    position: relative;
}

.popup-content input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-container { flex-direction: column; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* POPUP */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: #fff;
  padding: 25px;
  width: 350px;
  border-radius: 6px;
}

.popup-content h3 {
  margin-bottom: 15px;
}

.popup-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
}

.popup-content button {
  width: 100%;
  padding: 10px;
  background: #0073e6;
  color: #fff;
  border: none;
}

.close {
  float: right;
  font-size: 20px;
  cursor: pointer;
}
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* BOX */
.popup-content {
  background: #fff;
  width: 380px;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

/* CLOSE */
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* PRODUCT TOP */
.popup-product {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: center;
}

.popup-product img {
  width: 60px;
  height: 60px;
  border: 1px solid #ddd;
  padding: 5px;
}

.popup-product h4 {
  margin: 0;
  font-size: 16px;
}

.popup-price {
  color: #0073e6;
  font-size: 14px;
}

/* TITLE */
.popup-content h3 {
  margin: 10px 0;
}

/* INPUT */
.popup-content input {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* BUTTON */
.popup-content button {
  width: 100%;
  padding: 12px;
  background: #00a699;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
}

/* ANIMATION */
@keyframes fadeIn {
  from {transform: scale(0.9); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.product-description {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.product-description strong {
  font-weight: 600;
}

.product-description ul {
  margin-top: 10px;
  padding-left: 18px;
}

.product-list-container {
  max-width: 1200px;
  margin: auto;
}

.product-row {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
}

/* IMAGE */
.product-img img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
}

/* RIGHT SIDE */
.product-info {
  flex: 1;
}

/* TITLE */
.product-title {
  font-size: 20px;
  margin-bottom: 5px;
}

.product-title a {
  text-decoration: none;
  color: #222;
}

/* PRICE */
.product-price {
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

.product-price .moq {
  color: #555;
  margin-left: 10px;
}

/* TABLE */
.product-specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

.product-specs td {
  padding: 6px 10px;
  border: 1px solid #eee;
  font-size: 14px;
}

/* DESC */
.product-desc {
  font-size: 14px;
  color: #444;
}

/* BUTTON */
.btn-enquiry {
  display: inline-block;
  margin-top: 10px;
  background: #2e7d32;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
}

.btn-enquiry:hover {
  background: #256620;
  color: #fff;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: #fff;
  width: 700px;
  display: flex;
  border-radius: 10px;
  overflow: hidden;
}

/* LEFT */
.popup-left {
  width: 40%;
  padding: 20px;
  border-right: 1px solid #eee;
}

.popup-left img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

/* RIGHT */
.popup-right {
  width: 60%;
  padding: 20px;
}

.popup-right input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.submit-btn {
  margin-top: 15px;
  width: 100%;
  background: #2e7d32;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

/* CLOSE */
.close-popup {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

.vk-footer {
  background: #f8f8f8;
  padding: 40px 20px;
  font-family: Arial;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #444;
}

.footer-logo {
  margin-bottom: 15px;
}

.newsletter-box {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.newsletter-box input {
  flex: 1;
  padding: 10px;
  border: none;
}

.newsletter-box button {
  background: #888;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #666;
}

.vk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.vk-icon {
  font-size: 18px;
  color: #555;
  margin-top: 3px;
}

.vk-item strong {
  font-size: 15px;
  color: #222;
}

.vk-item p {
  font-size: 13px;
  color: #777;
  margin: 2px 0 0;
  line-height: 1.5;
}


@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }
}


@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 30px;
  }

  .vk-footer {
    padding: 30px 15px;
  }

  .footer-logo img {
    max-width: 150px;
  }
}


/* Contact Form 7 */
.wpcf7-form {
    max-width: 100% !important;
    margin: 0 auto;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 15px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

@media (max-width: 600px) {
    .wpcf7-submit {
        width: 100%;
        padding: 15px;
    }
}

.category-title {
  font-size: 32px;
  font-weight: 700;
  margin: 20px auto;
  max-width: 1200px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #3f2b96;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #2e1f73;
}

.zoom-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.zoom-popup img {
  max-width: 90%;
  max-height: 90%;
}

.zoom-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.vk-quote-btn {
    display: block;
    width: 100%;
    background: #1d8480;
    color: #ffffff !important;
    padding: 10px 15px;
    border-radius: 4px; 
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border: 1px solid #D4373C;
    transition: background 0.2s ease-in-out;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
	margin-top: auto;
}

.vk-quote-btn:hover {
    background: #b92d32;
    border-color: #b92d32;
    color: #ffffff !important;
    text-decoration: none;
}