/* ============================================================================
   WELLGROW GLASS x INDUSTRIO TEMPLATE
   THEME: CORPORATE ROYAL BLUE, SKY BLUE & CRISP WHITE (#145D9F / #0EA5E9 / #FFFFFF)
   Preserves all Industrio animations (WOW.js, Hover Slides, Carousels, Pulse)
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Thai:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0077C8 !important;       /* Wellgrow Vibrant Sky-Royal Blue */
  --primary-hover: #005FA3 !important;
  --sky-accent: #38BDF8 !important;    /* Bright Sky Blue Accent */
  --secondary: #5A6A85 !important;
  --light: #F0F7FF !important;         /* Soft Ice-Sky White */
  --dark: #0A2E5C !important;          /* Deep Corporate Navy Blue */
  --wgi-font-sans: 'Inter', 'Noto Sans Thai', sans-serif;
  --wgi-font-display: 'Inter', 'Noto Sans Thai', sans-serif;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.min-w-0 {
  min-width: 0 !important;
}

body,
p,
a,
span,
li,
td,
th,
input,
select,
textarea,
button {
  font-family: var(--wgi-font-sans) !important;
}

#page-container .wgi-bento-card p:not(.text-primary):not(.text-white),
#page-container .wgi-bento-card li,
#page-container .wgi-bento-card td {
  color: #334155;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.78;
}

#page-container .wgi-bento-card p.small,
#page-container .wgi-bento-card small {
  font-size: 13.75px !important;
  line-height: 1.65;
}

#page-container .text-secondary {
  color: #334155 !important;
}

@keyframes wgiSoftSlideIn {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.wgi-soft-slide-in {
  animation: wgiSoftSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--wgi-font-display) !important;
  color: var(--dark);
  letter-spacing: 0;
  line-height: 1.32;
  text-wrap: balance;
}

.wgi-tabular {
  font-variant-numeric: tabular-nums;
}

/* Keep FontAwesome & Bootstrap Icons intact */
.fa, .fas, .far, .fab, [class^="fa-"], [class*=" fa-"] {
  font-family: "Font Awesome 5 Free" !important;
}
.fab {
  font-family: "Font Awesome 5 Brands" !important;
}
.bi, [class^="bi-"], [class*=" bi-"] {
  font-family: "bootstrap-icons" !important;
}

/* Override Bootstrap / Industrio Orange (#FF5E14) to Wellgrow Blue & Sky Blue */
.bg-primary {
  background: linear-gradient(135deg, #145D9F 0%, #0284C7 100%) !important;
}

.bg-dark {
  background-color: #0A2E5C !important;
}

.bg-light {
  background-color: #F2F8FF !important;
}

.text-primary {
  color: #0077C8 !important;
}

.border-primary {
  border-color: #0284C7 !important;
}

.btn-primary {
  background: linear-gradient(135deg, #145D9F 0%, #0284C7 100%) !important;
  border-color: #0284C7 !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #0D4273 0%, #0369A1 100%) !important;
  border-color: #0369A1 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.32);
}

.btn-outline-primary {
  color: #0077C8 !important;
  border-color: #93C5FD !important;
  background-color: #FFFFFF !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background: linear-gradient(135deg, #145D9F 0%, #0284C7 100%) !important;
  border-color: #0284C7 !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25) !important;
}

.form-control,
.form-select {
  color: #0A2E5C !important;
  border-color: #D5E8FF !important;
  background-color: #FBFDFF !important;
}

.form-control:focus,
.form-select:focus {
  border-color: #38BDF8 !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2) !important;
  color: #0A2E5C !important;
}

.form-floating > label {
  color: #64748B !important;
}

.text-dark {
  color: #0A2E5C !important;
}

.text-secondary,
.text-muted {
  color: #5A6F8E !important;
}

/* Bootstrap 5.0.0 compatibility helper (.rounded-4) + crisp single-line contact emails */
.rounded-4 {
  border-radius: 16px !important;
}

.wgi-email-line {
  font-size: clamp(11.5px, 0.92vw, 13.5px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 399.98px) {
  .wgi-email-line {
    white-space: normal;
    word-break: break-word;
  }
}

.btn-dark {
  background-color: #0A2E5C !important;
  border-color: #0A2E5C !important;
}

.btn-dark:hover {
  background-color: #145D9F !important;
  border-color: #145D9F !important;
}

/* Topbar & Clean Seamless White Navbar Brand for Official Logo */
.topbar-right {
  background: linear-gradient(90deg, #0284C7 0%, #145D9F 100%) !important;
}
.topbar-right::before {
  background-color: #0284C7 !important;
}

.wgi-navbar-logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: height 0.2s ease;
}

.navbar .navbar-brand {
  padding-right: 20px;
  height: 78px;
  background: transparent !important;
  display: flex;
  align-items: center;
  max-width: calc(100% - 62px);
}

.navbar .navbar-brand::after {
  display: none !important;
}

.navbar .navbar-nav .nav-link {
  margin-right: 18px;
  padding: 24px 0;
  font-size: 15px;
  font-weight: 600;
  color: #0A2E5C;
  white-space: nowrap;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #0284C7 !important;
}

@media (max-width: 1399.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 11px;
    font-size: 13.8px;
  }
}

@media (max-width: 1199.98px) {
  .wgi-main-navbar .navbar-brand {
    max-width: calc(100% - 142px);
    padding-right: 8px;
  }
  .wgi-lang-switcher-top {
    padding: 2px;
    background: #F1F5F9;
    border: 1.5px solid #BAE6FD;
    box-shadow: 0 2px 6px rgba(10, 46, 92, 0.06);
  }
  .wgi-lang-switcher-top .wgi-lang-btn {
    padding: 6px 10px;
    font-size: 11.5px;
  }
  .wgi-main-navbar .navbar-toggler {
    padding: 5px 9px;
    border-radius: 10px;
    border-color: #CBD5E1;
  }
  .wgi-main-navbar .navbar-collapse {
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    border-top: 1px solid #E2E8F0;
    margin-top: 4px;
  }
  .wgi-main-navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 11px 4px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 15px;
  }
  .wgi-main-navbar #navbarCollapse .dropdown-menu {
    position: static !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: none;
    background: #F8FAFC !important;
    box-shadow: none !important;
    padding: 4px 0 8px 12px;
    margin-bottom: 6px;
  }
  .wgi-main-navbar #navbarCollapse .dropdown-menu.show {
    display: block !important;
  }
  .wgi-main-navbar #navbarCollapse .dropdown-item {
    padding: 9px 12px;
    font-size: 14.5px;
    white-space: normal;
    border-radius: 8px;
    color: #1E293B;
  }
  .wgi-main-navbar #navbarCollapse .dropdown-item:hover,
  .wgi-main-navbar #navbarCollapse .dropdown-item:focus {
    background-color: #E0F2FE;
    color: #0284C7;
  }
  .wgi-main-navbar .dropdown-toggle::after {
    transition: transform 0.2s ease;
  }
  .wgi-main-navbar .dropdown-toggle.show::after {
    transform: rotate(180deg);
  }
  .wgi-sales-cta-btn {
    width: 100%;
    justify-content: center;
  }
  .wgi-sales-popover {
    position: static !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin-top: 10px;
    box-shadow: 0 6px 18px rgba(10, 46, 92, 0.08) !important;
  }
}

@media (max-width: 575.98px) {
  .navbar .navbar-brand {
    height: 64px;
    padding-right: 6px;
  }
  .wgi-navbar-logo {
    height: 38px;
  }
}

@media (max-width: 399.98px) {
  .wgi-navbar-logo {
    height: 33px;
  }
  .wgi-lang-switcher-top .wgi-lang-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}

/* Hero Banner Responsive Staging */
.wgi-hero-item {
  min-height: 520px;
}

.wgi-hero-img {
  min-height: 520px;
  max-height: 560px;
  object-fit: cover;
  object-position: right center;
}

/* Hero Carousel & Page Header in Clean Blue / Sky / White Gradient */
.carousel-caption {
  background: linear-gradient(
    90deg,
    #0A2E5C 0%,
    #0E3B75 38%,
    rgba(20, 93, 159, 0.94) 46%,
    rgba(20, 93, 159, 0.25) 60%,
    rgba(20, 93, 159, 0.0) 72%
  ) !important;
}

