:root {
  --primary-color: #FF6B9D;
  --secondary-color: #FFD93D;
  --accent-color: #6BCB77;
  --text-color: #2D3436;
  --light-text: #FFFFFF;
  --bg-light: #FFF5F7;
  --bg-white: #FFFFFF;
  --nav-color: #2D3436;
  --nav-hover-color: #FF6B9D;
  --footer-bg: #2D3436;
  --footer-text: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Heebo', 'Arial', sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  background: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1 {
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h2 {
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h3 {
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h4 {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 0.75rem !important;
  margin-top: 0.5rem !important;
}

h5, h6 {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 0.5rem !important;
  margin-top: 0.5rem !important;
}

p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
}

small, .small-text {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-link:focus,
.logo-link:active {
  outline: none !important;
  box-shadow: none !important;
}

.logo {
  min-height: 30px;
  height: auto;
  width: auto;
  max-width: 100px;
  max-height: 40px;
  object-fit: contain;
  display: block;
  background: transparent;
  transition: opacity 0.3s ease;
}

.logo:hover {
  .8;
}

.brand-title,
.nav-brand h1,
.nav-brand .brand-name,
.nav-brand span:not(.mobile-toggle span) {
  display: none !important;
}

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

.nav-menu li a {
  color: var(--nav-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--nav-hover-color);
}

.mobile-toggle,
.phone-header-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  flex-shrink: 0;
}

.mobile-toggle svg,
.phone-header-btn svg {
  color: var(--nav-color);
  transition: color 0.3s ease;
}

.mobile-toggle:focus,
.mobile-toggle:active,
.phone-header-btn:focus,
.phone-header-btn:active {
  outline: none;
  border: none;
  box-shadow: none;
}

.mobile-toggle:hover svg,
.phone-header-btn:hover svg {
  color: var(--nav-hover-color);
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 30px 40px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--light-text);
  max-width: 800px;
}

.hero h1 {
  color: var(--light-text);
  margin-bottom: 1.5rem !important;
}

.hero-subtitle {
  font-size: 20px !important;
  margin-bottom: 2rem !important;
  color: var(--light-text);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--light-text);
}

.btn-primary:hover {
  background: #E55A8A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,107,157,0.3);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--text-color);
}

.btn-secondary:hover {
  background: #F0C830;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--light-text);
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

.features {
  background: var(--bg-light);
  padding: 30px 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 32px;
  color: var(--light-text);
}

.products-preview {
  padding: 30px 40px;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #636E72;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--bg-light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 24px;
}

.about-preview {
  padding: 30px 40px;
  background: var(--bg-light);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-split.reverse {
  direction: ltr;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  direction: rtl;
}

.check-list {
  list-style: none;
  margin: 2rem 0;
}

.check-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 16px;
}

.check-list i {
  color: var(--accent-color);
  font-size: 20px;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 30px 40px;
  text-align: center;
}

.cta-content h2 {
  color: var(--light-text);
}

.cta-content p {
  color: var(--light-text);
  font-size: 18px;
  margin-bottom: 2rem !important;
}

.text-center {
  text-align: center;
}

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 30px 0;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  font-size: 20px;
  transition: all 0.3s ease;
}

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

.whatsapp-float {
  display: none;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 30px 40px;
  text-align: center;
  color: var(--light-text);
}

.page-header h1 {
  color: var(--light-text);
}

.page-header p {
  color: var(--light-text);
  font-size: 18px;
}

.products-section {
  padding: 30px 40px;
}

.product-category {
  margin-bottom: 4rem;
}

.product-category h2 {
  margin-bottom: 1rem !important;
}

.category-intro {
  color: #636E72;
  margin-bottom: 2rem !important;
}

.product-item {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-item .product-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-light);
}

.product-item .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 24px;
}

.about-story {
  padding: 30px 40px;
}

.values-section {
  padding: 30px 40px;
  background: var(--bg-light);
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 36px;
  color: var(--light-text);
}

.why-choose {
  padding: 30px 40px;
}

.features-list {
  max-width: 900px;
  margin: 3rem auto 0;
}

.feature-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  font-size: 24px;
  flex-shrink: 0;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  margin-bottom: 0.5rem !important;
}

