/*
Theme Name: Innovate Theme by Teleworld AI
Description: A professional WordPress theme designed for AI businesses, featuring advanced AI integration, modern design, and comprehensive security features. Built with cutting-edge technology to provide intelligent solutions for modern businesses.
Version: 1.0.0
Author: TeleWorld AI
Author URI: https://teleworld.ai
Text Domain: teleworld-ai
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: ai, artificial-intelligence, business, modern, responsive, security, customizer, portfolio, testimonials, contact-form, newsletter, captcha, cors, api-integration
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #0f172a;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  color: #ffffff;
}

h3 {
  font-size: 2rem;
  color: #94a3b8;
}

p {
  margin-bottom: 1.5rem;
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  color: #8b5cf6;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #a855f7;
}

/* Layout Components */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.site-logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-menu a {
  color: #94a3b8;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

/* Header Login Button Styles - Consistent Sizing */
.btn-outline-small {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #8b5cf6;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 100px;
  white-space: nowrap;
}

.btn-outline-small:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: #8b5cf6;
  color: #a855f7;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  border: none;
  cursor: pointer;
  min-height: 44px;
  min-width: 120px;
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  color: white;
  text-decoration: none;
}

.cta-icon {
  font-size: 1rem;
}

/* Header CTA Container */
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    #1a1a2e 0%,
    #16213e 25%,
    #0f172a 50%,
    #1e1b4b 75%,
    #7c3aed 100%
  );
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 0 80px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(139,92,246,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #94a3b8;
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: #8b5cf6;
  border: 2px solid #8b5cf6;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
  color: #8b5cf6;
}

/* Content Area - Account for Fixed Header */
.content-area {
  padding-top: var(--header-height); /* Uses design system variable */
  min-height: calc(100vh - var(--header-height));
}

/* Section Styles */
.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #8b5cf6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Card Styles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.card-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-description {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  margin-bottom: 2rem;
}

.card-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #94a3b8;
}

.card-features li::before {
  content: "✓";
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  font-weight: bold;
  font-size: 0.8rem;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%) !important;
  padding: 40px 0 20px;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section li {
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #94a3b8;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #8b5cf6;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  color: #64748b;
}

/* Mobile Menu — base state: hidden. header-styles.css controls display at ≤900px */
.mobile-menu-toggle {
  display: none;
}