@media (max-width: 991.98px) {
  .carousel-caption {
    background: linear-gradient(
      90deg,
      rgba(10, 46, 92, 0.96) 0%,
      rgba(20, 93, 159, 0.88) 100%
    ) !important;
  }
}

.wgi-hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7DD3FC;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.wgi-hero-title {
  color: #FFFFFF !important;
  font-size: clamp(1.85rem, 3.1vw, 2.85rem);
  font-weight: 700 !important;
  line-height: 1.35;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.wgi-hero-subtitle {
  color: rgba(240, 249, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 400;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #0284C7 !important;
  border-color: #0284C7 !important;
}

.page-header {
  background: linear-gradient(135deg, #061E3E 0%, #0A2E5C 48%, #0E4B8E 86%, #1464B8 100%) !important;
  border-bottom: 3px solid #38BDF8;
}

/* Industrio Service Card Hover in Blue-Sky Theme */
.service-item {
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 10px 35px rgba(20, 93, 159, 0.08);
}

.service-item .service-img {
  border-radius: 12px;
  border: 2px solid #E0F2FE;
}

.service-item .service-text {
  background: linear-gradient(180deg, rgba(10, 46, 92, 0.92) 0%, rgba(2, 132, 199, 0.92) 100%) !important;
}

.service-item .btn {
  border-radius: 8px;
  color: #145D9F;
  font-weight: 600;
  border: 1px solid #E0F2FE;
}

.service-item .btn:hover {
  background: linear-gradient(135deg, #145D9F 0%, #0284C7 100%) !important;
  color: #FFFFFF;
}

/* Facts Section in Deep Blue & Sky Gradient */
.facts {
  background: linear-gradient(135deg, #0A2E5C 0%, #145D9F 60%, #0284C7 100%) !important;
}

.facts .border {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.2) !important;
  border-radius: 14px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.facts .border:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
}

.facts .text-primary {
  color: #38BDF8 !important;
}

/* Video Play Pulse Button in Sky Blue */
.btn-play,
.btn-play:before,
.btn-play:after {
  background: #0284C7 !important;
}

/* Industrio Glass Bottle Product Card (Blue / Sky / White Luxury Style) */
.wgi-product-card {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(20, 93, 159, 0.07);
  border: 1px solid #E0F2FE;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.wgi-product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.18);
  border-color: #38BDF8;
}

.wgi-product-card .wgi-img-wrap {
  height: 230px;
  padding: 20px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #E6F2FF;
  position: relative;
  overflow: hidden;
}

.wgi-product-card .wgi-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease;
}

.wgi-product-card:hover .wgi-img-wrap img {
  transform: scale(1.08);
}

.wgi-product-card .wgi-job-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: linear-gradient(135deg, #0A2E5C 0%, #145D9F 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 13px;
  border-radius: 6px;
  border-left: 4px solid #38BDF8;
  box-shadow: 0 4px 12px rgba(10, 46, 92, 0.18);
  pointer-events: none;
}

.wgi-product-card .wgi-body {
  padding: 20px;
}

.wgi-product-card .wgi-footer {
  padding: 0 20px 20px 20px;
}

/* Sidebar Category Menu in Blue-Sky Style */
.wgi-sidebar {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(20, 93, 159, 0.07);
  border: 1px solid #E0F2FE;
  border-top: 4px solid #0284C7;
}

.wgi-sidebar-header {
  background: linear-gradient(135deg, #0A2E5C 0%, #145D9F 100%);
  color: #FFFFFF;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 16px;
}

.wgi-subcat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 9px 14px;
  border: none;
  border-radius: 8px;
  margin-bottom: 2px;
  background: transparent;
  color: #334155;
  font-size: 13.5px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.wgi-subcat-btn:hover {
  background: #F0F7FF;
  color: #0077C8;
  border-left-color: #38BDF8;
}

.wgi-subcat-btn.active {
  background: linear-gradient(135deg, #145D9F 0%, #0284C7 100%);
  color: #FFFFFF;
  font-weight: 600;
  border-left-color: #38BDF8;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

/* Spec Table in Product Detail */
.wgi-spec-table th,
.wgi-spec-table td {
  padding: 12px 16px;
  vertical-align: middle;
  font-size: 14.5px;
}

.wgi-spec-table tbody tr:nth-child(odd) {
  background-color: #F4F9FF;
}

/* Smooth Loading Spinner Overlay for Page Transitions */
#spinner {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(6px);
}

.wgi-loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.wgi-spinner-ring {
  width: 54px;
  height: 54px;
  border: 4px solid #E0F2FE;
  border-top-color: #0284C7;
  border-right-color: #145D9F;
  border-radius: 50%;
  animation: wgiSpin 0.75s linear infinite;
}

@keyframes wgiSpin {
  to { transform: rotate(360deg); }
}

/* Footer in Deep Wellgrow Navy */
.footer {
  background: linear-gradient(180deg, #0A2E5C 0%, #071F40 100%) !important;
  color: #CBD5E1;
}

.copyright {
  background-color: #051833 !important;
  color: #94A3B8;
}

/* ============================================================================
 * ปุ่มสลับภาษา TH / EN บนแถบเมนู (Language Switcher)
 * ============================================================================ */
.wgi-lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 999px;
  padding: 3px;
}

.wgi-lang-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.wgi-lang-btn:hover {
  color: #0A2E5C;
}

.wgi-lang-btn.active {
  background: linear-gradient(135deg, #0A2E5C 0%, #145D9F 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(10, 46, 92, 0.25);
}

/* ============================================================================
 * ส่วนแสดงวิดีโอโรงงานแบบเต็มจอเล่นอัตโนมัติ (Live Widescreen Video Banner)
 * อ้างอิงตามดีไซน์เว็บจริง (GLASS MANUFACTURER / VIEW ALL VIDEO)
 * ============================================================================ */
.wgi-video-banner-section {
  background-color: #000000;
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}

.wgi-video-stage {
  position: relative;
  width: 100%;
  max-height: 540px;
  min-height: 380px;
  overflow: hidden;
  background: #051833;
}

.wgi-bg-video {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.wgi-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0.08) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 40px 0 48px 0;
}

.wgi-video-play-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3.5px solid #FFFFFF;
  background: rgba(10, 46, 92, 0.35);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  padding-left: 5px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.wgi-video-play-circle:hover {
  background: #145D9F;
  transform: scale(1.08);
  color: #FFFFFF;
}

.wgi-video-pill-btn {
  display: inline-block;
  background-color: #1A5EA8;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.4px;
  padding: 10px 36px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(26, 94, 168, 0.4);
}

.wgi-video-pill-btn:hover {
  background-color: #0284C7;
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

@media (max-width: 767.98px) {
  .wgi-bg-video {
    height: 360px;
  }
  .wgi-video-play-circle {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }
}

/* ============================================================================
 * แถบเมนูด้านบนดีไซน์ใหม่ & ปุ่มติดต่อฝ่ายขายแบบมีลูกเล่น (Executive Sales Hub)
 * ============================================================================ */
.wgi-main-navbar {
  border-top: 3.5px solid #0284C7;
  border-bottom: 1px solid #E2E8F0;
}

.wgi-main-navbar .nav-link {
  white-space: nowrap;
}

.wgi-sales-hub-wrap {
  flex-shrink: 0;
}

.wgi-sales-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0A2E5C 0%, #145D9F 60%, #0284C7 100%);
  color: #FFFFFF !important;
  padding: 6px 18px 6px 7px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.wgi-sales-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.38);
  background: linear-gradient(135deg, #071F40 0%, #0A2E5C 50%, #145D9F 100%);
  color: #FFFFFF !important;
}

.wgi-cta-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0284C7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

.wgi-sales-cta-btn:hover .wgi-cta-icon-badge {
  transform: rotate(-12deg) scale(1.06);
}

.wgi-cta-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.wgi-cta-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: #7DD3FC;
  text-transform: uppercase;
  white-space: nowrap;
}

.wgi-cta-main {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .wgi-main-navbar .navbar-nav .nav-link {
    font-size: 13.5px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* กล่องเมนูด่วนเมื่อชี้เมาส์ที่ปุ่มติดต่อฝ่ายขาย */
.wgi-sales-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 310px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(10, 46, 92, 0.18);
  border: 1px solid #E0F2FE;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 1050;
}

.wgi-sales-hub-wrap:hover .wgi-sales-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wgi-popover-header {
  background: linear-gradient(135deg, #0A2E5C 0%, #145D9F 100%);
  color: #FFFFFF;
  padding: 12px 16px;
  font-size: 13px;
}

.wgi-popover-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wgi-popover-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.wgi-popover-item:hover {
  background: #F0F9FF;
}

.wgi-pop-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

/* ============================================================================
 * แถบขอความยินยอมคุกกี้ตามมาตรฐาน PDPA (Cookie Consent Banner)
 * ============================================================================ */
.wgi-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1080px;
  background: rgba(10, 46, 92, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  padding: 18px 24px;
  z-index: 1080;
  box-shadow: 0 20px 50px rgba(5, 24, 51, 0.45);
  animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 24px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.wgi-cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 992px) {
  .wgi-cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.wgi-cookie-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38BDF8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.wgi-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.wgi-cookie-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wgi-cookie-btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.wgi-cookie-btn-primary {
  background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%);
  color: #051833;
  border: none;
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

.wgi-cookie-btn-primary:hover {
  transform: translateY(-1px);
  background: #FFFFFF;
  color: #0A2E5C;
}

/* ============================================================================
 * 1. การ์ด 4 หมวดสินค้าหลักหน้าแรก (Clean Executive Showcase Card)
 * พื้นหลังสีขาวล้วนกลืนเป็นเนื้อเดียวกับรูปขวดแก้ว ไม่มีเงาสี่เหลี่ยมซ้อนทับ
 * ============================================================================ */
.wgi-cat-showcase-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 24px rgba(10, 46, 92, 0.06);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  cursor: pointer;
}

.wgi-cat-showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #0A2E5C 0%, #0284C7 60%, #38BDF8 100%);
  transition: width 0.35s ease;
  z-index: 4;
}

.wgi-cat-showcase-card:hover {
  transform: translateY(-8px);
  border-color: #BAE6FD;
  box-shadow: 0 20px 42px rgba(10, 46, 92, 0.13);
}

.wgi-cat-showcase-card:hover::before {
  width: 100%;
}

.wgi-cat-stage {
  height: 235px;
  background: #FFFFFF;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  border-bottom: 1px solid #F1F5F9;
}

.wgi-cat-bottle-img {
  max-height: 195px;
  max-width: 88%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wgi-cat-showcase-card:hover .wgi-cat-bottle-img {
  transform: scale(1.1);
}

.wgi-cat-body {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background: #FFFFFF;
}

.wgi-cat-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #0284C7;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wgi-cat-title {
  font-size: 20px;
  font-weight: 800;
  color: #0A2E5C;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.wgi-cat-showcase-card:hover .wgi-cat-title {
  color: #0284C7;
}

.wgi-cat-desc {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 16px;
}

.wgi-cat-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  border-radius: 12px;
  background: #F8FAFC;
  color: #0A2E5C !important;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
}

.wgi-cat-showcase-card:hover .wgi-cat-action-btn {
  background: linear-gradient(135deg, #0A2E5C 0%, #145D9F 60%, #0284C7 100%);
  color: #FFFFFF !important;
  border-color: transparent;
}

/* ============================================================================
 * 2. การ์ดสินค้าขวดแก้ว & กรอบรูปหน้ารายละเอียดขวดแก้ว (สะอาดตา ไม่ซ้อนทับ)
 * ============================================================================ */
.wgi-product-card .wgi-img-wrap {
  background: radial-gradient(circle at 50% 60%, #EAF4FF 0%, #F7FBFF 52%, #FFFFFF 86%) !important;
  perspective: 900px;
}

.wgi-product-card .wgi-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.7) 48%, rgba(255, 255, 255, 0) 68%);
  transform: translateX(-125%) skewX(-18deg);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 2;
}

.wgi-product-card:hover .wgi-img-wrap::before {
  transform: translateX(135%) skewX(-18deg);
}

.wgi-product-card .wgi-img-wrap::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 88px;
  height: 11px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(10, 46, 92, 0.14) 0%, transparent 72%);
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.wgi-product-card .wgi-img-wrap img {
  mix-blend-mode: multiply;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.wgi-product-card:hover {
  transform: perspective(1100px) translateY(-7px) rotateX(1.5deg);
  box-shadow: 0 22px 44px rgba(10, 46, 92, 0.14);
}

.wgi-product-card:hover .wgi-img-wrap img {
  transform: translateY(-6px) rotateY(-9deg) rotateX(4deg) scale(1.07);
}

.wgi-product-card:hover .wgi-img-wrap::after {
  transform: translateX(-50%) scaleX(0.84);
  opacity: 0.65;
}

.wgi-cat-stage::after {
  content: "";
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 96px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(10, 46, 92, 0.16) 0%, transparent 72%);
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.wgi-cat-showcase-card .wgi-cat-stage {
  perspective: 900px;
}

.wgi-cat-showcase-card .wgi-cat-bottle-img {
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wgi-cat-showcase-card:hover .wgi-cat-bottle-img {
  transform: translateY(-6px) rotateY(9deg) rotateX(3deg) scale(1.09);
}

.wgi-cat-showcase-card:hover .wgi-cat-stage::after {
  transform: translateX(-50%) scaleX(0.82);
  opacity: 0.65;
}

/* Subtle 3D breathing depth on Signature Showcase bottles (paused cleanly on hover) */
@keyframes wgiBottleSubtleBreath {
  0%, 100% { transform: translateY(0px) rotateY(-4deg); }
  50%      { transform: translateY(-4px) rotateY(4deg); }
}

.wgi-signature-grid .wgi-product-card .wgi-img-wrap img {
  animation: wgiBottleSubtleBreath 5.6s ease-in-out infinite;
}

.wgi-signature-grid > div:nth-child(2n) .wgi-product-card .wgi-img-wrap img {
  animation-delay: 1.1s;
}

.wgi-signature-grid > div:nth-child(3n) .wgi-product-card .wgi-img-wrap img {
  animation-delay: 2.2s;
}

.wgi-signature-grid .wgi-product-card:hover .wgi-img-wrap img {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .wgi-signature-grid .wgi-product-card .wgi-img-wrap img {
    animation: none !important;
  }
}

.wgi-detail-zoom-stage {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #EDF5FF 100%) !important;
  border: 1.5px solid #DCEBFF !important;
  border-radius: 22px !important;
  overflow: hidden;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.wgi-detail-zoom-stage:hover {
  border-color: #38BDF8 !important;
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.14);
}

.wgi-detail-main-img {
  max-height: 390px;
  object-fit: contain;
  transition: transform 0.16s ease-out, filter 0.25s ease;
  transform-origin: center center;
  user-select: none;
  filter: drop-shadow(0 12px 24px rgba(10, 46, 92, 0.12));
}

.wgi-detail-thumb {
  height: 110px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #DCEBFF !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.wgi-detail-thumb:hover,
.wgi-detail-thumb.active {
  border-color: #0284C7 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.15);
}

.wgi-spec-table th {
  white-space: nowrap;
  width: 44%;
  background: #F8FBFF !important;
  color: #475569 !important;
  font-weight: 600;
}

.wgi-spec-table tbody tr {
  transition: background-color 0.18s ease;
}

.wgi-spec-table tbody tr:hover {
  background-color: #F0F7FF;
}

/* ============================================================================
 * 3. หน้าต่างซูมดูรูปภาพแบบ Global Crystal Studio (Dark Frosted Studio Canvas)
 * ============================================================================ */
.wgi-zoom-modal-content {
  background: rgba(6, 21, 44, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(186, 230, 253, 0.22) !important;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(2, 10, 24, 0.65) !important;
}

.wgi-zoom-modal-header {
  background: linear-gradient(90deg, rgba(10, 46, 92, 0.96) 0%, rgba(14, 75, 142, 0.92) 100%);
  padding: 14px 22px;
  border-bottom: 1px solid rgba(186, 230, 253, 0.18) !important;
}

.wgi-zoom-pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #7DD3FC;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.wgi-zoom-ctrl-btn {
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 5px 12px;
  transition: all 0.2s ease;
}

.wgi-zoom-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.wgi-zoom-ctrl-primary {
  background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%) !important;
  border-color: transparent !important;
}

.wgi-zoom-lvl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(4, 21, 46, 0.72);
  border: 1px solid rgba(186, 230, 253, 0.22);
  color: #E0F2FE;
  font-size: 12.5px;
  font-weight: 700;
}

#lightboxModal .modal-xl {
  max-width: min(1140px, 94vw);
}

.wgi-lightbox-viewport {
  width: 100%;
  height: 74vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 50% 45%, rgba(20, 93, 159, 0.26) 0%, rgba(6, 21, 44, 0.96) 76%),
    linear-gradient(rgba(186, 230, 253, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 230, 253, 0.03) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  position: relative;
  user-select: none;
}

.wgi-lightbox-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 28px 65px rgba(2, 10, 24, 0.62);
}

.wgi-lightbox-img {
  display: block;
  max-height: calc(74vh - 64px);
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  transition: transform 0.14s ease-out;
  transform-origin: center center;
}

.wgi-zoom-hint {
  background: rgba(4, 17, 36, 0.92);
  color: #BAE6FD;
  text-align: center;
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 500;
  border-top: 1px solid rgba(186, 230, 253, 0.12);
}

/* Global Subtle Animated Sub-Cards across Sub-Pages */
.wgi-subcard {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FBFF 100%);
  border: 1px solid #DCEBFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 46, 92, 0.05);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.wgi-subcard:hover {
  transform: translateY(-4px);
  border-color: #7DD3FC;
  box-shadow: 0 18px 36px rgba(2, 132, 199, 0.13);
}