.stats-section {
  padding: 30px 40px;
  background: var(--bg-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 30px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 18px;
  color: var(--text-color);
}

.contact-section {
  padding: 30px 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1rem !important;
}

.contact-methods {
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.method-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  font-size: 22px;
  flex-shrink: 0;
}

.method-details h3 {
  margin-bottom: 0.5rem !important;
}

.method-details p {
  color: #636E72;
  margin-bottom: 0.25rem !important;
}

.contact-form-wrapper {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
}

.contact-form-wrapper h2 {
  margin-bottom: 2rem !important;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #DFE6E9;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

@media (max-width: 1024px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 20px !important; }
  p { font-size: 15px !important; }
}

@media (max-width: 768px) {
  .nav-container {
    padding-left: 60px;
    padding-right: 60px;
  }
  
  .mobile-toggle,
  .phone-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  
  html[dir="rtl"] .mobile-toggle,
  html[lang="he"] .mobile-toggle,
  html[lang="ar"] .mobile-toggle {
    right: 15px;
    left: auto;
  }
  
  html[dir="rtl"] .phone-header-btn,
  html[lang="he"] .phone-header-btn,
  html[lang="ar"] .phone-header-btn {
    left: 15px;
    right: auto;
  }
  
  html[dir="ltr"] .mobile-toggle,
  html[lang="en"] .mobile-toggle,
  html[lang="es"] .mobile-toggle,
  html[lang="fr"] .mobile-toggle {
    left: 15px;
    right: auto;
  }
  
  html[dir="ltr"] .phone-header-btn,
  html[lang="en"] .phone-header-btn,
  html[lang="es"] .phone-header-btn,
  html[lang="fr"] .phone-header-btn {
    right: 15px;
    left: auto;
  }
  
  .nav-brand {
    margin: 0 auto;
    justify-content: center;
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .logo {
    min-height: 30px;
    max-width: 100px;
    max-height: 40px;
  }
  
  .whatsapp-float {
    display: flex;
    position: fixed;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background: #25d366;
    color: white;
    text-decoration: none;
  }
  
  html[lang="he"] .whatsapp-float,
  html[lang="ar"] .whatsapp-float,
  html[dir="rtl"] .whatsapp-float {
    right: 20px;
    left: auto;
  }
  
  html[lang="en"] .whatsapp-float,
  html[lang="es"] .whatsapp-float,
  html[lang="fr"] .whatsapp-float,
  html[dir="ltr"] .whatsapp-float {
    left: 20px;
    right: auto;
  }
  
  .hero {
    min-height: 500px;
    padding: 30px 20px;
  }
  
  h1 { font-size: 28px !important; margin-bottom: 1rem !important; margin-top: 0.5rem !important; }
  h2 { font-size: 22px !important; margin-bottom: 1rem !important; margin-top: 0.5rem !important; }
  h3 { font-size: 18px !important; margin-bottom: 1rem !important; margin-top: 0.5rem !important; }
  h4, h5, h6 { font-size: 16px !important; margin-bottom: 0.75rem !important; margin-top: 0.5rem !important; }
  p { font-size: 14px !important; }
  
  .hero-subtitle {
    font-size: 16px !important;
  }
  
  section {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  
  .features, .products-preview, .about-preview, .cta-section,
  .page-header, .products-section, .about-story, .values-section,
  .why-choose, .stats-section, .contact-section {
    padding: 30px 20px;
  }
  
  .about-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-wrapper {
    padding: 30px 20px;
  }
  
  .product-category h2,
  .section-title,
  .category-title {
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 480px) {
  .logo {
    min-height: 30px;
    max-width: 100px;
    max-height: 40px;
  }
}
/* CRITICAL: Ensure images are visible immediately (but don't interfere with accessibility toolbar) */
img, picture, figure {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Legal Footer Styles */

    /* Legal Footer Styles - WCAG AA Compliant */
    .legal-footer {
      background-color: #2c3e50;
      color: #ffffff;
      padding: 20px 0;
      font-size: 14px;
      border-top: 3px solid #3498db;
    }

    .legal-footer .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .legal-footer .footer-main {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .legal-footer .all-rights-reserved {
      flex: 1;
      min-width: 200px;
    }

    .legal-footer .all-rights-reserved p {
      margin: 0;
    }

    .legal-footer .zappy-attribution {
      text-align: center;
      width: 100%;
      padding-top: 15px;
      border-top: 1px solid #ffffff;
      opacity: 0.3;
    }

    .legal-footer .zappy-attribution p {
      margin: 0;
      font-size: 12px;
      color: rgba(255, 255, 255, 0.6);
      font-style: italic;
    }

    .legal-footer .footer-social {
      display: flex;
      align-items: center;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: center;
      flex-shrink: 0;
    }

    .legal-footer .footer-social a {
      color: #ffffff !important;
      text-decoration: none;
      font-size: 22px;
      transition: color 0.3s ease, transform 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.1);
    }

    .legal-footer .footer-social a:hover {
      color: #3498db !important;
      transform: scale(1.15);
      background-color: rgba(255, 255, 255, 0.2);
    }

    .legal-footer .footer-social a:focus {
      outline: 2px solid #3498db;
      outline-offset: 2px;
      border-radius: 50%;
    }
    
    .legal-footer .footer-social i {
      font-size: 20px;
    }

    .legal-footer .footer-legal {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
      justify-content: flex-end;
    }

    .legal-footer .footer-legal a {
      color: #ffffff !important;
      text-decoration: none;
      transition: color 0.3s ease, opacity 0.3s ease;
      font-weight: 500;
      opacity: 0.9;
    }

    .legal-footer .footer-legal a:hover {
      color: #ffffff !important;
      opacity: 1;
      text-decoration: underline;
    }

    .legal-footer .footer-legal a:focus {
      outline: 2px solid #ffffff;
      outline-offset: 2px;
      border-radius: 2px;
    }

    .legal-footer .separator {
      color: #ffffff !important;
      font-weight: 300;
      opacity: 0.7;
    }

    /* Responsive Design */
    @media (max-width: 968px) {
      .legal-footer .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 20px;
      }

      .legal-footer .all-rights-reserved {
        width: 100%;
        text-align: center;
      }

      .legal-footer .footer-social {
        justify-content: center;
        order: 2;
      }

      .legal-footer .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        order: 3;
      }
    }

    @media (min-width: 969px) {
      .legal-footer .footer-main {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: baseline;
        gap: 30px;
      }

      .legal-footer .all-rights-reserved {
        text-align: left;
        justify-self: start;
      }

      .legal-footer .footer-social {
        justify-self: center;
      }

      .legal-footer .footer-legal {
        justify-self: end;
        text-align: right;
      }
    }

    /* RTL adjustments */
    [dir="rtl"] .legal-footer .all-rights-reserved {
      text-align: right;
    }

    [dir="rtl"] .legal-footer .footer-legal {
      text-align: left;
    }

    @media (min-width: 969px) {
      [dir="rtl"] .legal-footer .all-rights-reserved {
        text-align: right;
        justify-self: end;
      }

      [dir="rtl"] .legal-footer .footer-legal {
        justify-self: start;
        text-align: left;
      }
    }

    /* RTL Support for Hebrew */
    [dir="rtl"] .legal-footer .footer-main {
      direction: rtl;
    }

    [dir="rtl"] .legal-footer .footer-legal {
      direction: rtl;
    }
    

/* Cookie Consent Styles */

/* Cookie Consent Customizations */
:root {
  --cc-btn-primary-bg: #3b82f6;
  --cc-btn-primary-border: #3b82f6;
  --cc-btn-primary-hover-bg: #2269dd;
}

#cc--main {
  font-family: inherit !important;
}

.cc-btn.cc--btn-primary {
  background-color: var(--cc-btn-primary-bg) !important;
  border-color: var(--cc-btn-primary-border) !important;
}

.cc-btn.cc--btn-primary:hover {
  background-color: var(--cc-btn-primary-hover-bg) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #cc--main .cc__btn {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }
  
  .cc__modal .cc__modal-content {
    margin: 10px !important;
  }
}

/* Cookie preferences button in footer */
.cookie-preferences-btn:hover {
  text-decoration: none !important;
}

/* Accessibility Styles */

/* Basic Accessibility Enhancements */
:root {
  --accessibility-focus: #2D3436;
}

/* Skip link styles */
.skip-link:focus {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  background: #000 !important;
  color: white !important;
  padding: 8px !important;
  text-decoration: none !important;
  z-index: 10000 !important;
  border-radius: 4px !important;
}

/* Enhanced focus indicators */
*:focus {
  outline: 2px solid var(--accessibility-focus) !important;
  outline-offset: 2px !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  * {
    border-color: currentColor !important;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Screen reader only content */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Custom Accessibility Toolbar Styling - Zappy Style */

/* Main button icon - ONLY target the floating button, not menu elements */
#mic-access-tool-general-button {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* AGGRESSIVELY hide all text in the button */
#mic-access-tool-general-button,
#mic-access-tool-general-button *:not(svg):not(path):not(circle):not(rect):not(polygon):not(ellipse):not(line):not(polyline):not(g) {
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  line-height: 0 !important;
  letter-spacing: -999em !important;
  white-space: nowrap !important;
}

/* Hide text nodes specifically */
#mic-access-tool-general-button::before,
#mic-access-tool-general-button::after {
  content: none !important;
  display: none !important;
}

/* Hover state - keep text hidden */
#mic-access-tool-general-button:hover {
  background-color: rgba(45, 52, 54, 0.1) !important;
  background: rgba(45, 52, 54, 0.1) !important;
  box-shadow: 0 2px 8px rgba(45, 52, 54, 0.2) !important;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
}

/* Target the SVG and make it the selected color */
#mic-access-tool-general-button svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  /* Convert green to selected color using dynamic CSS filter */
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(0deg) brightness(100%) contrast(100%) !important;
}

