/**
 * GSKILLS STORE - CUSTOM UI STYLES
 * High-performance, modern AI & Tech design system
 */

/* ==========================================================================
   1. HEADER & NAVIGATION ENHANCEMENTS
   ========================================================================== */
#masthead {
  transition: all 0.3s ease;
}

#masthead.stuck {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}

.header-nav .nav-top-link {
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.header-nav .nav-top-link:hover {
  color: var(--gskills-primary) !important;
}

/* ==========================================================================
   2. GSKILLS BRAND BADGES
   ========================================================================== */
.gskills-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--gskills-radius-full);
  line-height: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.gskills-badge-ai {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  color: #ffffff;
}

.gskills-badge-hot {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
}

.gskills-badge-sale {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #ffffff;
}

.gskills-badge-new {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #ffffff;
}

.gskills-loop-badge-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  pointer-events: none;
}

/* ==========================================================================
   3. PRODUCT GRID CARDS (MODERN FLATSOME HOVER)
   ========================================================================== */
.has-hover .box-image {
  border-radius: var(--gskills-radius-md);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.has-hover:hover .box-image {
  transform: translateY(-4px);
  box-shadow: var(--gskills-shadow-lg);
}

.product-small .box-text {
  padding-top: 12px;
}

.product-small .name a {
  font-size: 15px;
  font-weight: 600;
  color: var(--gskills-gray-900);
  line-height: 1.4;
}

.product-small .name a:hover {
  color: var(--gskills-primary);
}

.product-small .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--gskills-primary);
}

.product-small .price del {
  color: var(--gskills-gray-500);
  font-weight: 400;
  font-size: 13px;
  margin-right: 6px;
}

.product-small .price ins {
  text-decoration: none;
  color: var(--gskills-danger);
}

/* ==========================================================================
   4. SINGLE PRODUCT ACTIONS (MUA NGAY & TƯ VẤN ZALO)
   ========================================================================== */
.gskills-single-product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 20px;
}

.gskills-btn-buy-now {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--gskills-radius-md) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  cursor: pointer;
  width: 100%;
}

.gskills-btn-buy-now:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
}

.gskills-btn-zalo {
  background-color: #0068ff !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--gskills-radius-md) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.25) !important;
  text-decoration: none !important;
  width: 100%;
}

.gskills-btn-zalo:hover {
  background-color: #0056d6 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 104, 255, 0.35) !important;
}

.gskills-zalo-svg {
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   5. FEATURE CARDS & CTA BUTTON SHORTCODES
   ========================================================================== */
.gskills-feature-card {
  background: #ffffff;
  border: 1px solid var(--gskills-gray-200);
  border-radius: var(--gskills-radius-lg);
  padding: 24px;
  transition: var(--gskills-transition);
  position: relative;
  overflow: hidden;
}

.gskills-feature-card:hover {
  border-color: var(--gskills-primary-light);
  transform: translateY(-4px);
  box-shadow: var(--gskills-shadow-lg);
}

.gskills-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.gskills-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--gskills-radius-md);
  background: var(--gskills-primary-light);
  color: var(--gskills-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.gskills-card-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: var(--gskills-radius-full);
}

.gskills-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gskills-gray-900);
}

.gskills-card-desc {
  font-size: 14px;
  color: var(--gskills-gray-500);
  line-height: 1.6;
  margin: 0;
}

/* CTA Buttons */
.gskills-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--gskills-radius-md);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--gskills-transition);
}

.gskills-cta-glow {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #ffffff !important;
  box-shadow: var(--gskills-shadow-glow);
}

.gskills-cta-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.45);
}

/* ==========================================================================
   6. TRUST GRID & CHECKOUT BOX
   ========================================================================== */
.gskills-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.gskills-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--gskills-gray-100);
  border-radius: var(--gskills-radius-md);
  border: 1px solid var(--gskills-gray-200);
}

.gskills-trust-card .trust-icon {
  font-size: 24px;
  color: var(--gskills-primary);
  flex-shrink: 0;
}

.gskills-trust-card .trust-info h6 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--gskills-gray-900);
}