.wgi-subcard-img-wrap {
  overflow: hidden;
  background: #F0F7FF;
}

.wgi-subcard-img-wrap img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.wgi-subcard:hover .wgi-subcard-img-wrap img {
  transform: scale(1.05);
}

/* ============================================================================
 * 4. แอนิเมชันรูปภาพและหัวข้อแบบเรียบหรู มืออาชีพ (ไม่ซ้อนทับองค์ประกอบอื่น)
 * ============================================================================ */
.wgi-interactive-img {
  transition: transform 0.3s ease;
}

.wgi-interactive-img:hover {
  transform: scale(1.03);
}

.wgi-interactive-heading {
  position: relative;
  display: inline-block;
  transition: color 0.2s ease;
}

.wgi-interactive-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0A2E5C 0%, #0284C7 100%);
  transition: width 0.28s ease;
}

.wgi-interactive-heading:hover {
  color: #0284C7 !important;
}

.wgi-interactive-heading:hover::after {
  width: 100%;
}

.wgi-heading-showcase {
  display: none !important;
}

/* ============================================================================
 * 5. RESPONSIVE DESIGN ENHANCEMENTS (PC / TABLET / MOBILE)
 * ============================================================================ */
.wgi-about-mosaic-img {
  height: 360px;
  object-fit: cover;
}