/* Also directly target all SVG elements to be the selected color */
#mic-access-tool-general-button svg,
#mic-access-tool-general-button svg *,
#mic-access-tool-general-button svg path,
#mic-access-tool-general-button svg circle,
#mic-access-tool-general-button svg rect,
#mic-access-tool-general-button svg polygon,
#mic-access-tool-general-button svg ellipse,
#mic-access-tool-general-button svg line,
#mic-access-tool-general-button svg polyline,
#mic-access-tool-general-button svg g {
  fill: #2D3436 !important;
  stroke: #2D3436 !important;
  color: #2D3436 !important;
}

/* Target images if the icon is an img instead of SVG */
#mic-access-tool-general-button img,
#mic-access-tool-general-button i {
  width: 18px !important;
  height: 18px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  /* Convert green to selected color using dynamic filter */
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(0deg) brightness(100%) contrast(100%) !important;
}

/* Menu header with selected color */
#mic-access-tool-box .mic-access-tool-box-header,
.mic-access-tool-box-header,
div[id*="mic-access-tool-box"] header,
div[id*="mic-access-tool-box"] .header {
  background: #2D3436 !important;
  color: white !important;
}

/* Make header text white - title and close button */
#mic-access-tool-box .mic-access-tool-box-header *,
.mic-access-tool-box-header *,
div[id*="mic-access-tool-box"] header *,
div[id*="mic-access-tool-box"] .header * {
  color: white !important;
}

