
/* ==========================================================================
   HTekCNC Core & Product Design System (Rock-solid Standard CSS)
   ========================================================================== */

/* Base & Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
  background-color: #FAF9F6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* 2-Column Product Detail Layout */
.product-detail-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px 60px 16px;
  width: 100%;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Video Showcase Box (Dark Navy Background) */
.video-showcase-wrapper {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 28px;
}

.video-dark-box {
  background: #0f172a !important;
  background: linear-gradient(145deg, #0b1329 0%, #1e293b 100%) !important;
  border-radius: 18px !important;
  min-height: 380px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  color: #ffffff !important;
  padding: 32px 20px !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6) !important;
  position: relative;
  overflow: hidden;
}

.video-dark-box h3 {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  margin: 0 0 10px 0 !important;
  letter-spacing: -0.5px;
}

.video-dark-box p {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  margin: 0 auto 20px auto !important;
  max-width: 480px;
  line-height: 1.5;
}

.play-circle-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  border: 1.5px solid rgba(52, 211, 153, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  margin: 0 auto 16px auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.play-circle-btn:hover {
  transform: scale(1.12);
  background: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.45);
}

/* Sticky Sidebar Purchase Card */
.sticky-purchase-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  padding: 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  position: sticky !important;
  top: 96px !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sticky-purchase-card .tag-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sticky-purchase-card h1 {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.sticky-purchase-card .short-desc {
  color: #64748b;
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

.price-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.price-val {
  font-size: 22px;
  font-weight: 900;
  color: #487057;
}

.discount-pill {
  background: #487057;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
}

/* Homepage Banner Slider Grid */
.home-banner-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  margin-bottom: 40px;
}

.home-banner-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .home-banner-grid {
    grid-template-columns: 1fr !important;
  }
}

.main-slider-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  height: 440px;
  background: #0f172a;
}

@media (max-width: 768px) {
  .main-slider-card {
    height: 240px;
  }
}

.main-slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.main-slider-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.main-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-banners-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 440px;
}

@media (max-width: 900px) {
  .side-banners-stack {
    height: auto;
    flex-direction: row;
  }
}

@media (max-width: 600px) {
  .side-banners-stack {
    flex-direction: column;
  }
}

.side-banner-card {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  min-height: 200px;
}

.side-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Contact Buttons */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .floating-contact {
    bottom: 80px;
    right: 12px;
    gap: 10px;
  }
  .floating-contact .group > span.whitespace-nowrap,
  .floating-contact span[class*="right-14"],
  .floating-contact [class*="origin-right"] {
    display: none !important;
  }
}