.wgi-facility-img {
  height: 280px;
  object-fit: cover;
}

.wgi-deco-thumb {
  height: 220px;
  object-fit: cover;
}

.wgi-product-search-wrap {
  width: 100%;
  max-width: 320px;
}

.wgi-detail-thumb-img {
  max-height: 95px;
  object-fit: contain;
}

#lightboxViewport {
  touch-action: none;
}

/* Tablet Landscape & Portrait (<= 991.98px) */
@media (max-width: 991.98px) {
  .wgi-hero-item {
    min-height: 440px;
  }
  .wgi-hero-img {
    min-height: 440px;
    max-height: 480px;
  }
  .wgi-about-mosaic-img {
    height: 280px;
  }
  .facts {
    margin: 3rem 0 !important;
  }
  .wgi-detail-zoom-stage {
    min-height: 340px;
  }
  .wgi-detail-main-img {
    max-height: 310px;
  }
}

/* Mobile & Phablet (<= 767.98px) */
@media (max-width: 767.98px) {
  .wgi-hero-item {
    min-height: 360px !important;
  }
  .wgi-hero-img {
    min-height: 360px !important;
    max-height: 410px !important;
    object-position: center center !important;
  }
  #header-carousel .carousel-caption {
    padding: 16px 38px;
  }
  #header-carousel .carousel-control-prev,
  #header-carousel .carousel-control-next {
    width: 10%;
  }
  #header-carousel .carousel-control-prev-icon,
  #header-carousel .carousel-control-next-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-width: 8px;
  }
  .wgi-hero-badge {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 10px;
  }
  .wgi-hero-title {
    font-size: clamp(1.35rem, 5.2vw, 1.85rem);
    margin-bottom: 14px;
  }
  .wgi-product-search-wrap {
    max-width: 100%;
  }
  .wgi-facility-img {
    height: 220px;
  }
  .wgi-video-stage {
    min-height: 300px;
  }
  .wgi-bg-video {
    height: 320px;
  }
  .wgi-video-overlay {
    padding: 20px 0 24px 0;
  }
  .wgi-video-pill-btn {
    font-size: 14px;
    padding: 9px 22px;
  }
  .page-header {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .page-header .display-4 {
    font-size: 1.85rem;
  }
  .page-header .breadcrumb-item,
  .page-header .breadcrumb-item a {
    font-size: 14px;
  }
  .wgi-lightbox-viewport {
    height: calc(100dvh - 110px);
    padding: 12px;
  }
  .wgi-lightbox-img {
    max-height: calc(100dvh - 160px);
    max-width: 100%;
  }
  .wgi-zoom-modal-header {
    padding: 10px 14px;
  }
}

/* Compact Smartphones (<= 575.98px) */
@media (max-width: 575.98px) {
  .wgi-about-mosaic-img {
    height: 200px;
  }
  .wgi-cat-stage {
    height: 185px;
    padding: 14px;
  }
  .wgi-cat-bottle-img {
    max-height: 155px;
  }
  .wgi-product-card .wgi-img-wrap {
    height: 155px;
    padding: 12px;
  }
  .wgi-product-card .wgi-job-badge {
    top: 8px;
    left: 8px;
    font-size: 11px;
    padding: 3px 9px;
  }
  .wgi-product-card .wgi-body {
    padding: 12px;
  }
  .wgi-product-card .wgi-body h5 {
    font-size: 1rem;
  }
  .wgi-product-card .wgi-footer {
    padding: 0 12px 12px 12px;
  }
  .wgi-product-card .wgi-footer .btn {
    font-size: 12px;
    padding: 6px 8px !important;
  }
  .wgi-deco-thumb {
    height: 145px;
  }
  .wgi-detail-zoom-stage {
    min-height: 265px;
  }
  .wgi-detail-main-img {
    max-height: 230px;
  }
  .wgi-detail-thumb {
    height: 78px;
  }
  .wgi-detail-thumb-img {
    max-height: 62px;
  }
  .wgi-spec-table th,
  .wgi-spec-table td {
    padding: 9px 10px;
    font-size: 13px;
    word-break: break-word;
  }
  .wgi-cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 14px 16px;
    border-radius: 16px;
  }
  .wgi-cookie-actions {
    width: 100%;
  }
  .wgi-cookie-btn-outline,
  .wgi-cookie-btn-primary {
    flex: 1 1 130px;
    text-align: center;
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .back-to-top {
    right: 14px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
  .wgi-interactive-heading {
    display: block;
  }
}

/* ============================================================================
   PRE-ENTRY 3D ROTATING & FLOATING GLASS INTRO (#wgi-glass-intro)
   ============================================================================ */
.wgi-glass-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  background: radial-gradient(circle at 50% 35%, #124885 0%, #0A2E5C 48%, #04152E 100%);
  color: #FFFFFF;
  overflow: hidden;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.65s ease,
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.wgi-glass-intro.wgi-intro-exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
}

.wgi-intro-ambient-glow {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(0, 119, 200, 0.14) 45%, transparent 72%);
  filter: blur(26px);
  pointer-events: none;
  animation: wgiAmbientPulse 4.5s ease-in-out infinite alternate;
}

.wgi-intro-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(186, 230, 253, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 230, 253, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.85) 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.85) 15%, transparent 75%);
  pointer-events: none;
}

.wgi-intro-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  width: 100%;
}

.wgi-intro-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(186, 230, 253, 0.32);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #BAE6FD;
  margin-bottom: 14px;
}

.wgi-intro-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 10px #38BDF8;
}

.wgi-3d-stage {
  position: relative;
  width: min(580px, 94vw);
  height: clamp(270px, 43vh, 370px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  margin-bottom: 12px;
  pointer-events: none;
}

.wgi-stage-halo {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(14, 165, 233, 0.12) 45%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}

.wgi-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(125, 211, 252, 0.36);
  pointer-events: none;
}

