/* 
 * Modern Light Theme - SSL eCommerce 
 * ==================================
 */

:root {
  /* Brand Colors */
  --primary: #007bff;
  --primary-hover: #0056b3;
  --secondary: #1f2937;
  --accent: #f07725;
  --success: #10b981;

  /* Backgrounds */
  --bg-main: #f9fafb;
  --bg-surface: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.85);

  /* Text */
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;

  /* Accent hover */
  --accent-hover: #dc6520;

  /* Backgrounds */
  --bg-body: #f8fafc;

  /* Borders */
  --border-color: #e2e8f0;

  /* Layout */
  --border-radius: 8px;
  --border-radius-sm: 6px;
  --border-radius-lg: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-heading: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* Base resets & typography */
body {
  background-color: var(--bg-main) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading) !important;
  color: var(--secondary) !important;
  font-weight: 700;
}

/* Layout Container */
.cntwrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Glassmorphism Header */
#headermain {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.headercover {
  background: transparent !important;
  border: none !important;
}

.headbar {
  background: transparent !important;
  padding: 0 0 !important;
}

/* Main Navigation */
.navigation ul li a.main-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 15px;
  transition: color 0.2s ease;
  text-transform: none !important;
  background-color: #ffffff !important;
}

.navigation ul li a.main-link:hover,
.navigation ul li a.main-link.active,
.navigation ul li.active a.main-link {
  color: var(--primary) !important;
  background-color: transparent !important;
}
.navigation ul li.active {
  background-color: transparent !important;
}

/* Header Utilities */
.searchbox {
  border-radius: var(--border-radius-sm) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding: 8px 12px !important;
  background: var(--bg-surface) !important;
}

/* Buttons */
.smlbtn,
.button,
.navcta-link {
  background: var(--primary) !important;
  color: white !important;
  border-radius: var(--border-radius-sm) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  border: none !important;
  box-shadow: var(--shadow-sm);
}

.smlbtn:hover,
.button:hover,
.navcta-link:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Dropdown Menus Refresh */
#navssltype,
#tools-nav {
  background: var(--bg-surface) !important;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  margin-top: 15px;
  overflow: hidden;
}

.menusslbox {
  border-color: rgba(0, 0, 0, 0.05) !important;
  transition: background 0.2s ease;
}

.menusslbox:hover {
  background: var(--bg-main) !important;
}

/* Mega Menu Tabs Refresh */
.productmenu {
  display: flex;
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  overflow: hidden;
}

#promnutabs {
  display: flex !important;
  width: 100%;
}

.brandtabul {
  width: 200px;
  background: var(--bg-main) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  display: flex;
  flex-direction: column;
}

.brandtabul li {
  list-style: none;
  border: none !important;
  margin: 0 !important;
  background: transparent !important;
}

.brandtabul li a {
  display: block;
  padding: 15px 20px;
  color: var(--text-secondary);
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.brandtabul li.ui-tabs-active a,
.brandtabul li a:hover {
  background: var(--bg-surface);
  color: var(--primary);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--primary);
}

.brandtabul li span {
  display: none !important;
}

.mnuproductdecp {
  flex-grow: 1;
  padding: 12px;
  background: var(--bg-surface);
}

/* Mega Menu Product Grid */
.sslclist,
.csclist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.promenubox {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: var(--border-radius-sm) !important;
  padding: 8px;
  transition: all 0.2s ease;
  background: var(--bg-main) !important;
  width: auto !important;
  min-height: 80px;
  display: flex;
  align-items: center;
  margin: 0 !important;
}

.promenubox a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-primary);
  gap: 10px;
  width: 100%;
}

.promenubox span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.promenubox:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary) !important;
  background: var(--bg-surface) !important;
}

.promenubox:hover span {
  color: var(--primary);
}

/* Product Cards Grid Structure (for Home/Products) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #d9d5d6;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.product-card-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-card-features {
  flex-grow: 1;
  margin-bottom: 25px;
}

.product-card-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.product-card-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  margin-right: 10px;
}

/* Overrides for old structural elements on the homepage */
.tabshome .resp-tabs-container {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

#parentHorizontalTab {
  border: none !important;
}

.comodolist {
  /* border: none !important; */
  background: #fff !important;
  padding: 20px;
  border-radius: 0 14px 14px;
}

.prodctlisthead {
  padding: 0 0 30px 0 !important;
  background: transparent !important;
  border-bottom: none !important;
}

.prodctlistheadlt h2 {
  font-size: 32px !important;
  letter-spacing: -0.02em;
  color: var(--secondary) !important;
}

.customer-support {
  background: var(--bg-surface) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: var(--border-radius) !important;
  padding: 30px !important;
  margin-top: 40px !important;
  box-shadow: var(--shadow-sm) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customer-support p {
  font-size: 20px !important;
  margin: 0 !important;
  color: var(--secondary) !important;
  font-weight: 500;
}

.customer-support .meetusbtn {
  margin: 0 !important;
  float: none !important;
}

/* Adjust contact button in support box */
.customer-support .button {
  background: var(--primary) !important;
  color: white !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: var(--border-radius-sm) !important;
}

/* --- Modern Footer --- */
.modern-footer {
  background-color: var(--secondary);
  color: #9ca3af;
  padding-top: 60px;
  margin-top: 60px;
}

.modern-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.modern-footer .footer-heading {
  color: #f9fafb !important;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.modern-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-footer .footer-links li {
  margin-bottom: 12px;
}

.modern-footer .footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 14px;
}

.modern-footer .footer-links a:hover {
  color: var(--primary) !important;
  text-decoration: none;
}

.modern-footer .footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.modern-footer .footer-social {
  display: flex;
  gap: 15px;
}

.modern-footer .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #f9fafb;
  transition: all 0.2s ease;
  text-decoration: none;
}

.modern-footer .footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.modern-footer .footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.modern-footer .footer-bottom-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 15px;
}

.modern-footer .legal-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.modern-footer .legal-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.modern-footer .legal-links a:hover {
  color: #f9fafb !important;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .modern-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .modern-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .modern-footer .footer-middle,
  .modern-footer .footer-bottom-legal {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .modern-footer .footer-social,
  .modern-footer .legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  .comodolist {
    border-radius: 0 0 14px 14px;
  }
}

/* Modern Page Hero (Global for inner pages) */
.modern-page-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-radius: 0 0 24px 24px;
  margin-bottom: 60px;
}
.modern-page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 15px 0;
  color: #ffffff !important;
}
.modern-page-hero p {
  font-size: 18px;
  color: #94a3b8 !important;
  margin: 0;
}
@media (max-width: 768px) {
  .modern-page-hero {
    padding: 50px 20px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 40px;
  }
  .modern-page-hero h1 {
    font-size: 32px;
  }
  .prodctlistheadlt {
    width: 100%;
  }
  .customer-support {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
