/* Gradient Text */
.gradient-text {
  background: #6D4C41;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: center;
}

/* Layout & Section */
.product-post {
  padding: 60px 20px;
  background: #f9f9fb;
  font-family: 'Segoe UI', sans-serif;
  
}

 


.magnifier-container {
  position: relative;
  width: 450px;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ccc;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magnifier-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

/* Magnifier */
#magnifier {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid rgba(0, 153, 255, 0.6);
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 300%;
  background-position: center;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 10;
}

/* Product Details */
.post-details {
  flex: 1;
  min-width: 300px;
}

.post-details h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.product-subtitle {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 20px;
  text-align: center;
}

.product-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-inquire {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.whatsapp-btn {
  background: linear-gradient(45deg, #25D366, #128C7E);
  color: #fff;
}

.whatsapp-btn:hover {
  background: linear-gradient(45deg, #128C7E, #25D366);
  transform: scale(1.05);
}

.email-btn {
  background: linear-gradient(45deg, #ffcc80, #ffa726);
  color: #fff;
}

.email-btn:hover {
  background: linear-gradient(45deg, #ffa726, #fb8c00);
  transform: scale(1.05);
}

.product-specs {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
  font-size: 0.95rem;
  color: #444;
}

.product-specs li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.product-specs li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: green;
  font-size: 0.9rem;
}

.featured-bridles {
  background: linear-gradient(to right, #f1f8e9, #e0f7fa);
  padding: 60px 20px;
  text-align: center;
}

.featured-title {
  font-size: 2.2rem;
  color: #004d40;
  margin-bottom: 40px;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  display: inline-block;
}

.featured-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background-color: #004d40;
  margin: 10px auto 0;
  border-radius: 2px;
}

.bridle-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.bridle-feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bridle-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.bridle-feature-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 8px;
}

.bridle-feature-card h3 {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  text-transform: capitalize;
  margin: 0;
}

.image-column {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.thumbnail-column {
  flex-direction: column;
  gap: 15px;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid #ddd;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.thumbnail-column img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #ccc;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.thumbnail-column img:hover,
.thumbnail-column img.active {
  border: 2px solid #0099ff;
  box-shadow: 0 4px 12px rgba(0, 153, 255, 0.2);
  transform: scale(1.05);
}



.post-container {
  width: 90%;
  max-width: 100%px;
  margin: auto;
  display: flex;
  gap: 40px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid #ddd;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  padding: 40px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 768px) {
  .post-container {
    width: 100%;
    padding: 20px;
  }
}


 /* ========== description description-card ========== */
 
.full-description {
  max-width: 95%;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.description-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.highlight {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}

h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

p {
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

.feature-list {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #4ecdc4;
  margin: 20px 0;
}

.feature-list li {
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 500;
}

strong {
  color: #2c3e50;
}
/* ========== MOBILE RESPONSIVE FIXES ========== */

@media (max-width: 768px) {
  .image-column {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .thumbnail-column {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 10px;
    padding: 8px;
  }

  .thumbnail-column img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
  } 

  .magnifier-container {
    width: 100%;
    height: 550px;
    
  }

  .magnifier-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .post-container {
    padding: 16px;
  }

  .post-details {
    text-align: center;
  }
}


@media (max-width: 600px) {
  .btn-group {
    flex-direction: column;
    gap: 10px;
  }

  .btn-inquire {
    width: 100%;
    max-width: 300px;
  }

  .btn-or {
    display: none;
  }

  .bridle-feature-card img {
    height: 120px;
  }

  .featured-title {
    font-size: 1.6rem;
  }

}




/*....main image popup......../




/* Main image button styles - moved outside media query to apply to all screen sizes */
.main-image-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.main-image-button {
  display: inline-block;
  padding: 16px 40px;
  margin: 24px auto 0;
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(270deg, #42d392, #4ADEDE, #7873f5, #ff6ec4);
  background-size: 600% 600%;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: animatedGradient 8s ease infinite;
  transition: all 0.3s ease;
}

@keyframes animatedGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.main-image-button:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.main-image-button:active {
  transform: scale(0.96);
}


/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .magnifier-container {
    height: 400px;
  }
  
  .main-image-button {
    font-size: 1rem;
    padding: 12px 28px;
  }
}


.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  display: flex;
  opacity: 1;
  justify-content: center;
  align-items: center;
  
}

.modal-content {
  position: relative;
  width: 120vw;   /* Full screen width */
  height: 90vh;  /* Full screen height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;  /* Vertically center the image */
  animation: modalOpen 0.3s ease;
  padding: 0;   /* Remove padding if any */
  margin: 0;
}

@keyframes modalOpen {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Update your existing .image-container class */
.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border-radius: 0;  /* Remove rounded corners for edge-to-edge image */
}


.image-container:active {
  cursor: grabbing;
}

/* Update your existing #modalImage styles */
.modal-image {
  width: 100%;    /* Full width */
  height: 100%;   /* Full height */
  object-fit: contain;  /* Prevent distortion */
  max-width: none;  /* Remove limits */
  max-height: none;
}

/* Control Bar */
.control-bar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  z-index: 10001;
}

.control-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 16px;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.control-btn:active {
  transform: scale(0.95);
}

/* Update your existing .close-btn class */
.close-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  background: brown;
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  z-index: 10001;
}

.close-btn:hover {
  background: yellow;
  transform: scale(1.1);
}

/* Zoom Indicator */
.zoom-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  backdrop-filter: blur(10px);
  z-index: 10001;
}

/* Loading Spinner */
.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Keyboard shortcuts info */
.shortcuts-info {
  position: fixed;
  bottom: 80px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 12px;
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10001;
}

.shortcuts-info.show {
  opacity: 1;
}

.shortcuts-info h4 {
  margin-bottom: 8px;
  font-size: 14px;
}

.shortcuts-info div {
  margin-bottom: 3px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .control-bar {
    bottom: 20px;
    top: auto;
    flex-wrap: wrap;
    padding: 8px 16px;
  }

  .control-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .close-btn {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .modal-image {
    max-width: 95vw;
    max-height: 80vh;
  }
}

@media (max-width: 768px) {
  .control-bar {
    display: none;
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  max-width: 600px;
  border-radius: 10px;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