.wgi-orbit-ring-outer {
  width: 440px;
  height: 440px;
  transform: rotateX(74deg) rotateZ(0deg);
  animation: wgiOrbitSpin 16s linear infinite;
}

.wgi-orbit-ring-inner {
  width: 330px;
  height: 330px;
  border-style: solid;
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.16);
  transform: rotateX(70deg) rotateY(10deg);
  animation: wgiOrbitReverse 11s linear infinite;
}

.wgi-orbit-bottle {
  position: absolute;
  height: clamp(195px, 31vh, 270px);
  width: auto;
  max-width: 210px;
  object-fit: contain;
  will-change: transform, opacity, filter;
  filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.42)) drop-shadow(0 16px 24px rgba(2, 12, 32, 0.62));
  transition: filter 0.35s ease;
  pointer-events: none;
  user-select: none;
}

.wgi-orbit-bottle.wgi-bottle-morphing {
  filter: brightness(1.8) drop-shadow(0 0 38px rgba(125, 211, 252, 0.98)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.9)) !important;
}

.wgi-orbit-ripple {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid rgba(125, 211, 252, 0.9);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(56, 189, 248, 0.2) 45%, transparent 72%);
  transform: translate(-50%, -50%) scale(0.35);
  pointer-events: none;
  z-index: 25;
  animation: wgiOrbitRippleBurst 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes wgiOrbitRippleBurst {
  0%   { transform: translate(-50%, -50%) scale(0.35); opacity: 0.95; }
  100% { transform: translate(-50%, -50%) scale(1.95); opacity: 0; }
}

.wgi-intro-floor-shadow {
  position: absolute;
  bottom: 4px;
  width: 340px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(2, 12, 32, 0.72) 0%, transparent 72%);
  animation: wgiShadowPulse 3.4s ease-in-out infinite;
  pointer-events: none;
}

.wgi-intro-brand-title {
  font-family: var(--wgi-font-display) !important;
  font-size: clamp(1.55rem, 3.3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 6px;
}

.wgi-intro-tagline {
  font-size: 15px;
  font-weight: 500;
  color: #CFE9FF;
  margin-bottom: 16px;
}

.wgi-intro-progress {
  width: 260px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  margin-bottom: 18px;
}

.wgi-intro-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38BDF8 0%, #FFFFFF 65%, #BAE6FD 100%);
  animation: wgiIntroProgressFill 10s linear forwards;
}

.wgi-intro-skip-btn {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(2, 132, 199, 0.5));
  color: #FFFFFF;
  border: 1.5px solid rgba(186, 230, 253, 0.68);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.35);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wgi-intro-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
  color: #BAE6FD;
}

.wgi-intro-skip-btn:hover {
  background: #FFFFFF;
  color: #0A2E5C;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.45);
}

.wgi-intro-skip-btn:hover .wgi-intro-countdown {
  background: #0A2E5C;
  color: #FFFFFF;
}

@keyframes wgiBottleSpin3D {
  0%   { transform: translateY(0px) rotateY(0deg); }
  25%  { transform: translateY(-10px) rotateY(90deg); }
  50%  { transform: translateY(-16px) rotateY(180deg); }
  75%  { transform: translateY(-8px) rotateY(270deg); }
  100% { transform: translateY(0px) rotateY(360deg); }
}

@keyframes wgiBottleSideLeft {
  0%   { transform: translateY(6px) rotateZ(-6deg) rotateY(0deg); }
  50%  { transform: translateY(-12px) rotateZ(-3deg) rotateY(180deg); }
  100% { transform: translateY(6px) rotateZ(-6deg) rotateY(360deg); }
}

@keyframes wgiBottleSideRight {
  0%   { transform: translateY(-8px) rotateZ(6deg) rotateY(360deg); }
  50%  { transform: translateY(8px) rotateZ(3deg) rotateY(180deg); }
  100% { transform: translateY(-8px) rotateZ(6deg) rotateY(0deg); }
}

@keyframes wgiBottleLevitate {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}

@keyframes wgiOrbitSpin {
  0%   { transform: rotateX(72deg) rotateZ(0deg); }
  100% { transform: rotateX(72deg) rotateZ(360deg); }
}

@keyframes wgiOrbitReverse {
  0%   { transform: rotateX(68deg) rotateY(14deg) rotateZ(360deg); }
  100% { transform: rotateX(68deg) rotateY(14deg) rotateZ(0deg); }
}

@keyframes wgiShadowPulse {
  0%, 100% { transform: scale(1); opacity: 0.68; }
  50%      { transform: scale(0.8); opacity: 0.36; }
}

@keyframes wgiCrystalSheen {
  0%, 35% { transform: translateX(-115%); }
  65%, 100% { transform: translateX(115%); }
}

@keyframes wgiAmbientPulse {
  0%   { transform: scale(0.95); opacity: 0.72; }
  100% { transform: scale(1.08); opacity: 1; }
}

@keyframes wgiIntroProgressFill {
  from { width: 8%; }
  to   { width: 100%; }
}

/* ============================================================================
   GLOBAL B2B GLASS DESIGN LANGUAGE (NAVY / ROYAL BLUE / SKY BLUE / WHITE)
   ============================================================================ */
.wgi-main-navbar {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 46, 92, 0.08);
}

.wgi-global-hero {
  position: relative;
  background: linear-gradient(135deg, #061E3E 0%, #0A2E5C 46%, #0D4B8A 82%, #1262AC 100%);
  color: #FFFFFF;
  overflow: hidden;
  padding: 58px 0 64px;
}

.wgi-global-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.24) 0%, rgba(0, 119, 200, 0.1) 50%, transparent 72%);
  pointer-events: none;
}

.wgi-global-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(186, 230, 253, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 230, 253, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 92%);
  pointer-events: none;
}

.wgi-hero-inner {
  position: relative;
  z-index: 2;
}

.wgi-global-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(125, 211, 252, 0.36);
  color: #BAE6FD;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wgi-hero-headline {
  font-size: clamp(1.48rem, 2.15vw, 2.12rem);
  font-weight: 800;
  line-height: 1.38;
  color: #FFFFFF !important;
  letter-spacing: 0;
  margin-bottom: 16px;
  text-wrap: balance;
}

.wgi-hero-lead {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.72;
  color: rgba(232, 244, 255, 0.9);
  max-width: 540px;
}

.wgi-hero-kpi-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.wgi-hero-kpi-pill {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(186, 230, 253, 0.22);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 118px;
}

.wgi-hero-kpi-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: #38BDF8;
  line-height: 1.15;
}

.wgi-hero-kpi-lbl {
  font-size: 11.5px;
  font-weight: 500;
  color: #DDEEFF;
}

.wgi-hero-visual-wrap {
  position: relative;
}

.wgi-hero-showcase-shell {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.28);
  background: rgba(6, 30, 62, 0.72);
  box-shadow: 0 28px 64px rgba(3, 18, 42, 0.55);
  backdrop-filter: blur(14px);
}

.wgi-hero-visual-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 780;
  background: #E8F4FF;
  overflow: hidden;
}

.wgi-hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease, opacity 0.35s ease;
}

.wgi-hero-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 20px;
  background: linear-gradient(90deg, rgba(10, 46, 92, 0.94) 0%, rgba(14, 75, 142, 0.9) 100%);
  border-top: 1px solid rgba(186, 230, 253, 0.18);
}

.wgi-hero-dock-bottle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
}

.wgi-hero-dock-bottle img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
  animation: wgiBottleLevitate 3.4s ease-in-out infinite;
}

.wgi-hero-stage-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.wgi-hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wgi-hero-dot-btn {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.wgi-hero-dot-btn.active {
  width: 44px;
  background: #38BDF8;
}

.wgi-hero-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(186, 230, 253, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.wgi-hero-arrow-btn:hover {
  background: #FFFFFF;
  color: #0A2E5C;
}

/* Global Trust & Compliance Bar */
.wgi-trust-bar {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(10, 46, 92, 0.08);
  padding: 18px 0;
  box-shadow: 0 8px 24px rgba(10, 46, 92, 0.04);
}

.wgi-trust-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.wgi-trust-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #145D9F;
  white-space: nowrap;
}

.wgi-trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.wgi-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #F0F7FF;
  border: 1px solid #D5E8FF;
  color: #0A2E5C;
  font-size: 12.5px;
  font-weight: 600;
}

.wgi-trust-chip i {
  color: #0284C7;
}

