/* Product Overview Cards */
.product-overview { padding: 7rem 0 2rem; background: var(--bg-light); }
.overview-zones {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  align-items: stretch;
}
.category-zone {
  background: var(--bg);
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1.25rem;
  border: 1px solid var(--border);
  flex: 1;
}
.category-zone { flex: 1; }
.category-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-align: center;
}
.overview-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.overview-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.overview-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.overview-card:hover, .overview-card.selected {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.overview-card-img {
  background: linear-gradient(135deg, #f0f4f3, #e8eeec);
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}
.overview-card-img img { max-height: 100%; width: auto; object-fit: contain; }
.overview-card-img.hb-circle {
  position: relative;
}
.overview-card-img.hb-circle::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(185, 246, 242, 0.45);
  bottom: 5%;
  right: 8%;
  z-index: 0;
  filter: blur(14px);
}
.overview-card-img.hb-circle img {
  position: relative;
  z-index: 1;
}
.overview-card-body { padding: 1rem; }
.overview-card-body h3 { font-size: 0.85rem; color: var(--primary); margin-bottom: 0.25rem; }
.overview-card-body span { font-size: 0.7rem; color: var(--accent); font-weight: 600; }
.card-range { font-size: 0.85rem; font-weight: 700; color: var(--primary); margin-top: 0.4rem; letter-spacing: -0.01em; }
.card-price {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  transition: max-height 0.3s ease, opacity 0.25s ease, padding-top 0.3s ease;
  padding-top: 0;
}
.overview-card:hover .card-price {
  max-height: 2rem;
  opacity: 1;
  padding-top: 0.4rem;
}
.img-placeholder {
  width: 100px; height: 70px; background: #ddd; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 0.6rem; font-weight: 600; text-align: center; line-height: 1.3;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-white);
  font-family: var(--font-main);
  transition: border-color 0.2s;
}
.lang-btn:hover { border-color: var(--text-white); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  min-width: 110px;
  z-index: 1100;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-main);
  color: var(--text);
}
.lang-option:hover { background: var(--bg-light); }
.lang-option.active { color: var(--accent); font-weight: 700; }

/* Sticky Quote Bar */
.sticky-quote-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1.5px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  z-index: 900;
  padding: 0.9rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sticky-quote-bar.visible {
  opacity: 1;
  pointer-events: auto;
}
.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.sticky-bar-name {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.sticky-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}
.sticky-bar-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.sticky-bar-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.sticky-bar-price.is-inquiry {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}
.sticky-bar-note {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}
.sticky-bar-btn {
  background: #0071E3;
  color: #fff;
  padding: 1rem 2.8rem;
  border-radius: 10px;
  border: none;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}
.sticky-bar-btn:hover {
  background: #005bb5;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,113,227,0.35);
}

/* Datasheet button (next to product title) */
.btn-datasheet {
  display: inline-block;
  padding: 0.28rem 0.85rem;
  border: 1.5px solid #d0d0d0;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  background: transparent;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: var(--font-main);
  vertical-align: middle;
}
.btn-datasheet:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-datasheet.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  color: #b0b0b0;
  border-color: #d0d0d0;
}

/* Hummingbird sub-navigation bar */
.hb-sub-nav {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  display: flex;
  justify-content: center;
}
.hb-sub-nav.hidden { display: none; }

/* Hummingbird version toggle — same Apple style as Falcon */
.hb-version-toggle {
  display: inline-flex;
  position: relative;
  background: rgba(0,0,0,0.07);
  border-radius: 18px;
  padding: 5px;
  gap: 4px;
}
.hb-toggle-indicator {
  position: absolute;
  top: 5px;
  left: 5px;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.14), 0 0.5px 1px rgba(0,0,0,0.08);
  transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1), width 0.28s cubic-bezier(0.34, 1.2, 0.64, 1), height 0.28s ease;
  pointer-events: none;
  z-index: 0;
}
.hb-ver-btn {
  position: relative;
  z-index: 1;
  padding: 0.55rem 1.7rem;
  border-radius: 14px;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-light);
  font-family: var(--font-main);
  transition: color 0.18s ease;
  letter-spacing: 0.01em;
}
.hb-ver-btn.active {
  color: var(--primary);
}
.hb-ver-btn:hover:not(.active) {
  color: var(--primary);
}