/* Responsive Design */
@media (max-width: 900px) {
  /* header-styles.css handles nav/toggle visibility at this breakpoint */
  .header-content {
    padding: 0.5rem 0;
  }
}

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    padding: 100px 0 70px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section {
    padding: 100px 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
  .hero-section {
    padding: 90px 0 60px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    text-align: center;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card {
    padding: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- 480px ---------- */
@media (max-width: 480px) {
  .hero-section {
    padding: 80px 0 50px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    border-radius: 14px;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .card-description {
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 1rem;
    padding: 12px 24px;
  }
}

/* ---------- 360px ---------- */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .card {
    padding: 1.25rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    border-radius: 12px;
  }

  .stat-number {
    font-size: 1.75rem;
  }
}

/* ---------- Landscape ---------- */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: auto;
    padding: 70px 0 40px;
  }

  .section {
    padding: 50px 0;
  }
}

/* ---------- Safe-area insets ---------- */
@supports (padding: env(safe-area-inset-left)) {
  .hero-content,
  .container {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* ---------- Print ---------- */
@media print {
  .hero-section,
  .section-dark {
    background: #fff !important;
  }

  .hero-section::before {
    display: none;
  }

  .hero-title,
  .section-title,
  .card-title {
    background: none;
    -webkit-text-fill-color: #1e293b;
    color: #1e293b;
  }

  .hero-subtitle,
  .section-subtitle,
  .card-description,
  .stat-label {
    color: #475569;
  }

  .card,
  .stat-item {
    break-inside: avoid;
    border: 1px solid #ccc;
    box-shadow: none;
  }

  .hero-buttons {
    display: none !important;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}

/* WordPress Specific */
.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.5rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .header-cta {
    display: none; /* Hidden on mobile, shown in mobile menu */
  }

  .btn-outline-small,
  .cta-button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Focus states for accessibility */
.btn-outline-small:focus,
.cta-button:focus {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-outline-small {
    border-color: #fff;
    color: #fff;
  }

  .cta-button {
    background: #fff;
    color: #000;
  }
}

/* AGGRESSIVE WooCommerce Dark Theme Override */
.woocommerce .woocommerce-products-header {
  display: none !important;
}

/* Google Fonts loaded via wp_head in functions.php — do not use @import */

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  grid-auto-flow: row !important;
  align-items: start !important;
  grid-template-rows: auto !important;
}

/* Force first 3 products to be in first row */
.woocommerce ul.products li.product:nth-child(1) {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.woocommerce ul.products li.product:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.woocommerce ul.products li.product:nth-child(3) {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

.woocommerce ul.products li.product {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(139, 92, 246, 0.4) !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s ease !important;
  list-style: none !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  box-sizing: border-box !important;
  min-height: 280px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  grid-column: auto !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3) !important;
  border-color: rgba(139, 92, 246, 0.5) !important;
}

.woocommerce .woocommerce-loop-product__title,
.woocommerce .woocommerce-loop-product__title a {
  color: #e2e8f0 !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.4 !important;
}

.woocommerce .price,
.woocommerce .price .amount {
  color: #8b5cf6 !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

.woocommerce .woocommerce-loop-product__link {
  color: #94a3b8 !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin-bottom: 1.5rem !important;
  display: block !important;
}

.woocommerce .button,
.woocommerce .button.alt,
.woocommerce .button.single_add_to_cart_button {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  border: none !important;
  color: white !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-sizing: border-box !important;
  margin-top: auto !important;
}

.woocommerce .button:hover,
.woocommerce .button.alt:hover,
.woocommerce .button.single_add_to_cart_button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4) !important;
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%) !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  color: #94a3b8 !important;
  margin-bottom: 2rem;
}

.woocommerce .woocommerce-ordering select {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  border-radius: 8px !important;
  color: #e2e8f0 !important;
  padding: 0.5rem 1rem !important;
}

.woocommerce .woocommerce-ordering select option {
  background: #1f2937 !important;
  color: #e2e8f0 !important;
}

.woocommerce .woocommerce-breadcrumb {
  color: #94a3b8 !important;
}

.woocommerce .woocommerce-breadcrumb a {
  color: #8b5cf6 !important;
}

.woocommerce .woocommerce-notice,
.woocommerce .woocommerce-message {
  background: rgba(139, 92, 246, 0.1) !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  color: #e2e8f0 !important;
  border-radius: 8px !important;
}

.woocommerce .woocommerce-error {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  color: #e2e8f0 !important;
}

.woocommerce .woocommerce-info {
  background: rgba(59, 130, 246, 0.1) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  color: #e2e8f0 !important;
}

.woocommerce .woocommerce-pagination {
  margin-top: 3rem !important;
  text-align: center !important;
}

.woocommerce .woocommerce-pagination ul {
  display: flex !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce .woocommerce-pagination ul li {
  list-style: none !important;
  margin: 0 !important;
}

.woocommerce .woocommerce-pagination ul li a,
.woocommerce .woocommerce-pagination ul li span {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  color: #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 0.5rem 1rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: block !important;
}

.woocommerce .woocommerce-pagination ul li a:hover,
.woocommerce .woocommerce-pagination ul li span.current {
  background: rgba(139, 92, 246, 0.2) !important;
  border-color: #8b5cf6 !important;
  color: #e2e8f0 !important;
}

.woocommerce .woocommerce-pagination + ul.products {
  display: none !important;
}

@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .woocommerce ul.products li.product {
    padding: 1rem !important;
    min-height: 260px !important;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* Header Shopping Cart Styles */
.header-cart {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 44px;
  height: 44px;
  justify-content: center;
}

.cart-link:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
}

.cart-icon {
  font-size: 1.25rem;
  color: #e2e8f0;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
}

.cart-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: cartPulse 2s infinite;
}

@keyframes cartPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Mobile cart adjustments */
@media (max-width: 768px) {
  .header-cart {
    margin-right: 0.5rem;
  }

  .cart-link {
    min-width: 40px;
    height: 40px;
    padding: 0.4rem;
  }

  .cart-icon {
    font-size: 1.1rem;
  }

  .cart-badge {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }
}

/* Legal Pages Specific Styles */
.teleworld-legal-page {
  width: 100% !important;
  overflow-x: hidden !important;
}

.teleworld-legal-page .legal-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.teleworld-legal-page .legal-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 3rem !important;
  box-sizing: border-box !important;
}

.teleworld-legal-page .legal-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 2rem 0 !important;
  padding: 0 !important;
}

.teleworld-legal-page .legal-section h2 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.teleworld-legal-page .legal-section p {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.teleworld-legal-page .legal-section ul {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 1rem 1.5rem !important;
  padding: 0 !important;
  text-align: left !important;
}

.teleworld-legal-page .legal-header {
  text-align: center !important;
  width: 100% !important;
  max-width: none !important;
}

.teleworld-legal-page .legal-header h1 {
  width: 100% !important;
  max-width: none !important;
  text-align: center !important;
}

.teleworld-legal-page .legal-header p {
  width: 100% !important;
  max-width: none !important;
  text-align: center !important;
}