/* Editorial Numbered Bento Category Cards */
.wgi-cat-index {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 132, 199, 0.18);
  color: #0077C8;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 46, 92, 0.08);
  z-index: 2;
}

.wgi-cat-bottle-stage {
  background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #EAF4FF 70%, #D9ECFF 100%) !important;
}

.wgi-cat-bottle-img {
  mix-blend-mode: multiply;
}

.wgi-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #E8F4FF;
  color: #0077C8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

@media (max-width: 991.98px) {
  .wgi-global-hero {
    padding: 40px 0 48px;
  }
  .wgi-hero-float-bottle {
    right: 10px;
    top: 10px;
    width: 102px;
    padding: 8px;
  }
  .wgi-hero-float-bottle img {
    height: 68px;
  }
  .wgi-trust-items {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .wgi-3d-stage {
    width: 310px;
    height: 245px;
  }
  .wgi-stage-halo {
    width: 240px;
    height: 240px;
  }
  .wgi-orbit-ring-outer {
    width: 270px;
    height: 270px;
  }
  .wgi-orbit-ring-inner {
    width: 210px;
    height: 210px;
  }
  .wgi-orbit-bottle {
    height: 165px;
    max-width: 135px;
  }
  .wgi-hero-dock {
    padding: 12px 14px;
  }
  .wgi-hero-kpi-pill {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    padding: 9px 12px;
  }
  .wgi-trust-bar {
    padding: 14px 0;
  }
  .wgi-trust-chip {
    font-size: 11.5px;
    padding: 5px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wgi-intro-ambient-glow,
  .wgi-orbit-ring,
  .wgi-intro-floor-shadow,
  .wgi-avatar-body,
  .wgi-avatar-arm-wave,
  .wgi-avatar-head,
  .wgi-avatar-eyes,
  .wgi-avatar-bottle,
  .wgi-avatar-sparkle,
  .wgi-online-pulse {
    animation: none !important;
  }
}

/* ============================================================================
   UNIFIED GLOBAL BENTO SURFACES, PILL BUTTONS & ANIMATED ADMIN CONCIERGE
   ============================================================================ */
#page-container .btn:not(.btn-square):not(.btn-lg-square):not(.btn-sm-square):not(.carousel-control-prev):not(.carousel-control-next),
footer .btn:not(.btn-square):not(.btn-lg-square):not(.btn-sm-square),
.modal .btn:not(.btn-square):not(.btn-lg-square):not(.btn-sm-square) {
  border-radius: 999px !important;
  font-weight: 600;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

#page-container .btn:not(.btn-square):not(.btn-lg-square):not(.btn-sm-square):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(2, 132, 199, 0.22);
}

.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #061E3E 0%, #0A2E5C 48%, #0E4B8E 86%, #1464B8 100%) !important;
  border-bottom: 3px solid #38BDF8;
  box-shadow: inset 0 -18px 40px rgba(4, 21, 46, 0.35);
  padding-top: 2.8rem !important;
  padding-bottom: 2.8rem !important;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(186, 230, 253, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 230, 253, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.page-header::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -45%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.24) 0%, rgba(14, 165, 233, 0.08) 48%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-header > .container {
  position: relative;
  z-index: 2;
}

.wgi-ph-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.32);
  color: #BAE6FD;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.wgi-ph-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.85);
}

.page-header .breadcrumb {
  display: inline-flex;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(186, 230, 253, 0.28);
  backdrop-filter: blur(8px);
}

.wgi-ph-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 480px;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.wgi-ph-showcase::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 72%;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(4, 21, 46, 0.55) 0%, rgba(56, 189, 248, 0.16) 45%, transparent 74%);
  filter: blur(4px);
  pointer-events: none;
  z-index: 1;
}

.wgi-ph-showcase::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  width: 340px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.wgi-ph-stage {
  position: relative;
  width: 100%;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  z-index: 2;
}

.wgi-ph-track-line {
  display: none;
}

.wgi-ph-ring-halo {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 260px;
  height: 52px;
  margin-left: -130px;
  margin-top: 22px;
  border-radius: 50%;
  border: 1px dashed rgba(125, 211, 252, 0.22);
  pointer-events: none;
}

.wgi-ph-sprite {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 112px;
  height: 132px;
  margin-left: -56px;
  margin-top: -66px;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
  pointer-events: none;
}

.wgi-ph-sprite img {
  max-height: 126px;
  max-width: 106px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(4, 21, 46, 0.52)) drop-shadow(0 0 14px rgba(125, 211, 252, 0.28));
  user-select: none;
}

.wgi-ph-showcase[data-ph-mode="sustainability"]::after {
  background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.22) 0%, rgba(56, 189, 248, 0.14) 50%, transparent 74%);
}

.wgi-ph-showcase[data-ph-mode="decoration"] .wgi-ph-sprite img {
  filter: drop-shadow(0 14px 24px rgba(4, 21, 46, 0.55)) drop-shadow(0 0 18px rgba(186, 230, 253, 0.42));
}

@media (max-width: 1199.98px) {
  .wgi-ph-showcase {
    width: 390px;
    padding: 0;
  }
  .wgi-ph-stage {
    height: 148px;
  }
  .wgi-ph-sprite {
    width: 96px;
    height: 112px;
    margin-left: -48px;
    margin-top: -56px;
  }
  .wgi-ph-sprite img {
    max-height: 108px;
    max-width: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wgi-ph-showcase::after {
    animation: none !important;
  }
}

.wgi-bento-card {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid #DCEBFF;
  box-shadow: 0 10px 30px rgba(10, 46, 92, 0.06);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.wgi-bento-card:hover {
  transform: translateY(-5px);
  border-color: #7DD3FC;
  box-shadow: 0 20px 44px rgba(2, 132, 199, 0.14);
}

.wgi-news-cover {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.wgi-bento-card:hover .wgi-news-cover {
  transform: scale(1.06);
}

.wgi-gallery-frame img {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.wgi-gallery-frame:hover img {
  transform: scale(1.07);
}

.wgi-sidebar {
  border-radius: 20px !important;
  overflow: hidden;
  border: 1px solid #DCEBFF;
  box-shadow: 0 10px 28px rgba(10, 46, 92, 0.07);
}

.wgi-subcat-btn {
  border-radius: 999px !important;
  transition: all 0.22s ease;
}

.wgi-global-cta-box {
  border-radius: 26px;
  background: linear-gradient(135deg, #061E3E 0%, #0A2E5C 52%, #0E4B8E 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 22px 48px rgba(4, 21, 46, 0.24);
}

/* Floating Unboxed 3D Animated Avatar on Contact Us Bottom-Right White Area */
.wgi-floating-mascot {
  position: fixed;
  right: 22px;
  bottom: 88px;
  width: 148px;
  height: 158px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
}

.wgi-floating-speech {
  position: absolute;
  bottom: 154px;
  right: 0;
  width: max-content;
  max-width: 260px;
  background: #FFFFFF;
  color: #0A2E5C;
  border: 1.5px solid #BAE6FD;
  border-radius: 20px;
  padding: 8px 16px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.16);
  pointer-events: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wgi-floating-speech::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 68px;
  transform: rotate(45deg);
  width: 10px;
  height: 10px;
  background: #FFFFFF;
  border-right: 1.5px solid #BAE6FD;
  border-bottom: 1.5px solid #BAE6FD;
}

.wgi-floating-speech.wgi-speech-active {
  border-color: #38BDF8;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.26), 0 0 14px rgba(56, 189, 248, 0.3);
}

.wgi-speech-text {
  display: inline-block;
  transition: opacity 0.18s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.wgi-speech-text.is-switching {
  opacity: 0;
  transform: translateY(5px) scale(0.98);
}

.wgi-floating-mascot .wgi-concierge-svg {
  width: 148px;
  height: 158px;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 22px rgba(10, 46, 92, 0.22));
}

@media (max-width: 1199.98px) {
  .wgi-floating-mascot {
    position: relative;
    right: auto;
    bottom: auto;
    margin-left: auto;
    margin-top: 56px;
    margin-right: 8px;
    width: 135px;
    height: 145px;
  }
  .wgi-floating-speech {
    bottom: 142px;
    right: 0;
  }
  .wgi-floating-speech::after {
    right: 62px;
  }
  .wgi-floating-mascot .wgi-concierge-svg {
    width: 135px;
    height: 145px;
  }
}

.wgi-avatar-body {
  animation: wgiAvatarFloat 4s ease-in-out infinite;
  transform-origin: 130px 220px;
}

.wgi-avatar-arm-wave {
  animation: wgiAvatarWave 2.8s ease-in-out infinite;
  transform-origin: 74px 176px;
}

.wgi-concierge-stage.wgi-concierge-excited .wgi-avatar-arm-wave {
  animation: wgiAvatarWave 0.55s ease-in-out 2;
}

.wgi-avatar-head {
  animation: wgiAvatarHeadBob 4.8s ease-in-out infinite;
  transform-origin: 130px 140px;
}

.wgi-avatar-eyes {
  animation: wgiAvatarBlink 4.2s ease-in-out infinite;
  transform-origin: 130px 96px;
}

.wgi-avatar-bottle {
  animation: wgiAvatarBottleFloat 3.2s ease-in-out infinite;
  transform-origin: 208px 180px;
}

.wgi-avatar-sparkle {
  animation: wgiAmbientPulse 2.4s ease-in-out infinite alternate;
}

.wgi-concierge-bubble-wrap {
  position: relative;
}

.wgi-concierge-bubble {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(186, 230, 253, 0.34);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 13px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #F0F9FF;
  box-shadow: 0 10px 24px rgba(3, 18, 42, 0.25);
}

.wgi-concierge-bubble.wgi-bubble-pop {
  animation: wgiBubblePop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wgi-concierge-chip {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  color: #E0F2FE;
  border: 1px solid rgba(125, 211, 252, 0.36);
  cursor: pointer;
  transition: all 0.2s ease;
}

.wgi-concierge-chip:hover,
.wgi-concierge-chip.active {
  background: #FFFFFF;
  color: #0A2E5C;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

@keyframes wgiAvatarFloat {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-5px); }
}

@keyframes wgiAvatarWave {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-14deg); }
  50%      { transform: rotate(6deg); }
  75%      { transform: rotate(-10deg); }
}

@keyframes wgiAvatarHeadBob {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(2.5deg); }
}

@keyframes wgiAvatarBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.12); }
}