/* Falcon sub-navigation bar */
.falcon-sub-nav {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  transition: opacity 0.2s;
}
.falcon-sub-nav.hidden {
  display: none;
}

/* Falcon segmented control (Apple style) */
.falcon-toggle {
  display: inline-flex;
  position: relative;
  background: rgba(0,0,0,0.07);
  border-radius: 18px;
  padding: 5px;
  gap: 4px;
}
.falcon-toggle-indicator {
  position: absolute;
  top: 5px;
  left: 5px;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.14), 0 0.5px 1px rgba(0,0,0,0.08);
  transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1), width 0.28s cubic-bezier(0.34, 1.2, 0.64, 1), height 0.28s ease;
  pointer-events: none;
  z-index: 0;
}
.falcon-ver-btn {
  position: relative;
  z-index: 1;
  padding: 0.55rem 1.7rem;
  border-radius: 14px;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-light);
  font-family: var(--font-main);
  transition: color 0.18s ease;
  letter-spacing: 0.01em;
}
.falcon-ver-btn.active {
  color: var(--primary);
}
.falcon-ver-btn:hover:not(.active) {
  color: var(--primary);
}

/* Falcon detail page image container */
.falcon-detail-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hummingbird detail page image with circle decoration */
.hb-detail-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hb-detail-img::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(185, 246, 242, 0.45);
  bottom: 5%;
  right: 8%;
  z-index: 0;
  filter: blur(14px);
}
.hb-detail-img img {
  position: relative;
  z-index: 1;
  max-width: 35%;
  height: auto;
}

/* Quote Modal */
.quote-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.quote-overlay.active { display: flex; }
.quote-modal {
  background: var(--bg);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}
.quote-modal h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.quote-modal .quote-product {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.quote-modal .form-group { margin-bottom: 1rem; }
.quote-modal .form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.quote-modal .form-group input,
.quote-modal .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.quote-modal .form-group input:focus,
.quote-modal .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(78,205,196,0.1);
}
.quote-modal textarea { resize: vertical; min-height: 80px; }
.quote-modal .btn-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
.quote-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}
.quote-close:hover { color: var(--text); }

/* Product Price Display */
.product-price {
  margin-top: 1.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.product-price .price-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-price .price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.product-price .price-inquiry {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
}
.product-price .price-note {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.4rem;
}

/* Quote button style */
.btn-quote {
  background: var(--primary);
  color: var(--text-white);
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-quote:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(10,46,26,0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .overview-zones { flex-direction: column; }
  .category-zone:first-child,
  .category-zone:last-child { flex: unset; }
  .overview-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
  .overview-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
}

@media (max-width: 600px) {
  .overview-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .overview-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .overview-card-img { height: 110px; padding: 0.75rem; }
  .overview-card-body { padding: 0.75rem; }
  .overview-card-body h3 { font-size: 0.8rem; }
  .card-price {
    max-height: 2rem;
    opacity: 1;
    padding-top: 0.4rem;
  }

  .sticky-quote-bar { padding: 0.7rem 0; }
  .sticky-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .sticky-bar-name { font-size: 1.3rem; text-align: center; }
  .sticky-bar-right {
    width: 100%;
    gap: 1rem;
  }
  .sticky-bar-price-wrap { align-items: flex-start; }
  .sticky-bar-price { font-size: 1.1rem; }
  .sticky-bar-btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    font-size: 0.92rem;
  }

  .product-detail table { font-size: 0.82rem !important; }
  .product-detail table td { padding: 0.6rem 0 !important; }
}
