html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
}

/* Header Center Logo 尺寸硬性防護 */
.header-center-col img {
  max-height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Hero Section 核心版面防護（確保離線與CDN延遲時排版亦不跑版） */
.hero-banner-section {
  position: relative !important;
  width: 100% !important;
  height: 60vh !important;
  min-height: 480px !important;
  max-height: 600px !important;
  overflow: hidden !important;
  background-color: #1a1a1a !important;
}

.hero-banner-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  pointer-events: none !important;
}

.hero-banner-content {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  pointer-events: none !important;
}

.hero-banner-container {
  width: 100% !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
  padding: 60px 24px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.hero-banner-title-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-left: 8% !important;
}

/* HP Official Logo (純淨無光暈，原廠純粹質感) */
.hero-hp-logo,
.hero-hp-logo-glow {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  filter: none !important;
}

/* ドライブレコーダー 淡淡黑色柔和立體光暈 (文字專屬) */
.hero-hp-text-glow {
  color: #ffffff !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.05em !important;
  white-space: nowrap !important;
  font-size: 42px !important;
  flex-shrink: 0 !important;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7), 0 0 22px rgba(0, 0, 0, 0.45), 0 2px 30px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 767px) {
  .hero-banner-container {
    align-items: center !important;
    padding-top: 48px !important;
  }
  .hero-banner-title-box {
    margin-left: 0 !important;
    gap: 10px !important;
  }
  .hero-hp-logo,
  .hero-hp-logo-glow {
    width: 44px !important;
    height: 44px !important;
  }
  .hero-hp-text-glow {
    font-size: 26px !important;
  }
}

/* ================= P70 旗艦展示區塊原生硬性樣式 (完全自主防護，不依賴外部 CDN) ================= */
#p70-flagship-section,
.hero-p70-section {
  background-color: #024AD8 !important;
  color: #ffffff !important;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 80px 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-p70-container {
  width: 85% !important;
  max-width: 1150px !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: relative !important;
  z-index: 10 !important;
}

.hero-p70-left {
  width: 38% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  color: #ffffff !important;
  z-index: 20 !important;
}

.hero-p70-left h1 {
  color: #ffffff !important;
  font-size: clamp(2.5rem, 6vw, 5.5rem) !important;
  font-weight: 900 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.05em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}

.hero-p70-left h2 {
  color: #ffffff !important;
  font-size: clamp(1.5rem, 3.5vw, 2.75rem) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  text-transform: uppercase !important;
  margin-top: 8px !important;
}

.hero-p70-left p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  margin-top: 28px !important;
}

.hero-p70-left h3 {
  color: #ffffff !important;
  font-size: 1.75rem !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  margin-top: 36px !important;
}

.hero-p70-left a {
  margin-top: 40px !important;
  display: inline-block !important;
  border: 3px solid #ffffff !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  padding: 14px 32px !important;
  border-radius: 9999px !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-align: center !important;
  width: max-content !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.3s ease !important;
}

.hero-p70-left a:hover {
  background-color: transparent !important;
  color: #ffffff !important;
}

.hero-p70-right {
  width: 55% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 10 !important;
}

.hero-p70-right img {
  width: 100% !important;
  max-width: 600px !important;
  object-fit: contain !important;
  transform: scale(1.15) !important;
}

@media (max-width: 767px) {
  #p70-flagship-section,
  .hero-p70-section {
    padding: 60px 16px !important;
  }
  .hero-p70-container {
    flex-direction: column !important;
    gap: 40px !important;
    width: 92% !important;
  }
  .hero-p70-left {
    width: 100% !important;
  }
  .hero-p70-right {
    width: 100% !important;
  }
  .hero-p70-right img {
    transform: scale(1) !important;
  }
}

.shopify-breakout { 
  width: 100vw !important; 
  position: relative; 
  left: 50%; 
  right: 50%; 
  margin-left: -50vw !important; 
  margin-right: -50vw !important; 
  padding-left: 0 !important; 
  padding-right: 0 !important; 
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #383838;
  color: #ffffff;
  font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.site-header a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header a:hover {
  color: #49A4D6;
}

.site-header .header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem !important;
  height: 5rem;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center;
}

.site-header .header-left-col {
  justify-self: start;
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header .header-center-col {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.site-header .header-right-col {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.site-header .desktop-nav {
  display: flex !important;
  align-items: center;
  height: 100%;
}

.site-header .mobile-toggle-btn {
  display: none !important;
}

@media (max-width: 1023px) {
  .site-header .header-inner {
    display: flex !important;
    justify-content: space-between !important;
  }
  .site-header .desktop-nav {
    display: none !important;
  }
  .site-header .mobile-toggle-btn {
    display: flex !important;
  }
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item .nav-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
  color: #49A4D6;
}

.megamenu-panel {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: #2b2b2b;
  min-width: 520px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  padding: 24px 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 60;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.nav-item.has-megamenu:hover .megamenu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.megamenu-title {
  font-size: 11px;
  font-weight: 700;
  color: #8e8e93;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.megamenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.megamenu-link {
  display: block;
  font-size: 14px;
  color: #e5e5ea !important;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.megamenu-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #49A4D6 !important;
  transform: translateX(3px);
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2b2b2b;
  min-width: 200px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 60;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.nav-item.has-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-link {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: #e5e5ea !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #49A4D6 !important;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2b2b2b;
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 60;
  border: 1px solid rgba(255,255,255,0.1);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #e0e0e0 !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item:hover {
  background-color: #383838;
  color: #49A4D6 !important;
}

#mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: #2b2b2b;
  z-index: 100;
  box-shadow: 5px 0 25px rgba(0,0,0,0.5);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

#mobile-drawer.open {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

@media (max-width: 767px) {
  .site-header {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }
  .site-header.headroom-hidden {
    transform: translateY(-100%) !important;
  }
}

@media (min-width: 768px) {
  .site-header {
    transform: none !important;
    transition: none !important;
  }
  .site-header.headroom-hidden {
    transform: none !important;
  }
}

#drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.site-footer {
  background-color: #383838;
  color: #e0e0e0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.site-footer a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #ffffff;
}

.faq-details summary::-webkit-details-marker {
  display: none;
}
.faq-details[open] .faq-icon {
  transform: rotate(180deg);
  color: #49A4D6;
}
.faq-content-wrapper {
  animation: faqFadeIn 0.3s ease;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #49A4D6;
  color: #ffffff !important;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 9999px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(73, 164, 214, 0.3);
}

.btn-primary:hover {
  background-color: #388dbd;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(73, 164, 214, 0.45);
}