@keyframes wgiAvatarBottleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%      { transform: translateY(-4px) rotate(-3deg); }
}

@keyframes wgiConciergeBounce {
  0%, 100% { transform: translateY(0px) scale(1); }
  40%      { transform: translateY(-10px) scale(1.05); }
}

@keyframes wgiBubblePop {
  0%   { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Home About Highlight Year Card & Single-Line Bento Contact Pills */
.wgi-about-year-card {
  border-radius: 22px;
  background: linear-gradient(145deg, #0A2E5C 0%, #145D9F 60%, #0284C7 100%);
  box-shadow: 0 14px 32px rgba(10, 46, 92, 0.2);
  border: 1px solid rgba(186, 230, 253, 0.35);
}

.wgi-about-mosaic-img {
  border-radius: 20px !important;
}

.wgi-about-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F2F8FF 100%);
  border: 1px solid #D5E7FF;
  box-shadow: 0 8px 22px rgba(10, 46, 92, 0.06);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.wgi-about-contact-card:hover {
  transform: translateY(-3px);
  border-color: #38BDF8;
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.14);
}

.wgi-about-contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A2E5C 0%, #0284C7 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.24);
}

.wgi-about-contact-value {
  color: #0A2E5C;
  font-weight: 700;
  font-size: clamp(12.5px, 0.95vw, 14.25px);
  line-height: 1.3;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .wgi-about-contact-value {
    font-size: 13.5px;
    white-space: normal;
    word-break: break-word;
  }
}

/* Home 5-Category Responsive Bento Grid (Pharmaceutical, Cosmetic, Food, Beverage, Closures) */
.wgi-cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.wgi-cat-grid > .wgi-cat-col {
  flex: 0 0 calc((100% - 60px) / 4);
  max-width: calc((100% - 60px) / 4);
}

.wgi-cat-grid[data-cat-count="5"],
.wgi-cat-grid[data-cat-count="6"] {
  gap: 18px;
}

.wgi-cat-grid[data-cat-count="5"] > .wgi-cat-col,
.wgi-cat-grid[data-cat-count="6"] > .wgi-cat-col {
  flex: 0 0 calc((100% - 72px) / 5);
  max-width: calc((100% - 72px) / 5);
}

.wgi-cat-grid[data-cat-count="5"] .wgi-cat-body {
  padding: 18px 14px;
}

.wgi-cat-grid[data-cat-count="5"] .wgi-cat-title {
  font-size: 18px;
}

@media (max-width: 1199.98px) {
  .wgi-cat-grid {
    gap: 18px;
  }
  .wgi-cat-grid > .wgi-cat-col,
  .wgi-cat-grid[data-cat-count="5"] > .wgi-cat-col {
    flex: 0 0 calc((100% - 36px) / 3);
    max-width: calc((100% - 36px) / 3);
  }
}

@media (max-width: 767.98px) {
  .wgi-cat-grid > .wgi-cat-col,
  .wgi-cat-grid[data-cat-count="5"] > .wgi-cat-col {
    flex: 0 0 calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
  .wgi-cat-grid {
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  .wgi-cat-grid > .wgi-cat-col,
  .wgi-cat-grid[data-cat-count="5"] > .wgi-cat-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Global Single-Line Desktop Headings & Anti-Widow Typography */
.wgi-section-title {
  font-size: clamp(1.5rem, 2.35vw, 2.35rem);
  font-weight: 800;
  line-height: 1.28;
  color: #0A2E5C;
  text-wrap: balance;
}

.wgi-hero-kpi-lbl,
.wgi-trust-chip,
.wgi-hero-cta-btn {
  white-space: nowrap;
}

@media (min-width: 992px) {
  .wgi-section-title-single {
    white-space: nowrap;
  }
}

@media (min-width: 1200px) {
  .wgi-cat-grid[data-cat-count="5"] .wgi-cat-title {
    font-size: clamp(15px, 1.15vw, 17px);
    white-space: nowrap;
  }
  .wgi-cat-grid[data-cat-count="5"] .wgi-cat-sub {
    font-size: 10px;
    letter-spacing: 0.35px;
    white-space: nowrap;
  }
  .wgi-cat-grid[data-cat-count="5"] .wgi-cat-action-btn {
    white-space: nowrap;
    font-size: 12.5px;
    padding: 9px 12px;
  }
}

/* Balanced Single-Line Desktop Footer & Crisp Alignment */
.wgi-footer {
  background: linear-gradient(180deg, #071E3E 0%, #05162F 100%) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
}

.wgi-footer-heading {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.15px;
  color: #FFFFFF;
}

.wgi-footer-contact-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(12.75px, 0.92vw, 14px);
  line-height: 1.65;
  color: #CBD5E1;
}

.wgi-footer-ico {
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  color: #38BDF8;
  font-size: 13.5px;
}

.wgi-footer-text {
  min-width: 0;
  color: #CBD5E1;
}

.wgi-footer-text a:hover {
  color: #38BDF8 !important;
}

.wgi-footer-sep {
  color: rgba(148, 163, 184, 0.55);
  margin: 0 6px;
}

.wgi-footer-inline-group {
  display: inline-block;
  white-space: nowrap;
}

.wgi-footer .btn.btn-link {
  font-size: clamp(13px, 0.92vw, 14px);
  line-height: 1.65;
  color: #CBD5E1;
  margin-bottom: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.wgi-footer .btn.btn-link:hover {
  color: #FFFFFF;
  letter-spacing: normal;
  transform: translateX(4px);
}

.wgi-footer-work-days {
  color: #94A3B8;
  font-size: 13.5px;
}

.wgi-footer-work-hours {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF !important;
}

.wgi-footer-closed-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

#footer-closed-day {
  font-size: 13px;
  font-weight: 600;
  color: #BAE6FD !important;
}

.copyright {
  background: #041226 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #94A3B8;
}

@media (min-width: 1200px) {
  .wgi-footer-grid {
    display: grid;
    grid-template-columns: minmax(410px, 1.8fr) minmax(185px, 0.85fr) minmax(240px, 1.1fr) minmax(160px, 0.72fr);
    gap: 28px;
    margin-left: 0;
    margin-right: 0;
    align-items: start;
  }
  .wgi-footer-grid > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
  }
  .wgi-footer-heading,
  #footer-phone-row .wgi-footer-text,
  #footer-email-sales-row .wgi-footer-text,
  #footer-email-general-row .wgi-footer-text,
  #footer-email-plant-row .wgi-footer-text,
  .wgi-footer .btn.btn-link,
  .wgi-footer-work-days,
  .wgi-footer-work-hours,
  #footer-closed-day {
    white-space: nowrap;
  }
  html:not([lang="en"]) .wgi-footer #footer-address .wgi-footer-text {
    white-space: nowrap;
  }
}

