/* GMD Color Overrides */
.site-navbar:not(.is-sticky) { background-color: #1b2032 !important; }

.product-hero { background:#f9fafb; padding:150px 0 60px 0; border-bottom:1px solid #e5e7eb; }
.product-img-box { background:#fff; border:1px solid #f0f0f0; border-radius:16px; padding:30px; text-align:center; height:100%; display:flex; align-items:center; justify-content:center; }
.product-img-box img { max-width:100%; max-height:480px; object-fit:contain; }
.product-meta { padding-top:20px; }
.cat-badge { background:#1b2032; color:#fff; font-size:12px; font-weight:700; padding:6px 14px; border-radius:20px; text-transform:uppercase; letter-spacing:1px; display:inline-block; margin-bottom:15px; }
.product-title { font-size:36px; font-weight:700; color:#1b2032; margin-bottom:20px; line-height:1.3; }
.product-short-desc { font-size:16px; color:#555; line-height:1.7; margin-bottom:30px; }
.specs-table { width:100%; border-collapse:collapse; background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 4px 15px rgba(0,0,0,.04); }
.specs-table th, .specs-table td { padding:14px 20px; border-bottom:1px solid #f0f0f0; text-align:left; font-size:14px; }
.specs-table th { background:#f9fafb; font-weight:600; color:#1b2032; width:35%; }
.specs-table td { color:#666; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom:none; }
.contact-btn { display:inline-block; background:#8cc63f; color:#fff; padding:12px 30px; border-radius:8px; font-size:15px; font-weight:700; text-decoration:none; transition:all .3s; }
.contact-btn:hover { background:#1b2032; color:#fff; }

.product-content-area { padding:30px 0; }
.product-content-area h2, .product-content-area h3 { color:#1b2032; font-weight:700; margin-top:30px; margin-bottom:15px; }
.product-content-area p { font-size:15px; color:#555; line-height:1.8; margin-bottom:20px; }
.product-content-area ul { margin-bottom:20px; padding-left:20px; }
.product-content-area li { margin-bottom:10px; color:#555; font-size:15px; }

#enquireForm .form-control::placeholder {
              color: #a0aec0;
              opacity: 1;
            }
            #enquireForm .form-control:-ms-input-placeholder {
              color: #a0aec0;
            }
            #enquireForm .form-control::-ms-input-placeholder {
              color: #a0aec0;
            }

/* Product Gallery Thumbnails */
.product-gallery-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}
.product-gallery-thumbnails .thumb-wrapper {
  width: 70px;
  height: 70px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  padding: 2px;
  transition: all 0.2s ease-in-out;
}
.product-gallery-thumbnails .thumb-wrapper:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}
.product-gallery-thumbnails .thumb-wrapper.active {
  border-color: #8cc63f;
  box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.2);
}
.product-gallery-thumbnails .thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Slider container and track for Models */
.slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0 10px 0;
}
.slider-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}
.slider-container .model-glass-card {
  width: calc(33.333% - 20px);
  margin: 0 10px;
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  white-space: normal;
}
.slider-container .model-glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.model-glass-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1b2032;
  margin-bottom: 8px;
}
.model-desc {
  font-size: 13.5px;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
  position: relative;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-sizing: border-box;
}
.model-desc.collapsed {
  max-height: 200px;
  overflow: hidden;
}
.model-desc.expanded {
  max-height: 1000px; /* High enough to fit long text but allows animation */
}
.model-desc.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.model-desc.expanded::after {
  opacity: 0;
}

.read-more-btn {
  display: block;
  background: none;
  border: none;
  color: #8cc63f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-top: 10px;
  transition: color 0.2s ease;
  text-align: left;
}
.read-more-btn:hover {
  color: #1b2032;
  text-decoration: underline;
}
.model-desc p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 8px;
}
.model-desc p:last-child {
  margin-bottom: 0;
}
.model-desc ul {
  margin: 10px 0;
  padding-left: 20px !important;
  list-style-type: disc !important;
}
.model-desc li {
  margin-bottom: 6px;
  font-size: 13px;
  color: #555;
  display: list-item !important;
  list-style-type: disc !important;
}
.model-desc li:last-child {
  margin-bottom: 0;
}

/* Tables inside model description */
.model-desc table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 12.5px;
  line-height: 1.4;
}
.model-desc table th, .model-desc table td {
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  text-align: left;
}
.model-desc table th {
  background: #f8fafc;
  font-weight: 600;
  color: #1b2032;
}

/* Slider Dots Pagination */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.slider-dots .dot.active {
  background: #8cc63f;
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.2);
}

@media (max-width: 991px) {
  .slider-container .model-glass-card {
    width: calc(50% - 20px);
  }
}
@media (max-width: 768px) {
  .slider-container .model-glass-card {
    width: calc(100% - 20px);
    padding: 20px;
    min-height: auto;
  }
}