/* Close button text */
#mic-access-tool-box .mic-access-tool-box-header button,
#mic-access-tool-box .mic-access-tool-box-header a,
#mic-access-tool-box [class*="close"],
#mic-access-tool-box button[title*="close"],
#mic-access-tool-box button[title*="Close"] {
  color: white !important;
  background: transparent !important;
}

/* Active buttons and highlights in menu */
#mic-access-tool-box button.active,
#mic-access-tool-box button:hover,
div[id*="mic-access-tool-box"] button.active,
div[id*="mic-access-tool-box"] button:hover {
  border-color: #2D3436 !important;
  color: #2D3436 !important;
  background-color: rgba(45, 52, 54, 0.1) !important;
}

/* Reset button */
#mic-access-tool-box button[title*="reset"],
#mic-access-tool-box button[title*="Reset"],
#mic-access-tool-box [class*="reset"],
div[id*="mic-access-tool-box"] button[class*="reset"] {
  background: #2D3436 !important;
  color: white !important;
}

/* Reset button text and icon */
#mic-access-tool-box button[title*="reset"] *,
#mic-access-tool-box button[title*="Reset"] *,
#mic-access-tool-box [class*="reset"] *,
div[id*="mic-access-tool-box"] button[class*="reset"] * {
  color: white !important;
}