/* Balanced Single-Line Products Sidebar & Non-Truncating Categories */
.wgi-sidebar-group-title {
  border-radius: 8px;
  font-size: 12.5px;
  letter-spacing: 0.15px;
}

.wgi-cat-folder-btn {
  font-size: 13px;
  line-height: 1.4;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.wgi-cat-folder-btn:hover {
  background: #F4F9FF;
}

.wgi-subcat-btn {
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1.35;
}

.wgi-subcat-label {
  min-width: 0;
  flex: 1;
  text-align: left;
  white-space: normal;
  word-break: normal;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .wgi-products-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    margin-left: 0;
    margin-right: 0;
    align-items: start;
  }
  .wgi-products-layout > .wgi-products-sidebar-col,
  .wgi-products-layout > .wgi-products-grid-col {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .wgi-products-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    margin-left: 0;
    margin-right: 0;
    align-items: start;
  }
  .wgi-products-layout > .wgi-products-sidebar-col,
  .wgi-products-layout > .wgi-products-grid-col {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
  }
  .wgi-cat-folder-label,
  .wgi-fact-label {
    white-space: nowrap;
  }
  .wgi-products-layout .wgi-subcat-btn {
    padding: 7px 10px;
    font-size: 11.25px;
    letter-spacing: -0.15px;
  }
  .wgi-products-layout .wgi-subcat-label {
    white-space: nowrap;
  }
  /* Sidebar ของหน้า เกี่ยวกับเรา & การพัฒนาอย่างยั่งยืน ให้ตัวอักษรคมชัด อ่านง่าย สมดุล */
  .wgi-sidebar .wgi-subcat-btn:not(.wgi-products-layout .wgi-subcat-btn) {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
  }
}

/* Sustainability Policy Statement & Full-Res Document Showcase */
.wgi-sus-statement-box {
  background: linear-gradient(135deg, #F0FDF4 0%, #EFF6FF 100%);
  border: 1px solid #BAE6FD;
  border-left: 4px solid #0284C7;
  border-radius: 18px;
}

.wgi-sus-pillar-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  color: #0A2E5C;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(10, 46, 92, 0.05);
}

.wgi-sus-doc-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wgi-sus-doc-card:hover {
  transform: translateY(-3px);
  border-color: #38BDF8;
  box-shadow: 0 14px 34px rgba(10, 46, 92, 0.1);
}

.wgi-sus-doc-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  background: #FFFFFF;
}

/* ============================================================================
 * [REVERSIBLE FEATURE] Product Bottle Gentle 3D Hover Sway (±20deg Slow Turntable)
 * หากต้องการย้อนกลับ: ลบบล็อก CSS นี้ + ตั้ง WGI_USE_SLOW_ROTATE_HOVER = false ใน app.js
 * ============================================================================ */
@keyframes wgiBottleHoverSway {
  0% {
    transform: translateY(-6px) scale(1.06) rotateY(0deg) rotateX(2deg);
    animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
  }
  25% {
    transform: translateY(-8px) scale(1.07) rotateY(20deg) rotateX(3deg);
    animation-timing-function: cubic-bezier(0.32, 0, 0.67, 0);
  }
  50% {
    transform: translateY(-6px) scale(1.06) rotateY(0deg) rotateX(1deg);
    animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
  }
  75% {
    transform: translateY(-8px) scale(1.07) rotateY(-20deg) rotateX(3deg);
    animation-timing-function: cubic-bezier(0.32, 0, 0.67, 0);
  }
  100% {
    transform: translateY(-6px) scale(1.06) rotateY(0deg) rotateX(2deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .wgi-signature-grid .wgi-product-card:hover .wgi-img-wrap img,
  .wgi-product-card:hover .wgi-img-wrap img {
    animation: wgiBottleHoverSway 6.2s infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wgi-signature-grid .wgi-product-card:hover .wgi-img-wrap img,
  .wgi-product-card:hover .wgi-img-wrap img {
    animation: none !important;
  }
}

/* ============================================================================
 * GLOBAL CAREERS & WELFARE PAGE LAYOUT (.wgi-career-*)
 * ============================================================================ */
.wgi-career-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 55%, #eaf2ff 100%);
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 26px;
  box-shadow: 0 18px 46px -22px rgba(10, 35, 70, 0.18);
  overflow: hidden;
}

.wgi-career-hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 310px;
  background: #e6effa;
  box-shadow: 0 14px 34px -14px rgba(12, 46, 89, 0.25);
}

.wgi-career-hero-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.wgi-career-hero-stat-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wgi-career-hero-pill {
  background: rgba(11, 37, 69, 0.84);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.wgi-career-pillar-card {
  background: #ffffff;
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: 20px;
  padding: 22px 20px;
  height: 100%;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.wgi-career-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.28);
  box-shadow: 0 16px 34px -18px rgba(10, 45, 95, 0.22);
}

.wgi-career-pillar-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e7f1ff 0%, #d4e6ff 100%);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.wgi-career-benefit-card {
  background: #ffffff;
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: 22px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
  box-shadow: 0 10px 28px -18px rgba(10, 40, 80, 0.18);
}

.wgi-career-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -20px rgba(10, 45, 95, 0.24);
}

.wgi-career-benefit-media {
  position: relative;
  height: 235px;
  overflow: hidden;
  background: #f1f5f9;
}

.wgi-career-benefit-media img {
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}

.wgi-career-benefit-card:hover .wgi-career-benefit-media img {
  transform: scale(1.04);
}

.wgi-career-benefit-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wgi-career-step-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: left;
  height: 100%;
}

.wgi-career-step-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* ============================================================================
 * MENU SKY-BLUE HOVER POLISH & CRYSTAL-BLUE CURSOR TRAIL
 * ============================================================================ */
@media (min-width: 1200px) {
  .wgi-main-navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px 11px !important;
    margin: 10px 2px !important;
    border-radius: 10px;
    transition: color 0.2s ease, background-color 0.22s ease, box-shadow 0.22s ease;
  }
  .wgi-main-navbar .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2.5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0284C7 0%, #38BDF8 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .wgi-main-navbar .navbar-nav .nav-link:hover,
  .wgi-main-navbar .navbar-nav .nav-link.active,
  .wgi-main-navbar .navbar-nav .show > .nav-link {
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.92) 0%, rgba(240, 249, 255, 0.72) 100%);
    color: #0284C7 !important;
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.28);
  }
  .wgi-main-navbar .navbar-nav .nav-link:hover::before,
  .wgi-main-navbar .navbar-nav .nav-link.active::before,
  .wgi-main-navbar .navbar-nav .show > .nav-link::before {
    transform: scaleX(1);
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .wgi-main-navbar .navbar-nav .nav-link {
    padding: 9px 8px !important;
    margin: 10px 1px !important;
    font-size: 13.4px !important;
  }
}

.wgi-main-navbar .dropdown-menu {
  border: 1px solid rgba(2, 132, 199, 0.16) !important;
  border-radius: 16px !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px -12px rgba(10, 46, 92, 0.22) !important;
}

.wgi-main-navbar .dropdown-item {
  border-radius: 10px !important;
  padding: 9px 14px !important;
  margin: 2px 0;
  color: #1E293B;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.wgi-main-navbar .dropdown-item:hover,
.wgi-main-navbar .dropdown-item:focus {
  background: linear-gradient(90deg, #E0F2FE 0%, #EFF6FF 100%) !important;
  color: #0369A1 !important;
  border-left-color: #0284C7;
  transform: translateX(4px);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.24);
}

.wgi-main-navbar .dropdown-item.fw-bold.text-primary:hover {
  background: linear-gradient(90deg, #BAE6FD 0%, #E0F2FE 100%) !important;
  color: #0A2E5C !important;
}

.wgi-subcat-btn:hover {
  background: linear-gradient(90deg, #E0F2FE 0%, #F0F9FF 100%);
  color: #0284C7;
  border-left-color: #0284C7;
  transform: translateX(3px);
}