.gskills-trust-card .trust-info p {
  font-size: 12px;
  color: var(--gskills-gray-500);
  margin: 0;
  line-height: 1.4;
}

.gskills-checkout-trust-box {
  margin-top: 16px;
  padding: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--gskills-radius-md);
}

.gskills-checkout-trust-box .trust-item {
  font-size: 13px;
  color: #166534;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gskills-checkout-trust-box .trust-item:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   7. FLOATING CONTACT ACTIONS (BOTTOM CORNER)
   ========================================================================== */
.gskills-floating-contact {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gskills-floating-contact .float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--gskills-radius-full);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.gskills-floating-contact .float-btn:hover {
  transform: translateY(-3px) scale(1.02);
  color: #ffffff;
}

.gskills-floating-contact .float-zalo {
  background-color: #0068ff;
}

.gskills-floating-contact .float-phone {
  background-color: #16a34a;
}


/* ==========================================================================
   8. TOP BAR & HEADER CTA STYLING
   ========================================================================== */
#top-bar {
  background-color: var(--gskills-dark) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
}

.gskills-topbar-promo {
  color: #e2e8f0;
  font-weight: 500;
}

.gskills-topbar-links a {
  color: #93c5fd !important;
  font-weight: 500;
}

.gskills-topbar-links a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Header Main Border */
#masthead {
  border-bottom: 1px solid var(--gskills-gray-200);
}

/* Header CTA Button */
.header-button .button.primary {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 0 18px !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.header-button .button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   9. HERO SECTION & GLASS SHOWCASE BOX
   ========================================================================== */
.gskills-hero-section {
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.22), transparent 50%),
              radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.25), transparent 55%),
              #0f172a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gskills-hero-glass-box {
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--gskills-radius-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.45);
}

.gskills-hero-glass-box .glass-badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--gskills-radius-full);
}

/* ==========================================================================
   10. PRE-FOOTER CTA & 4-COLUMN DARK TECH FOOTER
   ========================================================================== */
.footer-1 {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0284c7 100%) !important;
  padding: 36px 0 !important;
  border-top: none !important;
}

.gskills-prefooter-cta .prefooter-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.gskills-prefooter-cta .prefooter-desc {
  color: #e0f2fe;
  font-size: 14.5px;
  margin: 0;
}

.gskills-prefooter-cta .prefooter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.gskills-prefooter-cta .prefooter-btn-shop {
  border-radius: var(--gskills-radius-md) !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.gskills-prefooter-cta .prefooter-btn-zalo {
  background-color: #ffffff !important;
  color: #1e40af !important;
  border-radius: var(--gskills-radius-md) !important;
  font-weight: 700 !important;
  border: none !important;
  margin: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gskills-prefooter-cta .prefooter-btn-zalo:hover {
  background-color: #f0f9ff !important;
  transform: translateY(-2px);
}

/* Footer 2 Dark Slate */
.footer-2 {
  background-color: var(--gskills-dark) !important;
  padding: 50px 0 36px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.gskills-footer-grid .footer-brand-logo {
  margin-bottom: 14px;
}

.gskills-footer-grid .footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 16px;
}

.gskills-footer-grid .footer-col-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.gskills-footer-grid .footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--gskills-secondary);
  border-radius: 2px;
}

.gskills-footer-grid ul.footer-contact-list,
.gskills-footer-grid ul.footer-links,
.gskills-footer-grid ul.footer-hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gskills-footer-grid ul li {
  font-size: 13.5px;
  color: #94a3b8;
  margin-bottom: 9px;
  line-height: 1.5;
}

.gskills-footer-grid ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.gskills-footer-grid ul li a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.gskills-footer-grid .footer-socials {
  margin-top: 14px;
}

.gskills-footer-grid .footer-socials .icon {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
}

.gskills-footer-grid .footer-socials .icon:hover {
  background: var(--gskills-primary) !important;
  color: #ffffff !important;
}

.footer-security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.footer-security-badges .sec-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--gskills-radius-sm);
}

/* Absolute Bottom Footer */
.absolute-footer {
  background-color: #020617 !important;
  color: #64748b !important;
  font-size: 12.5px;
  padding: 14px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
