

/* Self-hosted fonts (Inter + Rubik for multi-language support) */

/* Inter font (English / LTR languages) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Inter-Bold.woff2') format('woff2');
}

/* Rubik font (Hebrew / RTL languages) */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Rubik-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Rubik-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Rubik-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Rubik-Bold.woff2') format('woff2');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Rubik', 'Noto Sans Hebrew', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #64748b;
  --accent-color: #3b82f6;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --text-dark: #1a1a1a;
  --text-gray: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.navbar {
  background: #f8fafc;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  position: relative;
  max-width: 1440px;
  width: 100%;
  padding-left: 60px;
  padding-right: 60px;
}

.nav-brand {
  margin-right: 0;
  margin-left: 0;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.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 {
  opacity: 0.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-right: 0;
  margin-left: auto;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-cta-container {
  display: flex;
  align-items: center;
}

.nav-cta-item {
  list-style: none;
}

.nav-cta-btn {
  background: var(--primary-color);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid var(--primary-color);
}

.nav-cta-btn:hover {
  background: #1e40af;
  border-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.mobile-toggle svg {
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.phone-header-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.phone-header-btn svg {
  color: #1a1a1a;
  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(--primary-color);
}

@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%);
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    width: 50%;
    height: 75%;
    max-width: 50%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 1rem;
    box-shadow: var(--shadow);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-cta-container {
    display: none;
  }
  
  .nav-brand {
    margin: 0 auto;
    justify-content: center;
  }
  
  .logo {
    min-height: 30px;
    max-width: 100px;
    max-height: 40px;
  }
}

.nav-menu,
html[lang="he"] .nav-menu,
html[lang="ar"] .nav-menu{right: 0;left: auto;}

.mobile-toggle,
html[lang="he"] .mobile-toggle,
html[lang="ar"] .mobile-toggle{right: 15px;left: auto;}

.phone-header-btn,
html[lang="he"] .phone-header-btn,
html[lang="ar"] .phone-header-btn{left: 15px;right: auto;}

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

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

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

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
}

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

.hero h3 {
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
  color: #ffffff;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  font-size: 16px;
}

.btn-primary:hover {
  background: #1e40af;
  border-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

h1 {
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
  color: var(--text-dark);
}

h2 {
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
  color: var(--text-dark);
}

h3 {
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
  color: var(--text-dark);
}

p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
  color: var(--text-dark);
}

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

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

.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: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 24px;
}

.solutions-showcase {
  padding: 30px 40px;
}

.solutions-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.solution-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}html[dir="ltr"] .solution-reverse{direction: ltr;}html[dir="rtl"] .solution-reverse .solution-content{direction: rtl;}

.solution-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.solution-content {
  padding: 20px;
}

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

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

.industry-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.industry-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 24px;
}

.cta-section {
  background: var(--primary-color);
  color: #ffffff;
  padding: 30px 40px;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
}

.cta-section p {
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.cta-section .btn-primary {
  background: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
}

.cta-section .btn-primary:hover {
  background: var(--bg-light);
  border-color: var(--bg-light);
}

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

.page-hero h3 {
  max-width: 800px;
  margin: 0 auto;
}

.services-detailed {
  padding: 30px 40px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}html[dir="ltr"] .service-reverse{direction: ltr;}html[dir="rtl"] .service-reverse .service-detail-content{direction: rtl;}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.service-detail-content {
  padding: 20px;
}

.service-features {
  list-style: none;
  margin-top: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-features i {
  color: var(--primary-color);
  font-size: 18px;
}

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

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.value-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 24px;
}

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

.expertise-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.process-timeline {
  max-width: 800px;
  margin: 2rem auto 0;
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  padding: 20px;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

.commitment-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info-card,
.contact-form-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

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

.method-content h3 {
  margin-bottom: 0.5rem;
}

.method-content p {
  margin-bottom: 0.25rem;
}

.method-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.method-content a:hover {
  text-decoration: underline;
}

.method-note {
  font-size: 14px !important;
  color: var(--text-gray);
}

.why-contact {
  margin-top: 2rem;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 8px;
}

.why-contact ul {
  list-style: none;
  margin-top: 1rem;
}

.why-contact li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.why-contact i {
  color: var(--primary-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

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

.faq-item {
  background: var(--bg-white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.whatsapp-float {
  display: none;
}

@media (max-width: 768px) {
  .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,
  .whatsapp-float{right: 20px;left: auto;}
  
  .container {
    padding: 0 20px;
  }
  
  .hero {
    min-height: 400px;
    padding: 30px 20px;
  }
  
  section {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  
  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;
  }
  
  p {
    font-size: 14px !important;
  }
  
  .solution-item,
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }html[dir="rtl"] .solution-reverse,
  .service-reverse{direction: rtl;}
  
  .solution-image img,
  .service-detail-image img {
    height: 250px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 20px !important; }
  p { font-size: 15px !important; }
}
/* CRITICAL: Ensure images are visible immediately (but don't interfere with accessibility toolbar) */
img, picture, figure {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Legal Pages Content Styles */
.legal-page-content {
  padding: 120px 0 60px;
  min-height: 60vh;
  color: inherit;
}

.legal-page-content .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: inherit;
}

.legal-page-content .last-updated {
  color: #666;
  margin-bottom: 2rem;
  font-style: italic;
}

.legal-page-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: inherit;
}

.legal-page-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-page-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

[dir="rtl"] .legal-page-content ul {
  padding-left: 0;
  padding-right: 1.5rem;
}

.legal-page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-page-content .contact-box,
.legal-page-content .contact-info {
  background: rgba(0, 0, 0, 0.03);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-page-content .contact-box a,
.legal-page-content .contact-info a {
  color: inherit;
  text-decoration: underline;
}

.legal-page-content .contact-box a:hover,
.legal-page-content .contact-info a:hover {
  opacity: 0.8;
}

.legal-page-content .important-notice,
.legal-page-content .legal-reference {
  background: rgba(0, 0, 0, 0.03);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 4px solid currentColor;
}

[dir="rtl"] .legal-page-content .important-notice,
[dir="rtl"] .legal-page-content .legal-reference {
  border-left: none;
  border-right: 4px solid currentColor;
}


/* Legal Footer Styles */

    /* Legal Footer Styles - Header Colors */
    .legal-footer {
      background-color: #f2f2f2;
      color: #1a1a1a;
      padding: 20px 0;
      font-size: 16px;
      border-top: 3px solid #1a202c;
    }

    .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 !important;
      margin-bottom: 0 !important;
    }

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

    .legal-footer .zappy-attribution p {
      margin: 0;
      font-size: 16px;
      color: #1a1a1a;
      font-style: italic;
    }
    
    .legal-footer .zappy-attribution a {
      color: #1a1a1a;
      text-decoration: underline;
    }

    .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: #1a1a1a !important;
      text-decoration: none;
      font-size: 22px;
      transition: color 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      height: 40px;
      border-radius: 50%;
      background-color: transparent !important;
      opacity: 0.8;
    }

    .legal-footer .footer-social a:hover {
      color: #1a202c !important;
      transform: scale(1.15);
      opacity: 1;
    }

    .legal-footer .footer-social a:focus {
      outline: 2px solid #1a202c;
      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: #1a1a1a !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: #1a1a1a !important;
      opacity: 1;
      text-decoration: underline;
    }

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

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

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

      .legal-footer .footer-social {
        justify-content: center;
        order: 1;
        margin-bottom: 20px;
      }

      .legal-footer .all-rights-reserved {
        width: 100%;
        text-align: center;
        order: 2;
        margin-bottom: 5px;
      }

      .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;
        margin-bottom: 10px;
      }

      .legal-footer .all-rights-reserved {
        text-align: end;
        justify-self: start;
        margin-bottom: 0;
      }

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

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

    /* RTL adjustments - only for desktop */
    @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 mobile - keep centered */
    @media (max-width: 968px) {
      [dir="rtl"] .legal-footer .all-rights-reserved {
        text-align: center;
      }

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

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

    [dir="rtl"] .legal-footer .footer-legal {
      direction: rtl;
    }.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 *//* Cookie preferences button in footer *//* Accessibility Styles */

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

/* 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 */

/* Hover state - keep text hidden */
#mic-access-tool-general-button:hover {
  background-color: rgba(242, 242, 242, 0.1) !important;
  background: rgba(242, 242, 242, 0.1) !important;
  box-shadow: 0 2px 8px rgba(242, 242, 242, 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: #f2f2f2 !important;
  stroke: #f2f2f2 !important;
  color: #f2f2f2 !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: #f2f2f2 !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: #f2f2f2 !important;
  color: #f2f2f2 !important;
  background-color: rgba(242, 242, 242, 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: #f2f2f2 !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;
}

/* Hide accessibility widget by default on all screen sizes */
/* TODO: Can be re-enabled in the future by removing display: none */
/* The widget can be shown via ALT+A keyboard shortcut (desktop only) */
/* Target Mickidum accessibility button with high specificity */

/* Target Mickidum accessibility menu with high specificity */

/* Show accessibility widget when ALT+A keyboard shortcut is used (desktop only) */


/* On mobile, ensure it stays hidden */
@media (max-width: 768px) {
  /* Hide the accessibility button on mobile - higher specificity */
  
  /* Hide the accessibility menu on mobile - higher specificity */
  
  /* Ensure mobile never shows widget even with keyboard shortcut */
}/* Added Component Styles */
/* Gallery Section Styles */
.gallery-section{padding: 4rem 1rem;background-color: #f8fafc;}html[dir="rtl"] /* Added Component Styles */
/* Gallery Section Styles */
.gallery-section{direction: rtl;}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
  }
  
  .gallery-section {
    padding: 3rem 1rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .gallery-section {
    padding: 2.5rem 0.75rem;
  }
  
  .gallery-item {
    aspect-ratio: 1/1;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-section {
    padding: 2rem 0.5rem;
  }
  
  .gallery-item {
    aspect-ratio: 16/9;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .gallery-item,
  .gallery-image {
    transition: none;
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .gallery-item:hover .gallery-image {
    transform: none;
  }
}

/* Focus states for keyboard navigation */
.gallery-item:focus-within {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Added Component Styles */

/* ==ZAPPY E-COMMERCE CSS== */
/* E-commerce Enhancement Styles - Inherits site theme colors */
.ecommerce-page {
  padding: 60px 24px;
  padding-top: 24px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 60vh;
}
.products-section { padding: 20px 0; }
.products-section h1, .cart-section h1, .checkout-section h1, .login-section h1 { text-align: center; margin-top: 0; margin-bottom: 24px; font-size: 2rem; color: var(--text-color, var(--text, #1f2937)); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; margin-top: 24px; }
.product-card {
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: var(--surface-color, var(--surface, #fff));
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.product-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-color: var(--primary-color, var(--primary, #ff0083)); }
/* Inner wrapper (not a link) — avoids invalid <button> inside <a> on favorites */
.product-card .product-card-inner { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.product-card-image-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card-body-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.product-card-body-link:hover { text-decoration: none; }
/* Full-bleed media — image fills card top / list column (no inset box) */
.product-card-media {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background: #f3f4f6;
}
.product-grid:not(.view-list) .product-card .product-card-media { aspect-ratio: 1 / 1; }
.product-grid:not(.view-list) .product-card.standard .product-card-media { aspect-ratio: 1 / 1; }
/* Detailed uses the same square media as standard/compact to match the square product asset workflow. */
.product-grid:not(.view-list) .product-card.detailed .product-card-media { aspect-ratio: 1 / 1; }
.product-card-image-link img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center;
  display: block;
  border-radius: 0;
  vertical-align: middle;
}
.product-card-image-link .no-image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f3f4f6 0%, #e8eaee 100%);
  color: #9ca3af;
  font-size: 40px;
  border-radius: 0;
}
/* Tags vs favorite: opposite physical corners (avoids RTL/logical quirks where both ended up on the same side) */
.product-card-media .product-tags {
  position: absolute;
  top: 8px;
  left: 8px;
  right: auto;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: calc(100% - 52px);
  pointer-events: none;
}
[dir="rtl"] .product-card-media .product-tags {
  right: 8px;
  left: auto;
}
.product-card-media .product-tags .product-tag { pointer-events: auto; }
.card-favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  left: auto;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  background: rgba(255,255,255,0.92);
  color: var(--text-secondary, #6b7280);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.card-favorite-btn:hover {
  background: rgba(255,255,255,1);
  color: var(--primary-color, var(--primary, #e74c3c));
  transform: scale(1.06);
}
.card-favorite-btn .heart-filled { display: none; }
.card-favorite-btn.active .heart-outline { display: none; }
.card-favorite-btn.active .heart-filled { display: block; }
.card-favorite-btn.active {
  color: #e74c3c;
  background: rgba(255,255,255,1);
  box-shadow: 0 2px 10px rgba(231,76,60,0.22);
}
.card-favorite-btn svg { width: 18px; height: 18px; }
[dir="rtl"] .card-favorite-btn {
  left: 8px;
  right: auto;
}
.product-card .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 12px 14px 14px;
}
.product-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3 !important;
  color: var(--text-color, var(--text, #1f2937));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
  min-height: 0;
  word-break: break-word;
}
.product-card p {
  font-size: 14px !important;
  color: var(--text-secondary, #6b7280);
  line-height: 1.45em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 0 6px 0;
  flex-shrink: 0;
  padding: 0 !important;
  min-height: 0;
}
.product-card ul { font-size: 14px; color: var(--text-secondary, #6b7280); line-height: 1.4em; margin: 0 0 8px 0; padding-inline-start: 20px; list-style-position: outside; }
.product-card li { font-size: 14px; color: var(--text-secondary, #6b7280); margin-bottom: 4px; }
/* Block flow (not flex): flex + mixed RTL Hebrew + LTR currency fragments into
   anonymous items and can clip “החל מ” to a single letter with baseline alignment. */
.product-card .price {
  font-weight: 700;
  color: var(--primary-color, var(--accent, var(--primary, #ff0083)));
  font-size: 18px;
  margin-top: auto;
  padding-top: 6px;
  display: block;
  line-height: 1.35;
  overflow: visible;
  word-break: normal;
  overflow-wrap: anywhere;
}
.product-card .price .original-price { font-size: 14px; color: var(--text-secondary, #6b7280); text-decoration: line-through; margin-inline-start: 8px !important; font-weight: 400; display: inline-block; vertical-align: baseline; }
.product-card .add-to-cart { width: 100%; margin-top: 0; padding: 10px; background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); border: none; border-radius: 8px; cursor: pointer; font-weight: 600; transition: filter 0.2s; flex-shrink: 0; }
.product-card .add-to-cart:hover { filter: brightness(0.9); }
.product-card a.view-details-btn { display: block; text-align: center; text-decoration: none; color: var(--text-light, #fff); box-sizing: border-box; }

/* Compact layout - small cards with image, name, price only */
.product-grid.layout-compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.product-grid:not(.view-list) .product-card.compact .product-card-media { aspect-ratio: 1 / 1; }
.product-card.compact .card-content { padding: 10px 12px 12px; }
.product-card.compact h3 { font-size: 14px; margin: 0 0 4px; -webkit-line-clamp: 1; }
.product-card.compact p { display: none; }
.product-card.compact .price { font-size: 16px; padding-top: 2px; }
.product-card.compact .add-to-cart { display: none; }

/* Standard layout - balanced cards with image, name, short description, price */
.product-grid.layout-standard { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-card.standard p { -webkit-line-clamp: 2 !important; }
.product-card.standard .add-to-cart { display: none; }

/* Detailed layout - large cards with full description and add-to-cart */
.product-grid.layout-detailed { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.product-grid:not(.view-list) .product-card.detailed .product-card-media { aspect-ratio: 1 / 1; }
.product-card.detailed .card-content { padding: 14px 16px 12px; }
.product-card.detailed h3 { font-size: 18px; margin: 0 0 8px; -webkit-line-clamp: 2; }
/* Must beat .product-card p { -webkit-line-clamp: 3 !important } */
.product-card.detailed p {
  -webkit-line-clamp: 8 !important;
  margin-bottom: 8px;
  min-height: 0;
}
.product-card.detailed .price { font-size: 20px; padding-top: 8px; }
.product-card.detailed .add-to-cart { display: block; width: auto; padding: 12px; margin: 0 14px 14px; align-self: stretch; box-sizing: border-box; }

.product-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.filter-btn { padding: 8px 16px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 20px; background: var(--surface-color, var(--surface, #fff)); cursor: pointer; color: var(--text-color, var(--text, #374151)); transition: all 0.2s; }
.filter-btn:hover { border-color: var(--primary-color, var(--primary, #ff0083)); }
.filter-btn.active { background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); border-color: var(--primary-color, var(--primary, #ff0083)); }

/* Products layout with sidebar */
.products-layout { display: flex; gap: 24px; margin-top: 16px; }
.products-layout .products-main { flex: 1; min-width: 0; }

/* Toolbar */
.products-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--border-color, #e5e7eb); margin-bottom: 8px; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 12px; }
.products-count { font-size: 13px; color: var(--text-secondary, #6b7280); }
.sidebar-toggle-btn { display: none; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; background: var(--surface-color, var(--surface, #fff)); cursor: pointer; color: var(--text-color, var(--text, #374151)); font-size: 13px; transition: border-color 0.2s; }
.sidebar-toggle-btn:hover { border-color: var(--primary-color, var(--primary, #ff0083)); }

/* Sort dropdown */
.sort-control select { padding: 7px 28px 7px 12px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; background: var(--surface-color, var(--surface, #fff)); color: var(--text-color, var(--text, #374151)); font-size: 13px; cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
[dir="rtl"] .sort-control select { padding: 7px 12px 7px 28px; background-position: left 10px center; }
.sort-control select:focus { outline: none; border-color: var(--primary-color, var(--primary, #ff0083)); box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 255,0,131), 0.1); }

/* View toggle */
.view-toggle { display: flex; border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; overflow: hidden; }
.view-btn { padding: 6px 10px; background: var(--surface-color, var(--surface, #fff)); border: none; cursor: pointer; color: var(--text-secondary, #6b7280); display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.view-btn:not(:last-child) { border-right: 1px solid var(--border-color, #e5e7eb); }
[dir="rtl"] .view-btn:not(:last-child) { border-right: none; border-left: 1px solid var(--border-color, #e5e7eb); }
.view-btn.active { background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); }
.view-btn:hover:not(.active) { background: var(--surface-hover, #f3f4f6); }

.product-grid:not(.view-list) .product-card .product-tags { display: none !important; }
/* Sidebar */
.product-sidebar { width: 240px; flex-shrink: 0; position: sticky; top: calc(var(--total-header-height, 120px) + 20px); max-height: calc(100vh - var(--total-header-height, 120px) - 40px); overflow-y: auto; align-self: flex-start; }
.product-sidebar .sidebar-section { margin-bottom: 20px; }
.product-sidebar .sidebar-section-title { font-size: 14px; font-weight: 600; color: var(--text-color, var(--text, #1f2937)); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border-color, #e5e7eb); }
.product-sidebar .sidebar-item { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: 13px; color: var(--text-color, var(--text, #374151)); transition: color 0.15s; overflow: visible; }
.product-sidebar .sidebar-item:hover { color: var(--primary-color, var(--primary, #ff0083)); }
.product-sidebar .sidebar-item input[type="checkbox"] { accent-color: var(--primary-color, var(--primary, #ff0083)); width: 15px; height: 15px; min-width: 15px; flex-shrink: 0; cursor: pointer; }
.product-sidebar .sidebar-item .count { margin-inline-start: auto; font-size: 12px; color: var(--text-secondary, #9ca3af); }
.product-sidebar .price-range-inputs { display: flex; gap: 8px; align-items: center; }
.product-sidebar .price-range-inputs input { width: 80px; padding: 6px 8px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 6px; font-size: 13px; background: var(--surface-color, var(--surface, #fff)); color: var(--text-color, var(--text, #374151)); }
.product-sidebar .price-range-inputs input:focus { outline: none; border-color: var(--primary-color, var(--primary, #ff0083)); }
.product-sidebar .price-filter-btn { margin-top: 8px; padding: 6px 16px; background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); border: none; border-radius: 6px; font-size: 13px; cursor: pointer; transition: filter 0.2s; }
.product-sidebar .price-filter-btn:hover { filter: brightness(0.9); }
.product-sidebar .sidebar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border-color, #e5e7eb); gap: 8px; }
.product-sidebar .sidebar-header-actions { display: flex; align-items: center; gap: 8px; }
.product-sidebar .sidebar-mobile-close { display: none; }
.product-sidebar .sidebar-title { font-size: 16px; font-weight: 700; color: var(--text-color, var(--text, #1f2937)); }
.product-sidebar .sidebar-clear-btn { background: none; border: 1px solid var(--border-color, #e5e7eb); border-radius: 6px; padding: 4px 10px; font-size: 11px; color: var(--text-secondary, #6b7280); cursor: pointer; transition: all 0.2s; }
.product-sidebar .sidebar-clear-btn:hover { border-color: var(--primary-color, var(--primary, #ff0083)); color: var(--primary-color, var(--primary, #ff0083)); }
.product-sidebar .sidebar-item input[type="radio"] { accent-color: var(--primary-color, var(--primary, #ff0083)); width: 15px; height: 15px; min-width: 15px; flex-shrink: 0; cursor: pointer; }

/* Sidebar overlay on mobile */
.sidebar-overlay { display: none; }

/* List view */
.product-grid.view-list { display: flex; flex-direction: column; gap: 12px; }
.product-grid.view-list .product-card { flex-direction: row; align-items: stretch; max-height: none; position: relative; overflow: hidden; padding: 0; }
.product-grid.view-list .product-card .product-card-inner { flex-direction: row; gap: 0; flex: 1; min-width: 0; align-items: stretch; }
.product-grid.view-list .product-card .product-card-media {
  width: 180px;
  min-width: 180px;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 180px;
  aspect-ratio: 1 / 1;
  border-start-start-radius: 12px;
  border-end-start-radius: 12px;
}
.product-grid.view-list .product-card-image-link img,
.product-grid.view-list .product-card-image-link .no-image-placeholder {
  min-height: 180px;
}
.product-grid.view-list .product-card .card-content { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 14px 16px; justify-content: center; }
.product-grid.view-list .product-card h3 { height: auto; -webkit-line-clamp: 2; margin: 0 0 4px 0; font-size: 16px; white-space: normal; overflow: hidden; text-overflow: unset; display: -webkit-box; -webkit-box-orient: vertical; }
.product-grid.view-list .product-card p { height: auto; -webkit-line-clamp: 3 !important; -webkit-box-orient: vertical; display: -webkit-box !important; overflow: hidden; margin: 0 0 8px 0; font-size: 13px !important; line-height: 1.5; color: var(--text-secondary, #6b7280); }
.product-grid.view-list .product-card .price { margin-top: auto; padding-top: 4px; font-size: 16px; }
.product-grid.view-list .product-card .product-tags { display: flex !important; top: 6px; left: 6px; right: auto; max-width: calc(100% - 52px); }
[dir="rtl"] .product-grid.view-list .product-card .product-tags { right: 6px; left: auto; }
.product-grid.view-list .product-card .product-tags .tag-badge { font-size: 9px; padding: 1px 5px; line-height: 1.4; border-radius: 3px; }
.product-grid.view-list .product-card .add-to-cart { position: absolute; bottom: 14px; inset-inline-end: 14px; width: auto; margin: 0; padding: 8px 20px; font-size: 13px; }
.product-grid.view-list .card-favorite-btn { top: 8px; right: 8px; left: auto; }
[dir="rtl"] .product-grid.view-list .card-favorite-btn { left: 8px; right: auto; }

@media (max-width: 768px) {
  .products-layout { flex-direction: column; }
  .products-toolbar { flex-wrap: wrap; gap: 6px; padding: 8px 0; }
  .sidebar-toggle-btn { display: flex !important; order: 0; padding: 8px 10px !important; font-size: 12px !important; }
  .toolbar-left { order: 2; width: 100%; }
  .toolbar-left .products-count { display: block; text-align: center; font-size: 12px; }
  .toolbar-right { order: 1; display: flex; gap: 8px; }
  .sort-control { flex: 1; }
  .sort-control select { width: 100%; font-size: 12px !important; padding: 8px 24px 8px 10px !important; }
  [dir="rtl"] .sort-control select { padding: 8px 10px 8px 24px !important; }
  .view-toggle { flex-shrink: 0; }
  .view-btn { padding: 6px 8px !important; }
  .product-sidebar { position: fixed; top: 0; bottom: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: var(--background-color, var(--background, #fff)); padding: 20px; padding-top: calc(var(--total-header-height, 80px) + 10px); overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: none; max-height: none; }
  [dir="rtl"] .product-sidebar { transform: translateX(100%); right: 0; left: auto; }
  .product-sidebar.open { transform: translateX(0); }
  .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; }
  .sidebar-overlay.active { display: block; }
  .product-sidebar .sidebar-mobile-close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: none; background: var(--surface-color, #f3f4f6); border-radius: 50%; cursor: pointer; color: var(--text-color, #374151); font-size: 20px; line-height: 1; flex-shrink: 0; }
  .product-sidebar .sidebar-mobile-close:hover { background: var(--border-color, #e5e7eb); }
  .products-main .product-grid.product-grid:not(.view-list) { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; margin-top: 12px !important; }
  .toolbar-left .products-count { width: 100% !important; }
  .products-main .product-grid:not(.view-list) .product-card { padding: 0 !important; }
  .products-main .product-grid:not(.view-list) .product-card .product-card-media { aspect-ratio: 1 / 1 !important; min-height: 0 !important; }
  .products-main .product-grid:not(.view-list) .product-card .card-content { padding: 8px 10px 10px !important; }
  .products-main .product-grid:not(.view-list) .product-card h3 { font-size: 13px !important; margin: 0 0 4px !important; overflow: hidden !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; }
  .products-main .product-grid:not(.view-list) .product-card p { font-size: 11px !important; overflow: hidden !important; margin: 0 0 4px 0 !important; -webkit-line-clamp: 1 !important; display: -webkit-box !important; -webkit-box-orient: vertical !important; }
  .products-main .product-grid:not(.view-list) .product-card.detailed p { -webkit-line-clamp: 5 !important; }
  .products-main .product-grid:not(.view-list) .product-card .price { font-size: 14px !important; padding-top: 2px !important; }
  .products-main .product-grid:not(.view-list) .product-card .add-to-cart { width: auto !important; padding: 6px 10px !important; font-size: 11px !important; margin: 0 10px 10px !important; }
  .product-grid.view-list { display: flex !important; flex-direction: column !important; gap: 10px !important; }
  .product-grid.view-list .product-card { flex-direction: row; flex-wrap: nowrap; align-items: stretch; overflow: hidden; max-height: none; padding: 0 !important; gap: 0; }
  .product-grid.view-list .product-card .product-card-inner { flex: 1 1 0%; flex-direction: row; gap: 0; min-width: 0; }
  .product-grid.view-list .product-card .product-card-media { width: 104px !important; min-width: 104px !important; min-height: 104px !important; aspect-ratio: 1 / 1 !important; border-start-start-radius: 12px; border-end-start-radius: 12px; }
  .product-grid.view-list .product-card-image-link img,
  .product-grid.view-list .product-card-image-link .no-image-placeholder { min-height: 104px !important; }
  .product-grid.view-list .product-card .card-content { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 10px 12px !important; }
  .product-grid.view-list .product-card h3 { font-size: 14px !important; margin: 0 0 2px 0 !important; -webkit-line-clamp: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block !important; height: auto !important; }
  .product-grid.view-list .product-card p { font-size: 11px !important; -webkit-line-clamp: 1 !important; margin: 0 0 2px 0; height: auto !important; }
  .product-grid.view-list .product-card .price { font-size: 13px; margin-top: auto; padding-top: 2px; }
  .product-grid.view-list .product-card .add-to-cart { flex: 0 0 auto; position: static; padding: 6px 12px; font-size: 11px; margin: 0 10px 10px 0; white-space: nowrap; align-self: center; }
  .card-favorite-btn { width: 30px; height: 30px; top: 6px; right: 6px; left: auto; }
  [dir="rtl"] .card-favorite-btn { left: 6px; right: auto; }
  .card-favorite-btn svg { width: 15px; height: 15px; }
  .product-grid.view-list .card-favorite-btn { top: 6px; right: 6px; left: auto; }
  [dir="rtl"] .product-grid.view-list .card-favorite-btn { left: 6px; right: auto; }
}

.cart-items { min-height: 200px; }
.cart-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid var(--border-color, #e5e7eb); }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.cart-summary { margin-top: 24px; padding: 24px; background: var(--surface-color, var(--surface, #f9fafb)); border-radius: 12px; }
.cart-total { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: var(--text-color, var(--text, #1f2937)); }
.checkout-btn { display: block; text-align: center; padding: 16px; text-decoration: none; background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); border-radius: 8px; font-weight: 600; transition: filter 0.2s; }
.checkout-btn:hover { filter: brightness(0.9); }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; }
@media (max-width: 768px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-step { margin-bottom: 24px; padding: 24px; background: var(--surface-color, var(--surface, #f9fafb)); border-radius: 12px; }
.checkout-step h2 { margin-bottom: 16px; font-size: 18px; color: var(--text-color, var(--text, #1f2937)); }
.checkout-step input:not([type="checkbox"]) { width: 100%; padding: 12px 16px; margin-bottom: 0; border: 1px solid #f5f5f5; border-radius: 8px; background: var(--background-color, var(--background, #fff)); color: var(--text-color, var(--text, #1f2937)); box-shadow: 0px 1px 2px rgba(16,24,40,0.05); font-size: 16px; }
[dir="rtl"] .checkout-step input:not([type="checkbox"]) { text-align: right; }
[dir="rtl"] .checkout-step input:not([type="checkbox"])::placeholder { text-align: right; }
.checkout-step input:not([type="checkbox"]):focus { outline: none; border-color: var(--primary-color, var(--primary, #ff0083)); box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 255,0,131), 0.1); }
.order-summary { padding: 24px; background: var(--surface-color, #fafafa); border-radius: 12px; height: fit-content; position: sticky; top: 24px; }
.order-totals { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-color, #e5e7eb); }
.order-totals > div { margin-bottom: 8px; display: flex; justify-content: space-between; }
.order-totals .vat-row { font-size: 13px; color: #6b7280; }
.order-totals .total { font-size: 20px; font-weight: 700; margin-top: 12px; color: var(--primary-color, var(--accent, var(--primary, #ff0083))); }
.terms-checkbox-wrapper { margin: 16px 0; padding: 12px; background: var(--surface-color, var(--surface, #f9fafb)); border-radius: 8px; }
.terms-checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-color, var(--text, #374151)); }
.terms-checkbox { width: 18px; height: 18px; cursor: pointer; accent-color: var(--accent-color, var(--accent, var(--primary-color, var(--primary, #ff0083)))); flex-shrink: 0; }
.terms-link { color: var(--accent-color, var(--accent, var(--primary-color, var(--primary, #ff0083)))); text-decoration: underline; font-weight: 500; }
.save-address-wrapper { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border-color, #e5e7eb); }
/* Checkout Accordion (base styles) */
.checkout-accordion { display: flex; flex-direction: column; gap: 16px; }
.checkout-accordion-panel { background: var(--surface-color, #fafafa); border-radius: 8px; overflow: hidden; }
.checkout-accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 28px 37px; cursor: pointer; user-select: none; }
.checkout-accordion-header-left { display: flex; align-items: center; gap: 10px; }
.checkout-accordion-icon { flex-shrink: 0; stroke: none; color: #4a4a4a; }
.checkout-accordion-title { font-size: 22px; font-weight: 600; color: #4a4a4a; }
.checkout-items-count { font-weight: 400; font-size: 18px; color: var(--text-secondary, #6b7280); }
.checkout-accordion-chevron { flex-shrink: 0; transition: transform 0.3s ease; }
.checkout-accordion-panel.expanded .checkout-accordion-chevron { transform: rotate(180deg); }
.checkout-accordion-body { display: none; padding: 0 37px 28px; }
.checkout-accordion-panel.expanded .checkout-accordion-body { display: block; }
.checkout-accordion-thumbs { display: flex; gap: 8px; padding: 0 37px 20px; overflow-x: auto; }
.checkout-accordion-panel.expanded .checkout-accordion-thumbs { display: none; }
.checkout-thumb-item { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #eee; }
.checkout-thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.checkout-thumb-more { width: 56px; height: 56px; border-radius: 8px; background: #e0e0e0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.checkout-field-label { display: block; font-size: 16px; font-weight: 400; margin-bottom: 6px; color: #4a4a4a; }
.checkout-form-fields { display: flex; flex-direction: column; gap: 37px; margin-top: 37px; }
.checkout-form-fields .input-wrapper { margin-bottom: 0; }
.checkout-next-wrapper { display: flex; justify-content: flex-end; margin-top: 24px; }
.checkout-next-btn { min-width: 140px; height: 48px; border-radius: 8px; font-size: 16px; font-weight: 600; }
.checkout-place-order-btn { width: 100%; height: 48px; border-radius: 8px; font-size: 16px; font-weight: 600; margin-top: 16px; }
.checkout-place-order-btn:disabled { background: #8c8c8c; cursor: not-allowed; opacity: 0.7; }
.checkout-order-details-title { font-size: 20px; font-weight: 600; }
.checkout-order-divider { height: 1px; background: #e8e8e8; margin: 16px 0; }
.checkout-order-details .order-totals-row { display: flex !important; justify-content: space-between !important; align-items: baseline !important; gap: 12px !important; padding: 6px 0; font-size: 16px; }
.checkout-order-details .order-totals-row span:first-child { flex: 1 1 auto; min-width: 0; }
.checkout-order-details .order-totals-row span:last-child { flex: 0 0 auto; text-align: end; }
.checkout-order-details .order-totals-row span:last-child { font-weight: 600; }
.checkout-order-details .order-totals-row.total { font-size: 18px; font-weight: 600; }
.checkout-order-details .order-totals-row.total span:last-child { font-weight: 700; color: var(--primary-color, var(--accent, var(--primary, #ff0083))); }
/* Checkout cart items */
.checkout-cart-item { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid #f0f0f0; }
.checkout-cart-item:last-child { border-bottom: none; }
.checkout-item-thumb { width: 100px; height: 100px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: #f5f5f5; }
.checkout-item-thumb-empty { width: 100px; height: 100px; border-radius: 12px; background: #f0f0f0; flex-shrink: 0; }
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.checkout-item-variant { display: block; font-size: 14px; color: #6b7280; margin-bottom: 8px; }
.checkout-item-qty-control { display: inline-flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 60px; overflow: hidden; height: 36px; }
.checkout-qty-btn { width: 40px; height: 36px; border: none; background: transparent; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.checkout-qty-value { min-width: 32px; text-align: center; font-size: 15px; font-weight: 600; }
.checkout-item-price { font-size: 18px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.checkout-item-remove { background: none; border: none; cursor: pointer; padding: 8px; color: #6b7280; flex-shrink: 0; }
.checkout-item-remove:hover { color: #dc2626; }
@media (max-width: 768px) { .checkout-accordion-header { padding: 20px; } .checkout-accordion-body { padding: 0 20px 20px; } .checkout-accordion-thumbs { padding: 0 20px 16px; } .checkout-accordion-title { font-size: 18px; } .checkout-item-thumb, .checkout-item-thumb-empty { width: 72px; height: 72px; } .checkout-item-name { font-size: 15px; } .checkout-item-price { font-size: 15px; } }
.save-address-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-color, var(--text, #6b7280)); }
.save-address-checkbox { width: 18px !important; height: 18px !important; min-width: 18px !important; padding: 0 !important; margin: 0 !important; border: none !important; border-radius: 4px !important; cursor: pointer; accent-color: var(--accent-color, var(--accent, var(--primary-color, var(--primary, #ff0083)))); flex-shrink: 0; }
.terms-link:hover { opacity: 0.8; }
/* Inline validation styles */
.input-wrapper { position: relative; margin-bottom: 4px; }
.input-wrapper input { margin-bottom: 0; }
.field-error { display: none; color: #dc2626; font-size: 12px; margin-top: 4px; margin-bottom: 8px; }
.field-error.visible { display: block; }
.checkout-step input:not([type="checkbox"]).input-error, .terms-checkbox-wrapper.has-error { border-color: #dc2626 !important; box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1) !important; }
.terms-checkbox-wrapper.has-error { border: 1px solid #dc2626; }
.terms-checkbox-wrapper .field-error { margin-top: 8px; margin-bottom: 0; }
#shipping-methods + .field-error { margin-top: 8px; }
.order-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-color, #e5e7eb); font-size: 14px; color: var(--text-color, var(--text, #374151)); }
.login-section { max-width: 400px; margin: 0 auto; text-align: center; }
.login-form input, .otp-form input { width: 100%; padding: 12px; margin-bottom: 16px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; }
.login-form input:focus, .otp-form input:focus { outline: none; border-color: var(--primary-color, var(--primary, #ff0083)); }
.empty-cart { text-align: center; padding: 40px; color: var(--text-secondary, #6b7280); }
/* Account Page */
.account-section { padding: 20px 0; min-height: 60vh; }
.account-container { max-width: 800px; margin: 0 auto; }
.account-not-logged-in { text-align: center; padding: 60px 20px; }
.account-icon { margin-bottom: 24px; }
.account-icon svg { color: var(--text-secondary, #9ca3af); stroke: var(--text-secondary, #9ca3af); }
.account-not-logged-in h1 { font-size: 1.75rem; color: var(--text-color, #1f2937); margin-bottom: 12px; }
.account-not-logged-in p { color: var(--text-secondary, #6b7280); margin-bottom: 24px; }
.account-logged-in { }
.account-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.account-header h1 { font-size: 1.75rem; color: var(--text-color, #1f2937); margin: 0; }
.account-info { display: flex; align-items: center; gap: 16px; }
.account-welcome { color: var(--text-secondary, #6b7280); margin: 0; }
.account-welcome span { font-weight: 600; color: var(--text-color, #1f2937); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-secondary { background: var(--surface-color, #f3f4f6); color: var(--text-color, #374151); border: 1px solid var(--border-color, #d1d5db); }
.btn-secondary:hover { background: var(--border-color, #e5e7eb); }
.orders-section { border: 1px solid var(--border-color, rgba(128,128,128,0.2)); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.orders-section h2 { font-size: 1.25rem; color: var(--text-color, #1f2937); margin-bottom: 20px; }
.orders-loading { text-align: center; padding: 40px; color: var(--text-secondary, #6b7280); }
.orders-empty { text-align: center; padding: 40px; background: var(--surface-color, #f9fafb); border-radius: 12px; }
.orders-empty p { color: var(--text-secondary, #6b7280); margin-bottom: 20px; }
.orders-list { display: flex; flex-direction: column; gap: 16px; }
.order-card { background: var(--surface-color, #ffffff); border: 1px solid var(--border-color, #e5e7eb); border-radius: 12px; padding: 20px; transition: box-shadow 0.2s; }
.order-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.order-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.order-number { font-weight: 600; font-size: 1rem; color: var(--text-color, #1f2937); }
.order-status { padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-paid { background: #d1fae5; color: #065f46; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #e0e7ff; color: #3730a3; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.order-card-body { }
.order-info-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-color, #f3f4f6); }
.order-info-row:last-child { border-bottom: none; }
.order-label { color: var(--text-secondary, #6b7280); font-size: 0.875rem; }
.order-value { font-weight: 500; color: var(--text-color, #1f2937); }
.order-items-summary { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-color, #e5e7eb); font-size: 0.875rem; color: var(--text-secondary, #6b7280); }
@media (max-width: 640px) { .account-header { flex-direction: column; align-items: flex-start; } .account-info { width: 100%; justify-content: space-between; } }
/* Profile Section */
.profile-section { border: 1px solid var(--border-color, rgba(128,128,128,0.2)); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-header h2 { font-size: 1.25rem; color: var(--text-color, #1f2937); margin: 0; }
.btn-text { background: none; border: none; color: var(--primary-color, #ff0083); cursor: pointer; font-weight: 500; padding: 4px 8px; }
.btn-text:hover { text-decoration: underline; }
.profile-display { display: flex; flex-direction: column; gap: 12px; }
.profile-field { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border-color, #f3f4f6); }
.profile-field:last-child { border-bottom: none; }
.profile-label { color: var(--text-secondary, #6b7280); min-width: 80px; font-size: 0.875rem; }
.profile-value { color: var(--text-color, #1f2937); font-weight: 500; }
.profile-form { display: flex; flex-direction: column; gap: 16px; }
.profile-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.profile-form .form-group label { font-size: 0.875rem; color: var(--text-secondary, #6b7280); font-weight: 500; }
.profile-form .form-group input { padding: 12px 16px; border: 1px solid var(--border-color, #d1d5db); border-radius: 8px; font-size: 1rem; width: 100%; box-sizing: border-box; }
.profile-form .form-group input:focus { outline: none; border-color: var(--primary-color, #ff0083); }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
/* Addresses Section */
.addresses-section { border: 1px solid var(--border-color, rgba(128,128,128,0.2)); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.addresses-list { display: flex; flex-direction: column; gap: 12px; }
.addresses-empty { text-align: center; padding: 32px; color: var(--text-secondary, #6b7280); }
.address-card { background: var(--background-color, #f9fafb); border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; padding: 16px; position: relative; }
.address-card.default { border-color: var(--primary-color, #ff0083); border-width: 2px; }
.address-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.address-label-tag { font-weight: 600; color: var(--text-color, #1f2937); font-size: 0.875rem; text-transform: capitalize; }
.address-default-badge { background: var(--primary-color, #ff0083); color: white; font-size: 0.75rem; padding: 2px 8px; border-radius: 12px; }
.address-card-body { font-size: 0.875rem; color: var(--text-secondary, #6b7280); line-height: 1.5; }
.address-card-actions { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-color, #e5e7eb); }
.btn-icon { background: none; border: none; color: var(--text-secondary, #6b7280); cursor: pointer; padding: 4px; display: flex; align-items: center; gap: 4px; font-size: 0.75rem; }
.btn-icon:hover { color: var(--primary-color, #ff0083); }
.btn-icon.btn-delete:hover { color: #dc2626; }
.btn-icon svg { width: 16px; height: 16px; }
/* Address Modal */
.address-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.address-modal { background: var(--surface-color, #ffffff); border-radius: 12px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; }
.address-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border-color, #e5e7eb); }
.address-modal-header h3 { margin: 0; font-size: 1.25rem; color: var(--text-color, #1f2937); }
.address-modal-close { background: none; border: none; font-size: 1.5rem; color: var(--text-secondary, #6b7280); cursor: pointer; padding: 4px; line-height: 1; }
.address-modal-close:hover { color: var(--text-color, #1f2937); }
.address-modal-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.address-modal-body .form-group { display: flex; flex-direction: column; gap: 6px; }
.address-modal-body .form-group label { font-size: 0.875rem; color: var(--text-secondary, #6b7280); font-weight: 500; }
.address-modal-body .form-group input, .address-modal-body .form-group select { padding: 12px 16px; border: 1px solid var(--border-color, #d1d5db); border-radius: 8px; font-size: 1rem; width: 100%; box-sizing: border-box; }
.address-modal-body .form-group input:focus, .address-modal-body .form-group select:focus { outline: none; border-color: var(--primary-color, #ff0083); }
.form-checkbox { flex-direction: row !important; }
.form-checkbox label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary-color, #ff0083); }
.address-modal-footer { display: flex; gap: 12px; padding: 20px 24px; border-top: 1px solid var(--border-color, #e5e7eb); justify-content: flex-end; }
/* Favorites Section */
.favorites-section { border: 1px solid var(--border-color, rgba(128,128,128,0.2)); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.favorites-section h2 { font-size: 1.25rem; color: var(--text-color, #1f2937); margin-bottom: 20px; }
.favorites-loading { text-align: center; padding: 20px; color: var(--text-secondary, #6b7280); }
.favorites-empty { text-align: center; padding: 32px; color: var(--text-secondary, #6b7280); }
.favorites-empty p { margin-bottom: 16px; }
.favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.favorite-card { background: transparent; border: 1px solid var(--border-color, rgba(128,128,128,0.2)); border-radius: 10px; overflow: hidden; transition: box-shadow 0.2s; position: relative; }
.favorite-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.favorite-card-img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.favorite-card-body { padding: 12px; }
.favorite-card-body h4 { margin: 0 0 6px; font-size: 0.875rem; color: var(--text-color, #1f2937); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.favorite-card-body .favorite-price { font-weight: 600; color: var(--primary-color, #ff0083); font-size: 0.875rem; }
.favorite-card a { text-decoration: none; color: inherit; display: block; }
.favorite-remove-btn { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9); color: #dc2626; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.favorite-remove-btn:hover { background: #dc2626; color: white; }
@media (max-width: 480px) { .favorites-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
/* Toast Notifications */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--text-color, #1f2937); color: white; padding: 12px 24px; border-radius: 8px; font-size: 0.875rem; z-index: 1001; opacity: 0; transition: opacity 0.3s; }
.toast.show { opacity: 1; }
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }
@media (max-width: 640px) { .profile-field { flex-direction: column; gap: 4px; } .profile-label { min-width: auto; } .address-card-actions { flex-wrap: wrap; } .address-modal { margin: 10px; max-height: calc(100vh - 40px); } }
/* Order Success Page */
.order-success-section { padding: 40px 20px; min-height: 60vh; display: flex; align-items: flex-start; justify-content: center; }
.order-success-container { max-width: 677px; width: 100%; margin: 0 auto; text-align: end; }
[dir="rtl"] .order-success-container { text-align: right; }
.order-success-card { background: var(--surface-color, #fafafa); border-radius: 8px; padding: 18px 80px 40px; }
.order-success-icon { margin-bottom: 24px; }
.order-success-icon svg { color: #10b981; stroke: #10b981; }
.order-success-title { font-size: 26px; font-weight: 800; color: #4a4a4a; margin-bottom: 12px; line-height: 1.4; }
.order-number-inline { font-weight: 700; }
.order-success-email { font-size: 22px; font-weight: 600; color: #4a4a4a; margin-bottom: 0; line-height: 1.3; }
.order-success-divider { height: 1px; background: #e8e8e8; margin: 28px 0; }
.order-success-details { display: flex; flex-direction: column; gap: 37px; margin-bottom: 36px; }
.order-success-detail-block { display: flex; flex-direction: column; gap: 8px; }
.order-success-detail-label { font-size: 22px; font-weight: 600; color: #4a4a4a; text-transform: capitalize; }
.order-success-detail-value { font-size: 16px; font-weight: 400; color: #4a4a4a; }
.continue-home-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none; }
@media (max-width: 640px) { .order-success-card { padding: 18px 24px 32px; } .order-success-title { font-size: 22px; } .order-success-email { font-size: 18px; } .order-success-detail-label { font-size: 18px; } .order-success-details { gap: 24px; } }
/* Legacy order success elements (kept for backward compat) */
.order-number-box { display: none; }
.order-confirmation-message { display: none; }
.order-details-section { text-align: start; background: var(--surface-color, #f9fafb); padding: 24px; border-radius: 12px; margin-bottom: 32px; }
.order-details-section h2 { font-size: 1.125rem; margin-bottom: 16px; color: var(--text-color, #1f2937); }
.order-items-list { margin-bottom: 16px; }
.order-success-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-color, #e5e7eb); }
.order-success-item:last-child { border-bottom: none; }
.order-totals-summary { padding-top: 16px; border-top: 2px solid var(--primary-color, #667eea); }
.order-totals-summary > div { display: flex; justify-content: space-between; padding: 8px 0; }
.order-totals-summary .order-total-final { font-size: 1.25rem; font-weight: 700; color: var(--primary-color, #667eea); }
.continue-shopping-btn { display: inline-block; padding: 16px 32px; font-size: 1rem; text-decoration: none; }
.loading-products { text-align: center; padding: 40px; color: var(--text-secondary, #6b7280); }
/* Product Detail Page */
.product-detail-section { padding: 20px 0; }
.product-detail-loading { text-align: center; padding: 60px 20px; }
.loading-spinner { width: 40px; height: 40px; border: 3px solid var(--border-color, #e5e7eb); border-top-color: var(--primary-color, #ff0083); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.product-detail-container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 768px) { .product-detail-container { grid-template-columns: 1fr; gap: 24px; } }
.product-gallery { position: relative; }
.product-gallery-main { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; border: 1px solid var(--border-color, #e5e7eb); background: var(--surface-color, #f9fafb); }
.product-gallery-thumbs { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.product-gallery-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: border-color 0.2s; }
.product-gallery-thumb:hover, .product-gallery-thumb.active { border-color: var(--primary-color, #ff0083); }
.product-video-thumb { width: 80px; height: 80px; border-radius: 8px; border: 2px solid transparent; overflow: hidden; flex-shrink: 0; background: #1a1a2e; }
.product-video-thumb:hover { border-color: var(--primary-color, #ff0083); }
.product-info { display: flex; flex-direction: column; gap: 20px; }
.product-info .product-brand { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary, #6b7280); margin-top: -12px; }
.product-info h1 { font-size: 2rem; color: var(--text-color, #1f2937); margin: 0; line-height: 1.2; }
.product-info .product-price { font-size: 2rem; font-weight: 700; color: var(--primary-color, #ff0083); }
.product-info .product-price .original-price { font-size: 1.2rem; color: var(--text-secondary, #6b7280); text-decoration: line-through; margin-left: 12px; }
.product-info .product-short-description { font-size: 0.95rem; color: var(--text-secondary, #6b7280); line-height: 1.5; margin: 4px 0 8px; }
.product-info .product-sku { font-size: 0.875rem; color: var(--text-secondary, #6b7280); }
.product-info .product-category { display: inline-block; padding: 4px 12px; background: var(--surface-color, #f3f4f6); border-radius: 20px; font-size: 0.875rem; color: var(--text-color, #374151); }
.product-info .product-stock { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.product-info .product-stock.in-stock { color: #059669; }
.product-info .product-stock.out-of-stock { color: #dc2626; }
.product-info .product-stock svg { width: 20px; height: 20px; }
.product-info .product-description { line-height: 1.7; color: var(--text-color, #4b5563); }
.product-info .product-description ul, .product-info .product-description ol { padding-inline-start: 1.5rem; margin-bottom: 1rem; }
.product-info .product-description li { margin-bottom: 0.5rem; }
/* Product Specifications */
.product-specifications { margin: 24px 0; padding: 20px; background: var(--surface-color, var(--surface, #f9fafb)); border-radius: 12px; }
.product-specifications h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 16px 0; color: var(--text-color, var(--text, #1f2937)); }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:not(:last-child) { border-bottom: 1px solid var(--border-color, #e5e7eb); }
.specs-table th, .specs-table td { padding: 12px 0; text-align: start; vertical-align: top; }
.specs-table th { font-weight: 500; color: var(--text-secondary, #6b7280); width: 40%; padding-left: 16px; }
.specs-table td { font-weight: 500; color: var(--text-color, var(--text, #1f2937)); }
@media (max-width: 480px) { .specs-table th, .specs-table td { display: block; width: 100%; padding: 6px 0; } .specs-table th { padding-bottom: 2px; } .specs-table td { padding-bottom: 12px; } }
.product-quantity { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: max-content; }
.product-quantity label { display: block; }
.product-quantity label { font-weight: 500; color: var(--text-color, #374151); }
.quantity-selector { display: inline-flex; align-items: center; border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; overflow: hidden; width: max-content; }
.quantity-selector button { width: 40px; height: 40px; border: none; background: var(--surface-color, #f9fafb); cursor: pointer; font-size: 18px; color: var(--text-color, #374151); transition: background 0.2s; }
.quantity-selector button:hover { background: var(--border-color, #e5e7eb); }
.quantity-selector input { width: 70px; height: 40px; border: none; text-align: center; font-size: 16px; font-weight: 500; background: var(--background-color, #fff); color: var(--text-color, #1f2937); }
.quantity-selector input::-webkit-inner-spin-button { -webkit-appearance: none; }
.price-per-unit { font-size: 0.8em; color: var(--text-muted, #6b7280); font-weight: 400; }
.price-per-unit-info { font-size: 12px; color: var(--text-muted, #6b7280); margin-top: 2px; }
.product-card .price-per-unit-info { font-size: 11px; margin-top: 1px; }
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; width: 100%; }
.product-title-row h1 { flex: 1; min-width: 0; }
.product-icon-actions { display: flex; gap: 8px; flex-shrink: 0; padding-top: 6px; }
.icon-btn { width: 36px; height: 36px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.2s; color: currentColor; padding: 0; }
.icon-btn:hover { color: var(--primary-color, #ff0083); }
.icon-btn.active { color: #e74c3c; }
.icon-btn.active .heart-outline { display: none !important; }
.icon-btn.active .heart-filled { display: block !important; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-actions .add-to-cart { flex: 1; min-width: 200px; padding: 16px 32px; font-size: 1rem; }
/* Sticky add-to-cart row on product details page - stays in place while scrolling */
.product-add-row { position: sticky; bottom: 20px; z-index: 100; }
/* Accordion: in V1 always visible, no collapse */
.product-details-header { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; background: none; border: none; cursor: pointer; font-weight: 600; font-size: 1.25rem; color: var(--text-color, #374151); }
.product-details-divider { width: 100%; height: 1px; background: var(--border-color, #e5e7eb); }
.product-details-toggle { font-size: 1.5rem; line-height: 1; }
/* Catalog mode - inquiry/contact buttons instead of cart */
.product-actions.catalog-mode { flex-direction: row; gap: 12px; max-width: 600px; margin: 0 auto; width: 100%; }
.product-actions.catalog-mode .btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.2s; flex: 1; }
.product-actions.catalog-mode .btn svg { flex-shrink: 0; }
.product-actions.catalog-mode .inquiry-btn { background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); border: none; }
.product-actions.catalog-mode .inquiry-btn:hover { filter: brightness(0.9); }
.product-actions.catalog-mode .call-btn { background: var(--surface-color, var(--surface, #f3f4f6)); color: var(--text-color, var(--text, #374151)); border: 1px solid var(--border-color, #e5e7eb); }
.product-actions.catalog-mode .call-btn:hover { background: var(--border-color, #e5e7eb); }
@media (max-width: 480px) { .product-actions.catalog-mode { flex-direction: column; } .product-actions.catalog-mode .btn { width: 100%; } }
.back-to-products { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary, #6b7280); text-decoration: none; margin-bottom: 24px; font-size: 0.875rem; transition: color 0.2s; }
.back-to-products:hover { color: var(--primary-color, #ff0083); }
.back-to-products svg { width: 16px; height: 16px; }
/* Breadcrumb navigation */
.product-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 0.875rem; flex-wrap: wrap; }
.product-breadcrumb a { color: var(--text-secondary, #6b7280); text-decoration: none; transition: color 0.2s; }
.product-breadcrumb a:hover { color: var(--primary-color, #ff0083); }
.product-breadcrumb .breadcrumb-separator { color: var(--text-secondary, #9ca3af); font-size: 12px; }
.product-breadcrumb .breadcrumb-current { color: var(--text-color, #1f2937); font-weight: 500; }
.product-not-found, .category-not-found { text-align: center; padding: 60px 20px; }
.product-not-found h2, .category-not-found h2 { font-size: 1.5rem; color: var(--text-color, #1f2937); margin-bottom: 16px; }
.related-products-section { padding: 40px 0; border-top: 1px solid var(--border-color, #e5e7eb); margin-top: 40px; }
/* Upsells (frequently bought together) on the product detail page.
   Rendered inline with the rest of the product info — no card chrome
   (border / background / radius) so it blends with the surrounding
   variant selectors and stock badge. */
.product-upsells { background: transparent; border: none; border-radius: 0; padding: 0; margin: 16px 0; }
.upsells-header { margin: 0 0 8px; }
.upsells-title { margin: 0 0 2px; font-size: 1rem; font-weight: 600; color: var(--text-color, #1f2937); line-height: 1.3; }
.upsells-subtitle { margin: 0; font-size: 0.875rem; color: var(--text-secondary, #6b7280); }
.upsells-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.upsell-row { list-style: none !important; border-top: 1px solid var(--border-color, #e5e7eb); display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; outline: none; }
.upsell-row::marker { content: '' !important; }
.upsell-row::before { content: none !important; }
.upsell-row:first-child { border-top: none; }
.upsell-row:focus-visible { box-shadow: inset 0 0 0 2px var(--primary-color, #ff0083); border-radius: 4px; }
.upsell-row.is-out-of-stock { cursor: not-allowed; opacity: 0.55; }
.upsell-checkbox { width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; accent-color: var(--primary-color, #ff0083); margin: 0; }
.upsell-row.is-out-of-stock .upsell-checkbox { cursor: not-allowed; }
.upsell-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.upsell-name { color: var(--text-color, #1f2937); font-weight: 500; font-size: 0.95rem; text-decoration: none; line-height: 1.3; word-break: break-word; max-width: 100%; }
.upsell-name:hover { color: var(--primary-color, #ff0083); text-decoration: underline; }
.upsell-stock-badge { display: inline-block; font-size: 0.7rem; color: #b91c1c; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.upsell-price { color: var(--text-color, #1f2937); font-weight: 600; font-size: 0.95rem; flex-shrink: 0; white-space: nowrap; }
.upsell-price.upsell-price-free { color: #047857; background: #d1fae5; padding: 2px 8px; border-radius: 999px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.upsells-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border-color, #e5e7eb); font-size: 0.95rem; color: var(--text-secondary, #6b7280); }
.upsells-total-amount { color: var(--text-color, #1f2937); font-size: 1.1rem; font-weight: 700; }
.upsells-total-count { font-size: 0.85rem; color: var(--text-secondary, #6b7280); }
@media (max-width: 480px) { .upsell-row { gap: 8px; } }
/* Category Page */
.category-page-section { padding: 20px 0; }
.category-header { margin-bottom: 32px; }
.category-banner { width: 100%; height: 200px; background-size: cover; background-position: center; border-radius: 12px; margin-bottom: 24px; }
.category-info h1 { font-size: 2rem; color: var(--text-color, #1f2937); margin: 0 0 12px 0; }
.category-description { color: var(--text-secondary, #6b7280); font-size: 1rem; line-height: 1.6; margin: 0; }
.subcategory-nav { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; justify-content: center; }
.subcategory-card { position: relative; width: 140px; height: 90px; border-radius: 12px; overflow: hidden; text-decoration: none; display: flex; align-items: flex-end; justify-content: center; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; flex-shrink: 0; border: 2px solid transparent; }
.subcategory-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.subcategory-card.active { border-color: var(--accent, var(--primary-color, #3b82f6)); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.subcategory-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.3s ease; }
.subcategory-card-bg-empty { background: linear-gradient(135deg, var(--accent, var(--primary-color, #3b82f6)), #6366f1); }
.subcategory-card:hover .subcategory-card-bg { transform: scale(1.08); }
.subcategory-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.05) 100%); }
.subcategory-card-name { position: relative; z-index: 1; color: #fff; font-size: 0.85rem; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,0.4); padding: 8px 10px; text-align: center; line-height: 1.2; }
@media (max-width: 640px) { .subcategory-card { width: 110px; height: 75px; } .subcategory-card-name { font-size: 0.78rem; } }
.no-products { text-align: center; padding: 40px 20px; color: var(--text-secondary, #6b7280); }
.related-products-section h2 { text-align: center; margin-bottom: 24px; font-size: 1.5rem; color: var(--text-color, #1f2937); }
/* Variant Selector */
.product-variants { margin: 20px 0; }
.variant-group { margin-bottom: 16px; }
.variant-group-label { display: block; font-weight: 600; color: var(--text-color, #374151); margin-bottom: 8px; font-size: 0.9375rem; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-option { padding: 10px 20px; border: 2px solid var(--border-color, #e5e7eb); border-radius: 8px; background: var(--background-color, #fff); color: var(--text-color, #374151); cursor: pointer; transition: all 0.2s ease; font-size: 0.875rem; font-weight: 500; min-width: 60px; text-align: center; }
.variant-option:hover:not(.disabled):not(.selected) { border-color: var(--primary-color, #ff0083); background: rgba(var(--accent-rgb, 255,0,131), 0.05); }
.variant-option.selected { border-color: var(--primary-color, #ff0083); background: var(--primary-color, #ff0083); color: var(--text-light, #fff); }
.variant-option.disabled { opacity: 0.3; position: relative; }
.variant-option.disabled:not(.color-swatch)::after { content: ''; position: absolute; top: 50%; left: 4px; right: 4px; height: 1px; background: var(--text-color, #374151); transform: rotate(-12deg); pointer-events: none; }
.variant-option.color-swatch.disabled::before { content: ''; position: absolute; top: 50%; left: 2px; right: 2px; height: 1.5px; background: var(--text-color, #374151); transform: rotate(-45deg); pointer-events: none; z-index: 1; }
.variant-option.out-of-stock { opacity: 0.6; position: relative; }
.variant-option.out-of-stock:not(.color-swatch)::after { content: ''; position: absolute; top: 50%; left: 4px; right: 4px; height: 1px; background: var(--text-color, #374151); transform: rotate(-12deg); pointer-events: none; }
.variant-option.color-swatch.out-of-stock::before { content: ''; position: absolute; top: 50%; left: 2px; right: 2px; height: 1.5px; background: var(--text-color, #374151); transform: rotate(-45deg); pointer-events: none; z-index: 1; }
.variant-price-modifier { font-size: 0.75rem; opacity: 0.8; margin-top: 2px; display: block; }
.selected-variant-info { margin-top: 16px; padding: 12px 16px; background: var(--surface-color, #f3f4f6); border-radius: 8px; font-size: 0.875rem; color: var(--text-secondary, #6b7280); }
.selected-variant-info .variant-name { font-weight: 600; color: var(--text-color, #374151); }
/* Color variant special styling */
.variant-option.color-swatch { width: 40px; height: 40px; min-width: 40px; padding: 0; border-radius: 50%; position: relative; }
.variant-option.color-swatch.selected::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-weight: bold; text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.3); }
/* Make product cards clickable */
.product-card { position: relative; }
.product-card-image-link,
.product-card-body-link { display: block; text-decoration: none; color: inherit; }
.product-card-image-link:hover,
.product-card-body-link:hover { text-decoration: none; }
/* Chrome draws a harsh near-black 2px outline on many plain <a> when focused (incl. mouse click).
   Remove that "black box"; keep a theme-colored ring only for :focus-visible (keyboard). */
.product-card-image-link:focus:not(:focus-visible),
.product-card-body-link:focus:not(:focus-visible) {
  outline: none;
}
.product-card-image-link:focus-visible,
.product-card-body-link:focus-visible {
  outline: 2px solid var(--primary-color, var(--primary, #ff0083));
  outline-offset: 3px;
}
nav.navbar a:focus:not(:focus-visible),
.navbar a:focus:not(:focus-visible),
.zappy-catalog-menu a:focus:not(:focus-visible),
header nav a:focus:not(:focus-visible) {
  outline: none;
}
nav.navbar a:focus-visible,
.navbar a:focus-visible,
.zappy-catalog-menu a:focus-visible,
header nav a:focus-visible {
  outline: 2px solid var(--primary-color, var(--primary, #ff0083));
  outline-offset: 2px;
}
a, button {
  -webkit-tap-highlight-color: transparent;
}
.product-tags { position: absolute; top: 24px; right: 24px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 2; max-width: calc(100% - 48px); }
.product-tag { display: inline-block; padding: 4px 10px; font-size: 11px; font-weight: 600; border-radius: 4px; background: var(--primary-color, var(--primary, #ff0083)); color: #fff; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 4px rgba(0,0,0,0.15); }
.product-tag.tag-sale { background: #ef4444; }
.product-tag.tag-new { background: #22c55e; }
.product-tag.tag-featured { background: #f59e0b; }
/* E-commerce nav icons (search, cart & login) - inline with menu */
.nav-ecommerce-icons { display: inline-flex !important; align-items: center; gap: 10px; margin-right: 16px; flex-shrink: 0; vertical-align: middle; }
/* Ensure nav elements support inline icons - DESKTOP ONLY */
/* IMPORTANT: Only target elements CONTAINING e-commerce icons to avoid breaking existing navbar positioning/transparency */
@media (min-width: 769px) {
  /* Only make parent containers flex when they contain e-commerce icons - don't blanket override all navs */
  .nav-ecommerce-icons { display: inline-flex !important; align-items: center !important; flex-wrap: nowrap !important; }
  .nav-menu:has(.nav-ecommerce-icons), .nav-links:has(.nav-ecommerce-icons) { display: flex !important; align-items: center !important; }
  /* Fallback for browsers without :has() - less aggressive approach */
  @supports not (selector(:has(*))) {
    .nav-menu, .nav-links { display: flex; align-items: center; }
  }
  /* Desktop icon order: Search, Login, Cart (left to right for LTR; mirrored for RTL) */
  .nav-ecommerce-icons { flex-direction: row !important; }
  .nav-ecommerce-icons .cart-link.nav-cart { order: 3 !important; }
  .nav-ecommerce-icons .login-link.nav-login { order: 2 !important; }
  .nav-ecommerce-icons .nav-search-box { order: 1 !important; }
  .nav-icons-left, .nav-icons-right { position: static !important; transform: none !important; }
  /* Force icons container to end of nav (left for RTL, right for LTR) regardless of HTML position */
  .nav-ecommerce-icons.nav-icons-left { order: 999 !important; margin-inline-start: auto !important; }
  .nav-container > .nav-brand { order: -1 !important; }
  html[dir="ltr"] .nav-container > .nav-menu,
  body[dir="ltr"] .nav-container > .nav-menu {
    order: 1 !important;
    margin-inline-start: auto !important;
    margin-inline-end: 24px !important;
    flex: 0 1 auto !important;
  }
  html[dir="ltr"] .nav-container > .lang-switcher,
  body[dir="ltr"] .nav-container > .lang-switcher,
  html[dir="ltr"] .nav-container > .nav-ecommerce-icons,
  body[dir="ltr"] .nav-container > .nav-ecommerce-icons {
    order: 2 !important;
  }
  html[dir="ltr"] .nav-container > .nav-ecommerce-icons.nav-icons-left,
  body[dir="ltr"] .nav-container > .nav-ecommerce-icons.nav-icons-left {
    margin-inline-start: 0 !important;
  }
}
/* Mobile: ONLY hide nav menu by default, let site CSS handle open state styling */
@media (max-width: 768px) {
  .nav-menu:not(.active):not(.open):not(.show):not(.visible):not(.is-open),
  .nav-links:not(.active):not(.open):not(.show):not(.visible):not(.is-open) { 
    display: none !important; 
  }
}
/* Position icons at edge of viewport using absolute positioning */
@media (min-width: 769px) {
  /* Position icons container at end edge (right for LTR, left for RTL) - uses logical properties for dynamic language switching */
  .nav-ecommerce-icons.nav-icons-left {
    position: absolute !important;
    inset-inline-end: 24px !important;
    inset-inline-start: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 100 !important;
  }
  
  /* V2 navbar (nav-right-group structure): Keep icons inline, not absolute */
  .nav-right-group .nav-ecommerce-icons.nav-icons-left {
    position: static !important;
    transform: none !important;
    top: auto !important;
    inset-inline-end: auto !important;
    margin: 0 !important;
    order: 0 !important;
    flex-shrink: 0 !important;
  }
  
  /* Hide nav-icons-right in V2 navbar desktop (search toggle is for mobile only) */
  .nav-right-group .nav-ecommerce-icons.nav-icons-right {
    display: none !important;
  }
  
  /* Ensure nav-right-group fills container and spaces elements properly */
  .nav-right-group:has(.nav-ecommerce-icons) {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    width: 100% !important;
    justify-content: space-between !important;
  }
  
  /* Keep nav-brand and nav-menu together in RTL */
  .nav-right-group .nav-brand {
    flex-shrink: 0 !important;
  }
  
  .nav-right-group .nav-menu {
    flex-grow: 1 !important;
    justify-content: flex-start !important;
  }
}
/* Add body padding to account for fixed headers */
body {
  padding-top: var(--total-header-height, 120px) !important;
}
/* Search box */
.nav-search-box { position: relative; display: flex; align-items: center; }
.nav-search-input { width: 180px; padding: 8px 40px 8px 14px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 24px; font-size: 14px; background: var(--surface-color, var(--surface, #f9fafb)); transition: all 0.2s; outline: none; color: var(--text-color, var(--text, #1f2937)); }
.nav-search-input:focus { width: 240px; border-color: var(--primary-color, var(--primary, #ff0083)); background: var(--background-color, var(--background, #fff)); box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 255,0,131), 0.1); }
.nav-search-btn { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: none; background: transparent; color: var(--text-secondary, #6b7280); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s; }
.nav-search-btn:hover { background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); }
.search-icon { width: 18px; height: 18px; }
/* Search results dropdown */
.nav-search-results { position: absolute; top: 100%; right: 0; width: 320px; max-height: 400px; overflow-y: auto; background: var(--background-color, var(--background, #fff)); border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); margin-top: 8px; display: none; z-index: 1001; }
.nav-search-results.active { display: block; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid var(--border-color, #f3f4f6); cursor: pointer; transition: background 0.15s; text-decoration: none; color: inherit; }
.search-result-item:hover { background: var(--surface-color, var(--surface, #f9fafb)); }
.search-result-item:last-child { border-bottom: none; }
.search-result-img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; background: var(--surface-color, var(--surface, #f3f4f6)); flex-shrink: 0; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-name { font-weight: 500; color: var(--text-color, var(--text, #1f2937)); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-price { color: var(--primary-color, var(--accent, var(--primary, #ff0083))); font-weight: 600; font-size: 14px; margin-top: 2px; }
.search-no-results { padding: 24px; text-align: center; color: var(--text-secondary, #6b7280); font-size: 14px; }
.search-loading { padding: 24px; text-align: center; color: var(--text-secondary, #6b7280); font-size: 14px; }
.search-view-all { display: block; padding: 12px; text-align: center; background: var(--surface-color, var(--surface, #f9fafb)); color: var(--primary-color, var(--accent, var(--primary, #ff0083))); font-weight: 500; text-decoration: none; border-radius: 0 0 12px 12px; transition: background 0.15s; }
.search-view-all:hover { filter: brightness(0.95); }
/* Cart & Login icons */
.cart-link.nav-cart, .login-link.nav-login { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-color, var(--surface, #f3f4f6)); color: var(--text-color, var(--text, #374151)); transition: background 0.2s ease, color 0.2s ease; text-decoration: none; cursor: pointer; }
.cart-link.nav-cart:hover, .login-link.nav-login:hover { background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); }
.cart-link.nav-cart svg, .login-link.nav-login svg { width: 20px; height: 20px; transition: none; }
.cart-link.nav-cart .cart-count { position: absolute; top: -4px; left: -4px; background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); font-size: 10px; font-weight: 600; padding: 2px 5px; border-radius: 10px; min-width: 16px; text-align: center; line-height: 1; transition: background 0.2s ease, color 0.2s ease; }
.cart-link.nav-cart:hover .cart-count { background: var(--text-light, #fff); color: var(--primary-color, var(--primary, #ff0083)); }
/* Style for existing site cart icon (not our injected one) */
[class*="cart"]:not(.nav-cart):not(.cart-count):not(.nav-ecommerce-icons *) { position: relative; }
[class*="cart"]:not(.nav-cart):not(.cart-count):not(.nav-ecommerce-icons *) .cart-count,
.fa-shopping-cart + .cart-count { position: absolute; top: -8px; left: -8px; background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 10px; min-width: 16px; text-align: center; line-height: 1.2; }
/* Fixed nav icons fallback */
.fixed-nav-icons { position: fixed; top: 16px; left: 16px; z-index: 1000; }
.fixed-nav-icons .nav-ecommerce-icons { background: var(--background-color, var(--background, #fff)); padding: 8px; border-radius: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
/* Mobile responsive search & nav icons */
@media (max-width: 768px) {
  .nav-search-input { width: 120px; padding: 6px 32px 6px 10px; font-size: 12px; }
  .nav-search-input:focus { width: 160px; }
  .nav-search-results { width: 260px; right: auto; left: 0; }
  .nav-search-btn { width: 28px; height: 28px; }
  .search-icon { width: 16px; height: 16px; }
  .nav-ecommerce-icons { gap: 6px; margin-right: 10px; }
  .cart-link.nav-cart, .login-link.nav-login { width: 40px; height: 40px; } /* Match search/lang button size */
}
@media (max-width: 480px) {
  .nav-ecommerce-icons { gap: 4px; }
}
/* Mobile menu - ensure icons stay visible and don't break layout */
@media (max-width: 768px) {
  .nav-ecommerce-icons { position: relative; z-index: 1001; }
  /* Keep icons outside mobile menu dropdown */
  .mobile-menu .nav-ecommerce-icons, 
  .nav-menu.active .nav-ecommerce-icons,
  .nav-menu.open .nav-ecommerce-icons { display: none; }
  /* Show icons in header only */
  header .nav-ecommerce-icons, 
  nav:not(.mobile-menu):not(.active):not(.open) > .nav-ecommerce-icons { display: inline-flex !important; }
}
/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE E-COMMERCE HEADER - Simple approach
   Just hide phone links, show search toggle, position icons correctly
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hide phone/tel links in header/nav only for e-commerce sites - scoped to header/nav */
  header a[href^="tel:"],
  header a[href*="tel:"],
  header [href^="tel:"],
  nav a[href^="tel:"],
  nav a[href*="tel:"],
  nav [href^="tel:"],
  .site-header a[href^="tel:"],
  .site-header a[href*="tel:"],
  header .phone-link,
  header .tel-link,
  header .phone-icon,
  header .call-link,
  header .call-btn,
  header .contact-phone,
  header .nav-phone,
  nav .phone-link,
  nav .tel-link,
  nav .phone-icon,
  nav .call-link,
  nav .call-btn,
  nav .contact-phone,
  nav .nav-phone,
  header [class*="phone-"],
  header [class*="-phone"],
  header [class*="tel-"],
  header [class*="-tel"],
  nav [class*="phone-"],
  nav [class*="-phone"],
  nav [class*="tel-"],
  nav [class*="-tel"],
  header a[title*="phone" i],
  header a[title*="call" i],
  header a[aria-label*="phone" i],
  header a[aria-label*="call" i],
  nav a[title*="phone" i],
  nav a[title*="call" i],
  nav a[aria-label*="phone" i],
  nav a[aria-label*="call" i] { display: none !important; visibility: hidden !important; width: 0 !important; height: 0 !important; overflow: hidden !important; }
  
  /* Hide the full search box on mobile, show toggle button instead */
  .nav-search-box { display: none !important; }
  .nav-search-toggle { display: flex !important; }
  
  /* Hide catalog menu bar on mobile - categories will be in hamburger menu */
  .zappy-catalog-menu { display: none !important; }
  
  /* E-commerce icons containers */
  .nav-ecommerce-icons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }
  
  /* Left icons group (Cart, Login) - positioned at end edge (right for LTR, left for RTL) */
  .nav-icons-left {
    order: 1 !important;
    position: absolute !important;
    left: unset !important;
    right: unset !important;
    inset-inline-end: 12px !important;
    inset-inline-start: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 100 !important;
  }
  
  /* Right icons group (Search) - positioned after hamburger menu.
     Hamburger is 36px at 12px from .navbar → ends at 48px. Use 52px to guarantee
     clearance regardless of navbar padding (nav-icons-right is positioned within
     .nav-container whose offset depends on navbar padding). */
  .nav-icons-right,
  .nav-ecommerce-icons.nav-icons-right {
    order: 3 !important;
    position: absolute !important;
    left: unset !important;
    right: unset !important;
    inset-inline-start: 52px !important;
    inset-inline-end: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 100 !important;
    gap: 2px !important;
  }
  
  /* Make header position relative for absolute children */
  header, .navbar, nav:first-of-type {
    position: relative !important;
  }
  
  /* Mobile submenu for categories under Products */
  .mobile-categories-submenu {
    display: none;
    padding-right: 20px;
    background: var(--surface-color, #f9fafb);
  }
  .mobile-categories-submenu.active {
    display: block;
  }
  .mobile-categories-submenu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-color, #374151);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }
  .mobile-categories-submenu a:hover {
    background: var(--primary-color, #ff0083);
    color: #fff;
  }
  .products-menu-item {
    position: relative;
  }
  .products-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .products-menu-toggle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
  }
  .products-menu-toggle.active::after {
    transform: rotate(-135deg);
  }
}

/* Mobile Search Toggle Button */
.nav-search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-color, var(--surface, #f3f4f6));
  color: var(--text-color, var(--text, #374151));
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-search-toggle:hover {
  background: var(--primary-color, var(--primary, #ff0083));
  color: var(--text-light, #fff);
}
.nav-search-toggle svg { width: 18px; height: 18px; }

/* Mobile Search Panel (slides down from top) */
.mobile-search-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background-color, var(--background, #fff));
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 100001; /* Must be above navbar (z-index: 100000) */
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.mobile-search-panel.active {
  display: block;
  transform: translateY(0);
}
.mobile-search-panel .search-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-search-panel input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: 12px 16px;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 24px;
  font-size: 16px;
  background: var(--surface-color, var(--surface, #f9fafb));
  color: var(--text-color, var(--text, #1f2937));
}
.mobile-search-panel input:focus {
  outline: none;
  border-color: var(--primary-color, var(--primary, #ff0083));
}
.mobile-search-panel .close-search {
  width: 40px;
  height: 40px;
  min-width: 40px;
  max-width: 40px;
  flex: 0 0 40px;
  border: none;
  background: var(--surface-color, var(--surface, #f3f4f6));
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color, var(--text, #374151));
  padding: 0;
}
.mobile-search-panel .search-results {
  margin-top: 16px;
  max-height: 60vh;
  overflow-y: auto;
}
@media (min-width: 769px) {
  .nav-search-toggle { display: none !important; }
  .mobile-search-panel { display: none !important; }
}
/* Mobile hamburger button protection - ensure proper sizing even with global button styles */
@media (max-width: 768px) {
  .mobile-toggle,
  #mobileToggle,
  .phone-header-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    padding: 10px !important;
    flex-shrink: 0 !important;
  }
  .mobile-toggle svg,
  #mobileToggle svg,
  .phone-header-btn svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    flex-shrink: 0 !important;
  }
}
/* Shipping Methods Styles */
#shipping-methods { display: flex; flex-direction: column; gap: 37px; }
.shipping-method-block { display: flex; flex-direction: column; }
.shipping-option { display: flex; align-items: flex-start; gap: 24px; padding: 0; border: none; border-radius: 0; cursor: pointer; transition: none; background: transparent; }
.shipping-option:hover { background: transparent; }
.shipping-option.selected { background: transparent; }
.shipping-option input[type="radio"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary-color, var(--accent, var(--primary, #ff0083))); cursor: pointer; flex-shrink: 0; }
.shipping-info { flex: 1; min-width: 0; }
.shipping-name-row { display: flex; align-items: center; gap: 12px; }
.shipping-name { font-weight: 600; color: #4a4a4a; font-size: 20px; }
.shipping-icon { width: 20px; height: 20px; flex-shrink: 0; color: #4a4a4a; }
.shipping-option.selected .shipping-icon { color: #4a4a4a; }
.shipping-desc { color: #4a4a4a; font-size: 16px; margin-top: 8px; line-height: 1.4; padding-left: 0; }
.shipping-address { color: var(--primary-color, var(--accent, var(--primary, #ff0083))); font-size: 14px; margin-top: 6px; font-weight: 500; }
.shipping-option.selected .shipping-address { color: #4a4a4a; }
.shipping-free-note { color: #10b981; font-size: 14px; margin-top: 4px; font-weight: 500; }
.shipping-price { font-weight: 600; font-size: 20px; color: #4a4a4a; white-space: nowrap; flex-shrink: 0; }
.shipping-price.free { color: #10b981; }
.no-shipping, #shipping-methods .error { text-align: center; padding: 20px; color: var(--text-secondary, #6b7280); background: var(--surface-color, var(--surface, #f9fafb)); border-radius: 8px; }
/* Checkout Form Row (two-column) */
.checkout-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .checkout-form-row { grid-template-columns: 1fr; } }
.input-full { width: 100%; }
/* Custom select styling */
.checkout-select-wrapper { position: relative; }
.checkout-select { width: 100%; padding: 12px 40px 12px 16px; border: 1px solid #f5f5f5; border-radius: 8px; background: var(--background-color, var(--background, #fff)); color: var(--text-color, var(--text, #1f2937)); font-size: 16px; font-family: inherit; appearance: none; -webkit-appearance: none; cursor: pointer; box-shadow: 0px 1px 2px rgba(16,24,40,0.05); }
.checkout-select:focus { outline: none; border-color: var(--primary-color, var(--primary, #ff0083)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary-color, var(--primary, #ff0083)) 20%, transparent); }
.checkout-select-chevron { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-secondary, #6b7280); }
/* Payment Methods Styles */
#payment-container { display: flex; flex-direction: column; gap: 37px; }
.payment-option { display: flex; align-items: center; gap: 24px; padding: 0; border: none; border-radius: 0; cursor: pointer; transition: none; background: transparent; }
.payment-option:hover { background: transparent; }
.payment-option.selected { background: transparent; }
.payment-option input[type="radio"] { width: 20px; height: 20px; accent-color: var(--primary-color, var(--accent, var(--primary, #ff0083))); cursor: pointer; flex-shrink: 0; }
.payment-name { font-weight: 600; color: #4a4a4a; font-size: 20px; flex: 1; }
.payment-icon { color: #4a4a4a; flex-shrink: 0; display: flex; align-items: center; }
.payment-icon svg { display: block; width: auto; height: auto; }
.payment-icon img { height: 24px; width: auto; }
.payment-not-configured { display: flex; align-items: center; gap: 12px; padding: 20px; background: var(--surface-color, var(--surface, #f9fafb)); border-radius: 8px; color: var(--text-secondary, #6b7280); font-size: 14px; }
.payment-not-configured svg { flex-shrink: 0; }
#payment-container .error { text-align: center; padding: 20px; color: var(--text-secondary, #6b7280); background: var(--surface-color, var(--surface, #f9fafb)); border-radius: 8px; }
/* Checkout Login Prompt */
.checkout-login-prompt { display: flex; align-items: center; gap: 4px; font-size: 16px; color: #4a4a4a; background: none; padding: 0; border: none; border-radius: 0; margin-bottom: 0; }
.checkout-login-link { color: #0088ff; font-weight: 400; text-decoration: none; transition: opacity 0.2s; }
.checkout-login-link:hover { opacity: 0.8; text-decoration: underline; }
.checkout-logged-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 12px 16px; background: color-mix(in srgb, var(--primary-color, var(--primary, #ff0083)) 8%, var(--background-color, var(--background, #fff))); border-radius: 8px; font-size: 14px; color: var(--text-secondary, #6b7280); }
.checkout-logged-in-text { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.checkout-logout-btn { border: none; background: transparent; color: var(--primary-color, var(--accent, var(--primary, #ff0083))); font-weight: 600; cursor: pointer; padding: 0; }
.checkout-logout-btn:hover { text-decoration: underline; }
/* Payment Step in Order Summary */
.order-summary .payment-step { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-color, #e5e7eb); }
.order-summary .payment-step h2 { font-size: 1rem; margin-bottom: 12px; }
/* Coupon Section Styles */
.coupon-section { margin: 16px 0; }
.coupon-toggle-btn { display: flex; align-items: center; gap: 8px; background: none; border: none; color: var(--primary-color, var(--accent, var(--primary, #ff0083))); font-size: 14px; font-weight: 500; cursor: pointer; padding: 8px 0; transition: opacity 0.2s; }
.coupon-toggle-btn:hover { opacity: 0.8; }
.coupon-toggle-btn svg { stroke: var(--primary-color, var(--primary, #ff0083)); }
.coupon-input-wrapper { margin-top: 12px; padding: 16px; background: var(--surface-color, var(--surface, #f9fafb)); border-radius: 8px; animation: slideDown 0.2s ease-out; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.coupon-input-row { display: flex; gap: 8px; align-items: center; }
.coupon-input { flex: 1; padding: 10px 12px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 6px; font-size: 14px; background: var(--background-color, var(--background, #fff)); color: var(--text-color, var(--text, #1f2937)); }
.coupon-input:focus { outline: none; border-color: var(--primary-color, var(--primary, #ff0083)); }
.coupon-apply-btn { padding: 10px 16px; background: var(--text-color, var(--text, #374151)); color: var(--text-light, #fff); border: none; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: filter 0.2s; white-space: nowrap; }
.coupon-apply-btn:hover { filter: brightness(0.9); }
.coupon-apply-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.coupon-close-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: transparent; border: 1px solid var(--border-color, #e5e7eb); border-radius: 6px; cursor: pointer; transition: all 0.2s; flex-shrink: 0; }
.coupon-close-btn:hover { background: #fef2f2; border-color: #fecaca; }
.coupon-close-btn:hover svg { stroke: #ef4444; }
.coupon-close-btn svg { stroke: var(--text-secondary, #9ca3af); }
.coupon-applied-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 16px; background: var(--surface-color, var(--surface, #f9fafb)); border-radius: 8px; }
.coupon-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: color-mix(in srgb, var(--primary-color, var(--accent, var(--primary, #ff0083))) 15%, var(--background-color, var(--background, #fff))); color: var(--primary-color, var(--accent, var(--primary, #ff0083))); border-radius: 6px; font-size: 14px; font-weight: 600; }
.coupon-badge::before { content: '🎟️'; }
.coupon-remove-btn { padding: 6px 12px; background: transparent; color: var(--text-secondary, #6b7280); border: 1px solid var(--border-color, #e5e7eb); border-radius: 6px; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.coupon-remove-btn:hover { background: #fef2f2; color: #ef4444; border-color: #fecaca; }
.coupon-error { margin-top: 8px; padding: 8px 12px; background: #fef2f2; color: #dc2626; border-radius: 6px; font-size: 13px; }
.discount-row { color: #10b981; font-weight: 500; }
.discount-row #discount { color: #10b981; }
/* Cart Drawer Styles */
.cart-drawer-overlay { position: fixed !important; inset: 0 !important; background: rgba(0,0,0,0.5) !important; z-index: 999999 !important; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; width: 100% !important; height: 100% !important; }
.cart-drawer-overlay.active { opacity: 1 !important; visibility: visible !important; }
.cart-drawer { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; max-width: 420px !important; height: 100vh !important; background: var(--background-color, var(--background, #fff)) !important; z-index: 9999999 !important; display: flex !important; flex-direction: column !important; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: -4px 0 20px rgba(0,0,0,0.15) !important; }
html[dir="ltr"] .cart-drawer, body[dir="ltr"] .cart-drawer { right: 0 !important; left: auto !important; transform: translateX(100%); direction: ltr; }
.cart-drawer, body[dir="rtl"] .cart-drawer{left: 0 !important;right: auto !important;transform: translateX(-100%);}html[dir="rtl"] .cart-drawer, body[dir="rtl"] .cart-drawer{direction: rtl;}#cart-drawer.cart-drawer.ltr{right: 0 !important;left: auto !important;transform: translateX(100%);}html[dir="ltr"] #cart-drawer.cart-drawer.ltr{direction: ltr;}#cart-drawer.cart-drawer.rtl{left: 0 !important;right: auto !important;transform: translateX(-100%);}html[dir="rtl"] #cart-drawer.cart-drawer.rtl{direction: rtl;}
.cart-drawer { height: 100dvh !important; box-sizing: border-box !important; }
@supports not (height: 100dvh) { .cart-drawer { height: calc(100vh - env(safe-area-inset-bottom, 0px)) !important; } }
.cart-drawer.active { transform: translateX(0) !important; }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border-color, #e5e7eb); flex-shrink: 0; }
.cart-drawer-header h2 { margin: 0; font-size: 1.25rem; color: var(--text-color, var(--text, #1f2937)); }
.cart-drawer-close { flex-shrink: 0; width: 40px; height: 40px; background: none; border: none; padding: 8px; cursor: pointer; color: var(--text-secondary, #6b7280); border-radius: 8px; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.cart-drawer-close:hover { background: var(--surface-color, var(--surface, #f3f4f6)); color: var(--text-color, var(--text, #1f2937)); }
.cart-drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0; }
.cart-drawer-body .cart-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border-color, #e5e7eb); }
.cart-drawer-body .cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cart-drawer-body .cart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-drawer-body .cart-item-name { font-weight: 600; color: var(--text-color, var(--text, #1f2937)); font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-drawer-body .cart-item-variant { font-size: 13px; color: var(--text-secondary, #6b7280); line-height: 1.4; }
.cart-drawer-body .cart-item-variant .cart-item-attr-label { font-weight: 500; }
.cart-drawer-body .cart-item-variant .cart-item-attr-sep { margin: 0 4px; opacity: 0.5; }
.cart-drawer-body .cart-item-price { color: var(--primary-color, var(--accent, var(--primary, #ff0083))); font-weight: 600; font-size: 15px; margin-top: 2px; }
.cart-drawer-body .cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.cart-drawer-body .cart-item-qty button { width: 32px; height: 32px; border: 1px solid var(--border-color, #e5e7eb); background: var(--surface-color, var(--surface, #f9fafb)); border-radius: 6px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; color: var(--text-color, var(--text, #374151)); transition: all 0.15s; }
.cart-drawer-body .cart-item-qty button:hover { background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); border-color: var(--primary-color, var(--primary, #ff0083)); }
.cart-drawer-body .cart-item-qty span { min-width: 28px; text-align: center; font-weight: 500; font-size: 15px; }
.cart-drawer-body .cart-item-remove { background: none; border: none; color: var(--text-secondary, #9ca3af); padding: 8px; cursor: pointer; border-radius: 6px; transition: all 0.15s; }
.cart-drawer-body .cart-item-remove:hover { color: #ef4444; background: #fef2f2; }
.cart-drawer-body .empty-cart { padding: 60px 20px; text-align: center; color: var(--text-secondary, #6b7280); }
.cart-drawer-body .empty-cart svg { width: 64px; height: 64px; margin-bottom: 16px; opacity: 0.5; }
.cart-drawer-footer { padding: 20px; border-top: 1px solid var(--border-color, #e5e7eb); background: var(--surface-color, var(--surface, #f9fafb)); padding-bottom: calc(20px + env(safe-area-inset-bottom)); flex-shrink: 0; }
.cart-drawer-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; color: var(--text-color, var(--text, #1f2937)); }
.cart-drawer-checkout { display: block; width: 100%; padding: 14px 24px; background: var(--primary-color, var(--primary, #ff0083)); color: var(--text-light, #fff); text-align: center; text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 15px; transition: filter 0.2s; }
.cart-drawer-checkout:hover { filter: brightness(0.9); }
@media (max-width: 480px) {
  .cart-drawer { max-width: 100%; }
}
/* Green Invoice Iframe Container */
#greeninvoice-iframe-container { margin-top: 16px; }
.greeninvoice-iframe-wrapper { position: relative; overflow: hidden; border-radius: 12px; background: var(--background-color, var(--background, #fff)); border: 1px solid var(--border-color, #e5e7eb); animation: iframeSlideIn 0.4s ease-out forwards; }
@keyframes iframeSlideIn { from { opacity: 0; transform: translateY(20px); max-height: 0; } to { opacity: 1; transform: translateY(0); max-height: 800px; } }
#greeninvoice-iframe { width: 100%; height: 600px; border: none; display: block; background: var(--background-color, var(--background, #fff)); }
#checkout-payment-section.fade-out { animation: fadeOutUp 0.3s ease-out forwards; }
@keyframes fadeOutUp { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10px); } }
.greeninvoice-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 400px; color: var(--text-secondary, #6b7280); }
.greeninvoice-loading-spinner { width: 40px; height: 40px; border: 3px solid var(--border-color, #e5e7eb); border-top-color: var(--primary-color, var(--primary, #ff0083)); border-radius: 50%; animation: spin 0.8s linear infinite; margin-bottom: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Featured Products Section (Home Page) */
.featured-products-section {
  padding: 60px 24px;
  background: var(--surface-color, var(--surface, linear-gradient(135deg, #f8f9fa 0%, #fff 100%)));
}
.featured-products-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--text-color, var(--text, #1a1a2e));
}
.featured-grid {
  max-width: 1440px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  justify-content: center;
}
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr !important;
  }
}
.view-all-products {
  text-align: center;
  margin-top: 40px;
}
.view-all-products .btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.view-all-products .btn-primary,
.btn.btn-primary {
  background: var(--primary-color, var(--primary, #ff0083));
  color: var(--text-light, #fff);
  border: none;
}
.no-featured-products {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary, #6b7280);
  font-size: 1rem;
  background: var(--surface-color, #f9fafb);
  border-radius: 12px;
  margin: 0 auto;
  max-width: 600px;
  grid-column: 1 / -1;
}
.view-all-products .btn-primary:hover,
.btn.btn-primary:hover {
  filter: brightness(0.9);
}
/* Featured Categories Section (Home Page) */
.featured-categories-section {
  padding: 60px 24px;
  background: var(--background-color, var(--background, #fff));
}
.featured-categories-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--text-color, var(--text, #1a1a2e));
}
.category-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}
.category-block {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.category-block-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.category-block:hover .category-block-bg {
  transform: scale(1.05);
}
.category-block-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}
.category-block-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
}
.category-block-name {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  text-align: center;
}
.loading-categories {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary, #6b7280);
  font-size: 1rem;
}
@media (max-width: 768px) {
  .category-blocks {
    grid-template-columns: 1fr;
  }
  .category-block {
    height: 160px;
  }
  .category-block-name {
    font-size: 1.25rem;
  }
}
/* Shop Now button */
.shop-now-btn {
  margin-right: 12px;
  background: var(--primary-color, var(--primary, #ff0083));
  color: var(--text-light, #fff);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.shop-now-btn:hover {
  filter: brightness(0.9);
}
/* Products catalog section */
.products-catalog-section {
  padding: 40px 24px;
}
.products-catalog-section .container {
  max-width: 1440px;
  margin: 0 auto;
}
/* Cart in nav */
.nav-cart {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: inherit;
  text-decoration: none;
  position: relative;
}
.nav-cart:hover {
  color: var(--primary-color, var(--primary, #ff0083));
}
/* Hide sub-navbars on focused pages (product, cart, checkout, order) */
body.zappy-focused-page .zappy-catalog-menu,
body.zappy-focused-page .zappy-announcement-bar {
  display: none !important;
  visibility: hidden !important;
}

/* Catalog Menu (Secondary Navigation) */
.zappy-catalog-menu {
  background: var(--surface-color, var(--surface, linear-gradient(135deg, #f8f9fa 0%, #fff 100%)));
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 90;
}
.catalog-menu-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  overflow: visible;
  /* flex-direction and justify-content set by .rtl/.ltr class rules below */
}
.catalog-menu-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.catalog-menu-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color, var(--text, #374151));
  text-decoration: none;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.catalog-menu-item:hover {
  background: var(--surface-color, var(--surface, #f3f4f6));
  color: var(--primary-color, var(--primary, #ff0083));
}
.catalog-menu-all {
  background: var(--primary-color, var(--primary, #ff0083));
  color: var(--text-light, #fff) !important;
}
.catalog-menu-all:hover {
  filter: brightness(0.9);
  color: var(--text-light, #fff) !important;
}
/* Products dropdown in V2 navbar - alignment and positioning */
.zappy-products-dropdown {
  position: relative !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.zappy-products-dropdown > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}
.zappy-products-dropdown .dropdown-arrow {
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}
.zappy-products-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg) !important;
}
.zappy-products-dropdown {
  position: relative !important;
  overflow: visible !important;
}
.zappy-products-dropdown > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.zappy-products-dropdown::after {
  content: "" !important;
  position: absolute !important;
  bottom: -10px !important;
  left: 0 !important;
  right: 0 !important;
  height: 10px !important;
}
.zappy-products-dropdown .sub-menu {
  position: absolute !important;
  top: 100% !important;
  /* Direction-aware positioning — overridden via html[dir] below so the dropdown
     stays correctly anchored after a runtime language switch (RTL <-> LTR). */
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(8px) !important;
  min-width: 220px !important;
  max-width: min(280px, calc(100vw - 32px)) !important;
  max-height: calc(100vh - 150px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: var(--background-color, var(--background, #fff)) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.06) !important;
  padding: 8px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  z-index: 999999 !important;
  list-style: none !important;
  margin: 0 !important;
}
.zappy-products-dropdown .sub-menu{left: auto !important;right: 50% !important;transform: translateX(50%) translateY(8px) !important;}
.zappy-products-dropdown:hover .sub-menu,
.zappy-products-dropdown:focus-within .sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}
.zappy-products-dropdown:hover .sub-menu,
html[dir="rtl"] .zappy-products-dropdown:focus-within .sub-menu{transform: translateX(50%) translateY(0) !important;}
.zappy-products-dropdown .sub-menu a {
  display: block !important;
  padding: 10px 16px !important;
  color: var(--text-color, var(--text, #333)) !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  font-size: 0.95em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}
.zappy-products-dropdown .sub-menu a:hover,
.zappy-products-dropdown .sub-menu a:focus {
  background-color: var(--surface-color, rgba(0,0,0,0.04)) !important;
  color: var(--primary-color, var(--primary, #111)) !important;
  outline: none !important;
  box-shadow: none !important;
}
.zappy-products-dropdown .sub-menu li {
  width: 100% !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.zappy-products-dropdown .sub-menu a:focus-visible {
  outline: none;
  box-shadow: none;
}
.zappy-products-dropdown .zappy-nav-parent > a {
  font-weight: 600 !important;
}
.zappy-products-dropdown .zappy-nav-child > a {
  padding-left: 28px !important;
  padding-right: 16px !important;
  font-size: 0.9em !important;
  opacity: 0.85 !important;
}
.zappy-products-dropdown .zappy-nav-child > a{padding-left: 16px !important;padding-right: 28px !important;}
.zappy-products-dropdown .zappy-nav-child > a:hover {
  opacity: 1 !important;
}
.zappy-products-dropdown .zappy-nav-parent ~ .zappy-nav-parent {
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  margin-top: 4px !important;
  padding-top: 4px !important;
}
@media (max-width: 768px) {
  .nav-menu.active,
  .nav-menu.open,
  .navbar .nav-menu.active,
  nav.navbar .nav-menu.active,
  #navMenu.active {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  .nav-menu.active > li,
  .nav-menu.open > li,
  .navbar .nav-menu.active > li,
  nav.navbar .nav-menu.active > li,
  #navMenu.active > li {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    float: none !important;
    clear: both !important;
  }
  .navbar .zappy-products-dropdown,
  nav.navbar .zappy-products-dropdown,
  .zappy-products-dropdown {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    clear: both !important;
  }
  .navbar .zappy-products-dropdown > a,
  nav.navbar .zappy-products-dropdown > a,
  .zappy-products-dropdown > a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }
  .navbar .zappy-products-dropdown > a svg,
  nav.navbar .zappy-products-dropdown > a svg,
  .zappy-products-dropdown > a svg {
    flex: 0 0 auto !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
  }
  .navbar .zappy-products-dropdown > .mobile-submenu-toggle,
  nav.navbar .zappy-products-dropdown > .mobile-submenu-toggle,
  .zappy-products-dropdown > .mobile-submenu-toggle {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 44px !important;
    height: 38px !important;
    min-height: 38px !important;
    align-self: auto !important;
    z-index: 3 !important;
  }
  .navbar .zappy-products-dropdown > .mobile-submenu-toggle,
  html[dir="rtl"] nav.navbar .zappy-products-dropdown > .mobile-submenu-toggle,
  html[dir="rtl"] .zappy-products-dropdown > .mobile-submenu-toggle{right: auto !important;left: 0 !important;}
  .navbar .zappy-products-dropdown::after,
  nav.navbar .zappy-products-dropdown::after,
  .zappy-products-dropdown::after {
    display: none !important;
    content: none !important;
  }
  .navbar .zappy-products-dropdown > .sub-menu,
  nav.navbar .zappy-products-dropdown > .sub-menu,
  .zappy-products-dropdown > .sub-menu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    max-height: 0 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    z-index: auto !important;
    clear: both !important;
  }
  .navbar .zappy-products-dropdown > .sub-menu.mobile-expanded,
  nav.navbar .zappy-products-dropdown > .sub-menu.mobile-expanded,
  .zappy-products-dropdown > .sub-menu.mobile-expanded {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .zappy-products-dropdown > .sub-menu li,
  .zappy-products-dropdown > .sub-menu li.zappy-nav-parent,
  .zappy-products-dropdown > .sub-menu li.zappy-nav-child {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    clear: both !important;
  }
  .zappy-products-dropdown > .sub-menu a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 12px 16px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    color: inherit !important;
  }
  .zappy-products-dropdown > .sub-menu .zappy-nav-parent > a {
    font-weight: 700 !important;
  }
  html[dir="ltr"] .zappy-products-dropdown > .sub-menu .zappy-nav-child > a,
  .zappy-products-dropdown > .sub-menu .zappy-nav-child > a {
    padding-left: 36px !important;
    padding-right: 16px !important;
    font-size: 0.94em !important;
    opacity: 0.85 !important;
  }
  .zappy-products-dropdown > .sub-menu .zappy-nav-child > a{padding-right: 36px !important;padding-left: 16px !important;}
  .zappy-products-dropdown + li,
  .zappy-products-dropdown + .menu-item {
    clear: both !important;
    position: relative !important;
    z-index: 1 !important;
  }
}
.catalog-menu-parent {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.catalog-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
html[dir="ltr"] .zappy-catalog-menu,
.zappy-catalog-menu[dir="ltr"],
.zappy-catalog-menu.ltr {
  direction: ltr !important;
}
html[dir="rtl"] .zappy-catalog-menu,
.zappy-catalog-menu[dir="rtl"],
.zappy-catalog-menu.rtl {
  direction: rtl !important;
}
html[dir="ltr"] .zappy-catalog-menu .catalog-menu-item,
.zappy-catalog-menu[dir="ltr"] .catalog-menu-item,
.zappy-catalog-menu.ltr .catalog-menu-item,
html[dir="ltr"] .zappy-catalog-menu .sub-menu,
.zappy-catalog-menu[dir="ltr"] .sub-menu,
.zappy-catalog-menu.ltr .sub-menu {
  direction: ltr !important;
  text-align: left !important;
}
.zappy-catalog-menu .catalog-menu-item,
.zappy-catalog-menu[dir="rtl"] .catalog-menu-item,
.zappy-catalog-menu.rtl .catalog-menu-item,
html[dir="rtl"] .zappy-catalog-menu .sub-menu,
.zappy-catalog-menu[dir="rtl"] .sub-menu,
.zappy-catalog-menu.rtl .sub-menu{text-align: right !important;}html[dir="rtl"] .zappy-catalog-menu .catalog-menu-item,
.zappy-catalog-menu[dir="rtl"] .catalog-menu-item,
.zappy-catalog-menu.rtl .catalog-menu-item,
html[dir="rtl"] .zappy-catalog-menu .sub-menu,
.zappy-catalog-menu[dir="rtl"] .sub-menu,
.zappy-catalog-menu.rtl .sub-menu{direction: rtl !important;}
.catalog-menu-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.catalog-menu-parent:hover .catalog-menu-chevron {
  transform: rotate(180deg);
}
.catalog-menu-parent > .sub-menu {
  position: absolute !important;
  top: 100% !important;
  /* Direction-aware anchor — overridden via html[dir] below so the dropdown
     stays correctly aligned after a runtime language switch (RTL <-> LTR). */
  left: 0 !important;
  right: auto !important;
  min-width: 200px !important;
  max-width: min(280px, calc(100vw - 32px)) !important;
  background: var(--bg-light, #fff) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
  padding: 6px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(6px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  z-index: 999999 !important;
  overflow-x: hidden !important;
  display: none !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin-top: 0 !important;
}
.catalog-menu-parent > .sub-menu{left: auto !important;right: 0 !important;}
.catalog-menu-parent::after {
  content: '' !important;
  position: absolute !important;
  bottom: -8px !important;
  left: 0 !important;
  right: 0 !important;
  height: 8px !important;
}
.catalog-menu-parent:hover > .sub-menu,
.catalog-menu-parent:focus-within > .sub-menu {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
.catalog-menu-parent > .sub-menu .catalog-menu-item {
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  border-radius: 6px;
  padding: 8px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  color: var(--text-color, var(--text, #333));
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.catalog-menu-parent > .sub-menu .catalog-menu-item:hover {
  background: rgba(0,0,0,0.05);
  color: var(--primary-color, var(--primary, #111));
}
.catalog-menu-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
/* RTL/LTR class support - see below for !important overrides */

/* V1: Fixed Header & Catalog Menu Positioning - Overrides base styles */
header,
nav#navbar,
nav.navbar,
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: var(--background-color, var(--background, #fff)) !important;
}
header::after,
header::before,
nav#navbar::after,
nav#navbar::before,
nav.navbar::after,
nav.navbar::before,
.navbar::after,
.navbar::before {
  display: none !important;
  content: none !important;
}
header > *:last-child,
nav#navbar > *:last-child,
nav.navbar > *:last-child,
.navbar > *:last-child {
  margin-bottom: 0 !important;
}


/* V1: Catalog menu full styling overrides - desktop only */
/* NOTE: Mobile visibility is handled via @media (max-width: 768px) { .zappy-catalog-menu { display: none !important; } } */
@media (min-width: 769px) {
  .zappy-catalog-menu {
    position: fixed !important;
    top: 60px !important; /* Default, JS will set exact value */
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    background: var(--surface-color, var(--surface, #f9fafb)) !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    outline: none !important;
    display: block !important;
    visibility: visible !important;
  }
  .zappy-catalog-menu::before, .zappy-catalog-menu::after {
    display: none !important;
    content: none !important;
  }
}

/* Catalog menu container - base styles */
.zappy-catalog-menu .catalog-menu-container {
  width: 100% !important;
  max-width: 100% !important;
  justify-content: center !important;
  flex-direction: row !important;
}
.zappy-catalog-menu .catalog-menu-list,
.zappy-catalog-menu .catalog-menu-categories {
  gap: 4px;
  flex-direction: row !important;
}
.zappy-catalog-menu[dir="ltr"] .catalog-menu-list,
.zappy-catalog-menu.ltr .catalog-menu-list,
.zappy-catalog-menu[dir="ltr"] .catalog-menu-categories,
.zappy-catalog-menu.ltr .catalog-menu-categories {
  direction: ltr !important;
}
.zappy-catalog-menu[dir="rtl"] .catalog-menu-list,
.zappy-catalog-menu.rtl .catalog-menu-list,
.zappy-catalog-menu[dir="rtl"] .catalog-menu-categories,
.zappy-catalog-menu.rtl .catalog-menu-categories {
  direction: rtl !important;
}
/* RTL layout - multiple selectors to ensure it works */
/* Note: With direction:rtl already set, flex-direction:row naturally flows right-to-left */
/* Using row-reverse would cause double-reversal, making items appear LTR */
.zappy-catalog-menu .catalog-menu-container,
html[lang="he"] .zappy-catalog-menu .catalog-menu-container,
html[lang="ar"] .zappy-catalog-menu .catalog-menu-container,
body[dir="rtl"] .zappy-catalog-menu .catalog-menu-container,
.zappy-catalog-menu[dir="rtl"] .catalog-menu-container,
.zappy-catalog-menu.rtl .catalog-menu-container{flex-direction: row !important;}
.zappy-catalog-menu .catalog-menu-categories,
html[lang="he"] .zappy-catalog-menu .catalog-menu-categories,
html[lang="ar"] .zappy-catalog-menu .catalog-menu-categories,
body[dir="rtl"] .zappy-catalog-menu .catalog-menu-categories,
.zappy-catalog-menu[dir="rtl"] .catalog-menu-categories,
.zappy-catalog-menu.rtl .catalog-menu-categories{flex-direction: row !important;}
/* V2 E-COMMERCE THEME OVERRIDES: Now handled by ecommerceV2GenerationService.js */
/* ==END ZAPPY E-COMMERCE CSS== */
/* mobile-submenu-overflow-fix */
@media (max-width: 768px) {
  .navbar .sub-menu.mobile-expanded,
  .nav-menu .sub-menu.mobile-expanded,
  #navMenu .sub-menu.mobile-expanded,
  .zappy-products-dropdown .sub-menu.mobile-expanded,
  .zappy-products-dropdown > .sub-menu.mobile-expanded,
  .menu-item-has-children > .sub-menu.mobile-expanded {
    max-height: none !important;
    overflow-y: visible !important;
  }
  .menu-item-has-children,
  .zappy-products-dropdown,
  .nav-menu > li.menu-item-has-children {
    flex-shrink: 0 !important;
  }
  .sub-menu a,
  .navbar .sub-menu a,
  .navbar .sub-menu li a,
  nav.navbar .sub-menu li a,
  .zappy-products-dropdown .sub-menu a {
    white-space: normal !important;
  }
}


/* zappy-nav-child-indent */
.zappy-products-dropdown .zappy-nav-child > a,
.sub-menu .zappy-nav-child > a {
  padding-left: 28px !important;
  font-size: 0.9em !important;
  opacity: 0.85 !important;
}
[dir="rtl"] .zappy-products-dropdown .zappy-nav-child > a,
[dir="rtl"] .sub-menu .zappy-nav-child > a,
html[lang="he"] .zappy-products-dropdown .zappy-nav-child > a,
html[lang="he"] .sub-menu .zappy-nav-child > a,
html[lang="ar"] .zappy-products-dropdown .zappy-nav-child > a,
html[lang="ar"] .sub-menu .zappy-nav-child > a {
  padding-left: 0 !important;
  padding-right: 28px !important;
}
.zappy-products-dropdown .zappy-nav-parent > a,
.sub-menu .zappy-nav-parent > a {
  font-weight: 600 !important;
}
@media (max-width: 768px) {
  .nav-menu.active,
  #navMenu.active {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
}


/* ========== EMPTY SUBMENU HIDING (Auto-added by Zappy) ========== */
.sub-menu:empty,
.dropdown-menu:empty,
.sub-menu.zappy-empty-submenu,
.dropdown-menu.zappy-empty-submenu,
.nav-menu .sub-menu.zappy-empty-submenu,
nav .sub-menu.zappy-empty-submenu,
.navbar .sub-menu.zappy-empty-submenu,
#navMenu .sub-menu.zappy-empty-submenu,
#navMenu .dropdown-menu.zappy-empty-submenu {
  display: none !important;
}


/* ========== RTL MOBILE NAVBAR FIX (zappy-rtl-mobile-fix) ========== */
/* High-specificity rules to ensure RTL positioning wins over any [lang="en"] conflicts */
/* For RTL sites: hamburger on RIGHT, phone on LEFT (mirror of LTR layout) */
/* NOTE: Includes both AND [dir="rtl"] selectors as fallback */
/* because some pages may be wrapped with <html lang="en"> (missing dir="rtl" on html) */
/* but still have dir="rtl" on <body> or other ancestor elements */

@media (max-width: 768px){/* RTL Mobile Toggle (hamburger) - positioned on RIGHT */
  /* Using multiple parent selectors for higher specificity */
  html[dir="rtl"] .navbar .mobile-toggle,
  html[dir="rtl"] nav .mobile-toggle,
  html[dir="rtl"] header .mobile-toggle,
  html[dir="rtl"] .nav-container .mobile-toggle,
  html[dir="rtl"] .mobile-toggle,
  [dir="rtl"] .navbar .mobile-toggle,
  [dir="rtl"] nav .mobile-toggle,
  [dir="rtl"] header .mobile-toggle,
  [dir="rtl"] .nav-container .mobile-toggle,
  [dir="rtl"] .mobile-toggle,
  html[lang="he"] .mobile-toggle,
  html[lang="ar"] .mobile-toggle {
    left: auto !important;right: 15px !important;}
  
  /* RTL Phone Button - positioned on LEFT */
  .navbar .phone-header-btn,
  html[dir="rtl"] nav .phone-header-btn,
  html[dir="rtl"] header .phone-header-btn,
  html[dir="rtl"] .nav-container .phone-header-btn,
  html[dir="rtl"] .phone-header-btn,
  [dir="rtl"] .navbar .phone-header-btn,
  [dir="rtl"] nav .phone-header-btn,
  [dir="rtl"] header .phone-header-btn,
  [dir="rtl"] .nav-container .phone-header-btn,
  [dir="rtl"] .phone-header-btn,
  html[lang="he"] .phone-header-btn,
  html[lang="ar"] .phone-header-btn{left: 15px !important;right: auto !important;}
  
  /* RTL Mobile Menu - slides from RIGHT */
  .navbar .nav-menu,
  html[dir="rtl"] nav .nav-menu,
  html[dir="rtl"] header .nav-menu,
  html[dir="rtl"] .nav-container .nav-menu,
  html[dir="rtl"] .nav-menu,
  [dir="rtl"] .navbar .nav-menu,
  [dir="rtl"] nav .nav-menu,
  [dir="rtl"] header .nav-menu,
  [dir="rtl"] .nav-container .nav-menu,
  [dir="rtl"] .nav-menu,
  html[lang="he"] .nav-menu,
  html[lang="ar"] .nav-menu{left: auto !important;right: 0 !important;}
  
  /* RTL Mobile Menu Links - text align right */
  .nav-menu a,
  html[dir="rtl"] .nav-menu li,
  [dir="rtl"] .nav-menu a,
  [dir="rtl"] .nav-menu li,
  html[lang="he"] .nav-menu a,
  html[lang="he"] .nav-menu li,
  html[lang="ar"] .nav-menu a,
  html[lang="ar"] .nav-menu li{text-align: right !important;}
}

/* ========== END RTL MOBILE NAVBAR FIX ========== */


/* ========== NAV CONTAINER MIN-HEIGHT FIX (nav-container-min-height-fix) ========== */
/* On mobile, all nav children are position:absolute/fixed (out of flow), */
/* so height:auto collapses to 0px. min-height ensures the navbar is visible. */

/* DEFENSIVE: Ensure CTA container is visible on desktop */
/* This guards against CSS minifiers (CleanCSS level 2) that may pull */
/* the mobile display:none rule out of its @media query */
@media (min-width: 769px) {
  .nav-cta-container,
  .nav-cta-container:not(:has(.lang-switcher)) {
    display: flex !important;
    align-items: center !important;
  }
}

@media (max-width: 768px) {
  .nav-container {
    min-height: 70px !important;
    position: relative !important;
  }
  /* Reset nav-cta-container desktop styling (box-shadow/padding) on mobile */
  .nav-cta-container {
    box-shadow: none !important;
    padding: 0 !important;
  }
  /* Hide nav-cta-container when no lang-switcher (only CTA btn, which is hidden on mobile) */
  .nav-cta-container:not(:has(.lang-switcher)) {
    display: none !important;
  }
}

/* ========== END NAV CONTAINER MIN-HEIGHT FIX ========== */


/* ========== HERO IMAGE GRADIENT FIX (hero-image-gradient-fix) ========== */
/* Prevent hero image fade gradient from bleeding over headline text below. */
/* The .image-fade-gradient has bottom: -30px which extends below its parent; */
/* on mobile stacked layout this overlaps the h1 text. */

@media (max-width: 768px) {
  .hero-image-column {
    overflow: hidden !important;
  }
  .image-fade-gradient {
    bottom: 0 !important;
  }
}

/* ========== END HERO IMAGE GRADIENT FIX ========== */


/* ========== FULLSCREEN HERO OVERFLOW FIX (fullscreen-hero-overflow-fix) ========== */
@media (max-width: 768px) {

  section[data-hero-type*="fullscreen"] {
    height: auto !important;
    min-height: 100svh !important;
    padding: 0 0 90px 0 !important;
  }
  section[data-hero-type*="fullscreen"] > [class*="-container"]:not([class*="bg"]):not([class*="scrim"]):not([class*="divider"]),
  section[data-hero-type*="fullscreen"] > .container {
    padding-bottom: 100px !important;
    min-height: auto !important;
  }
}
/* ========== END FULLSCREEN HERO OVERFLOW FIX ========== */

/* ========== ORPHANED_ZOOM_IMG_FIX ========== */
@media (max-width: 768px) {
  .zappy-preserve-css-grid > img[data-zappy-zoom],
  [class*="-grid"] > img[data-zappy-zoom] {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 300px !important;
    object-fit: cover !important;
    left: auto !important;
    top: auto !important;
  }
}
/* ========== END ORPHANED_ZOOM_IMG_FIX ========== */


/* ========== GRID RESPONSIVE FIX (zappy-grid-mobile-fix) ========== */
/* Ensures grids with explicit columns use CSS variable and are responsive on mobile */

/* DESKTOP: Explicit column grids use CSS variable for grid-template-columns */
/* The deployment process ensures --zappy-grid-cols is always set in inline styles */
[data-zappy-explicit-columns="true"] {
  display: grid !important;
  grid-template-columns: var(--zappy-grid-cols, repeat(2, minmax(0, 1fr))) !important;
}
/* Carousel mode overrides grid display to allow flex-based track layout */
.zappy-carousel-mode,
[data-zappy-display-mode="carousel"] {
  display: block !important;
}

/* ZOOM WRAPPER: Ensure overflow:hidden and position:relative for crop zoom effect */
/* The wrapper clips the oversized image to create the zoom/crop effect */
/* position:relative is needed so absolutely positioned images stay within the wrapper */
[data-zappy-zoom-wrapper="true"] {
  overflow: hidden !important;
  position: relative !important;
}

/* Prevent inserted elements from exceeding their container width.
   max-width uses no !important so inline styles can set a specific constraint. */
.zappy-inserted-element {
  max-width: 100%;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  /* Auto-grid (AI-generated) grids - force single column on mobile */
  .zappy-preserve-css-grid[data-zappy-auto-grid="true"],
  [data-zappy-auto-grid="true"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Grid children: override min-width:auto so children with fixed-width
     content (e.g. zoom wrappers with width:448px!important) can shrink
     to fit the 1fr column instead of overflowing the grid container. */
  .zappy-preserve-css-grid[data-zappy-auto-grid="true"] > *,
  [data-zappy-auto-grid="true"] > *,
  [data-zappy-explicit-columns="true"] > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  
  /* Featured grids - force single column on mobile */
  .featured-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Neutralize centering transforms on mobile */
  [data-zappy-center-transform] {
    transform: none !important;
  }
  
  /* Media-only grid items - constrain height on mobile */
  .zappy-preserve-css-grid[data-zappy-auto-grid="true"] > .zappy-grid-item-media-only,
  [data-zappy-auto-grid="true"] > .zappy-grid-item-media-only {
    height: auto !important;
    max-height: 300px !important;
  }
  
  .zappy-preserve-css-grid[data-zappy-auto-grid="true"] > .zappy-grid-item-media-only img,
  [data-zappy-auto-grid="true"] > .zappy-grid-item-media-only img {
    height: auto !important;
    max-height: 300px !important;
  }
  
  /* Full-width mode zoom wrappers - ensure image is visible (not collapsed) */
  [data-zappy-zoom-wrapper-width-mode="full"] img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 300px !important;
    left: auto !important;
    top: auto !important;
    object-fit: cover !important;
  }
  
  /* MOBILE: Explicit column grids - force single column on mobile */
  [data-zappy-explicit-columns="true"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Inline grid with fixed pixel columns - make responsive */
  .zappy-inline-grid-active.zappy-preserve-css-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* AI-generated section grids with common naming patterns */
  /* These often have fixed pixel column widths that don't adapt to mobile */
  [class*="-grid"]:not([data-zappy-auto-grid]):not(.zappy-preserve-css-grid):not([data-zappy-explicit-columns="true"]) {
    grid-template-columns: 1fr !important;
  }
  
  /* Reset any column/row spanning items on mobile - they cause overflow */
  /* Gallery grids often have -large items that span multiple columns */
  [class*="-grid"] > [class*="-large"],
  [class*="-grid"] > [class*="-item-large"],
  [class*="-grid"] > [style*="grid-column: span"],
  [class*="-grid"] > [style*="grid-row: span"] {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  
  /* Common AI-generated visual/frame containers that may overflow */
  [class*="-visual"],
  [class*="-frame"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  
  /* CRITICAL: Constrain zoom wrappers on mobile without breaking saved crop geometry */
  [data-zappy-zoom-wrapper="true"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    position: relative !important;
  }

  /* The zoom wrapper's image is position:absolute (so it contributes 0 to the
     wrapper's intrinsic content width). Inserted-element parents that carry a
     desktop pixel height (e.g. height:234px) collapse to 0px wide on mobile
     because nothing in the subtree pushes back on the cross-axis. Force them
     to fill the parent container so the wrapper's aspect-ratio chain resolves. */
  .zappy-inserted-element:has(> [data-zappy-zoom-wrapper="true"]) {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  /* Reset zoom wrapper images on mobile to responsive display.
     Images with explicit mobile crop overrides are excluded - the JS runtime
     applies their crop/zoom after page load. */
  [data-zappy-zoom-wrapper="true"]:not([data-zappy-zoom-wrapper-width-mode="full"]) img:not([data-zappy-mobile-object-position]):not([data-zappy-mobile-zoom]) {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
  
  /* Carousel: ensure block display on mobile */
  .zappy-carousel-mode,
  [data-zappy-display-mode="carousel"] {
    display: block !important;
  }
  /* JS-initialized carousel: constrain wrapper on mobile */
  .zappy-carousel-js-init .zappy-carousel-container-wrapper {
    max-width: calc(100% - 20px) !important;
  }
  .zappy-carousel-js-init .zappy-carousel-item {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  /* CSS-only fallback: if JS didn't initialize, stack items vertically */
  .zappy-carousel-mode:not(.zappy-carousel-js-init) .zappy-carousel-container-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  .zappy-carousel-mode:not(.zappy-carousel-js-init) .zappy-carousel-track {
    flex-direction: column !important;
    transform: none !important;
    gap: 1.5rem !important;
  }
  .zappy-carousel-mode:not(.zappy-carousel-js-init) .zappy-carousel-item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
  .zappy-carousel-mode:not(.zappy-carousel-js-init) > :not(style):not(script):not(.zappy-carousel-btn):not(.zappy-carousel-dots):not(.zappy-carousel-container-wrapper) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
  }
  .zappy-carousel-mode:not(.zappy-carousel-js-init) .zappy-carousel-btn,
  .zappy-carousel-mode:not(.zappy-carousel-js-init) .zappy-carousel-dots {
    display: none !important;
  }
  /* Carousel items: fix zoom wrapper padding creating excess spacing */
  .zappy-carousel-item [data-zappy-zoom-wrapper="true"],
  .zappy-carousel-mode > div [data-zappy-zoom-wrapper="true"] {
    padding-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  /* Carousel buttons: position inside the card area on mobile */
  .zappy-carousel-js-init > .zappy-carousel-btn {
    left: 4px !important;
    right: auto !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    background: rgba(255,255,255,0.9) !important;
  }
  .zappy-carousel-js-init > .zappy-carousel-btn.zappy-carousel-right {
    left: auto !important;
    right: 4px !important;
  }
  
  /* ========== MAIN PADDING FIX ========== */
  /* Fix double-padding from old V2 mobile CSS that applied padding to both main and sections */
  /* Exclude ecommerce-page which needs its own horizontal padding for proper mobile layout */
  main:not(.ecommerce-page) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Hero sections need flex-column on mobile for proper stacking */
  section[class*="hero"],
  .home-Hero-section {
    flex-direction: column !important;
  }
  
  /* Hero sections need extra padding-top to clear the sticky navbar */
  /* The navbar is ~70px tall, so hero needs at least 100px padding-top */
  /* IMPORTANT: Use section tag to avoid matching child elements like buttons that contain "-hero-section" in their BEM class */
  section[class*="-hero-section"]:first-of-type,
  main > section:first-child {
    padding-top: 100px !important;
  }
  
  /* ========== HERO CONTAINER FULL-WIDTH (FULLSCREEN HEROES ONLY) ========== */
  /* Only strip container padding/width for heroes with actual background images.
     Text-only and side-by-side hero sections on inner pages need normal padding. */
  .hero-container,
  /* V2 generation-time fullscreen heroes */
  section[data-hero-type="fullscreen-scrim"] > .container,
  section[data-hero-type="fullscreen-card"] > .container,
  /* Editor-applied background images on hero sections */
  section[class*="hero"][data-zappy-bg-type="image"] > .container,
  section[class*="hero"][data-zappy-bg-type="video"] > .container,
  /* V1 fallback: hero sections with known bg structures */
  section[class*="hero"]:has(.hero-bg-container) > .container,
  section[class*="hero"]:has([data-hero-bg]) > .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* ========== HERO WIDTH FIX ========== */
  /* Remove nested horizontal padding for fullscreen-type heroes only */
  .home-Hero-section .hero-container,
  .home-Hero-section .hero-content,
  .home-Hero-section .hero-metrics,
  .home-Hero-section .hero-image-column,
  .home-Hero-section .hero-image-frame,
  .home-Hero-section .container,
  .home-Hero-section .wrapper,
  /* V2 fullscreen heroes */
  section[data-hero-type="fullscreen-scrim"] .hero-container,
  section[data-hero-type="fullscreen-scrim"] .hero-content,
  section[data-hero-type="fullscreen-scrim"] .container,
  section[data-hero-type="fullscreen-card"] .hero-container,
  section[data-hero-type="fullscreen-card"] .hero-content,
  section[data-hero-type="fullscreen-card"] .container,
  /* Editor-applied background images on hero sections */
  section[class*="hero"][data-zappy-bg-type="image"] .hero-container,
  section[class*="hero"][data-zappy-bg-type="image"] .hero-content,
  section[class*="hero"][data-zappy-bg-type="image"] .container,
  section[class*="hero"][data-zappy-bg-type="video"] .hero-container,
  section[class*="hero"][data-zappy-bg-type="video"] .hero-content,
  section[class*="hero"][data-zappy-bg-type="video"] .container,
  /* V1 fallback: hero sections with known bg structures */
  section[class*="hero"]:has(.hero-bg-container) .hero-container,
  section[class*="hero"]:has(.hero-bg-container) .hero-content,
  section[class*="hero"]:has(.hero-bg-container) .container,
  section[class*="hero"]:has([data-hero-bg]) .hero-container,
  section[class*="hero"]:has([data-hero-bg]) .hero-content,
  section[class*="hero"]:has([data-hero-bg]) .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
  }
  
  /* ========== HERO VERTICAL SPACING FIX ========== */
  .home-Hero-section .hero-content,
  .home-Hero-section .hero-container,
  .home-Hero-section .hero-image-column {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  
  .hero-cta-row {
    padding: 8px 0 !important;
    margin: 8px 0 12px !important;
  }
  
  .hero-content {
    gap: 12px !important;
  }
  
  .hero-metrics {
    gap: 10px !important;
  }
  
  .metric-card {
    padding: 12px !important;
  }
  
  .hero-container {
    gap: 16px !important;
  }

  /* ========== GRID OVERFLOW FIX ========== */
  /* CSS Grid items default to min-width:auto, preventing them from shrinking
     below their content's intrinsic size. Fixed-width zoom wrappers or large
     images inside grid items can force the column wider than the viewport. */
  .hero-container > * {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  /* Zappy-inserted image elements with fixed-width zoom wrappers must
     respect the parent container width on mobile */
  .zappy-inserted-element,
  [data-zappy-zoom-wrapper] {
    max-width: 100% !important;
  }

  /* ========== FULLSCREEN HERO OVERFLOW FIX ========== */

  section[data-hero-type*="fullscreen"] {
    height: auto !important;
    min-height: 100svh !important;
    padding: 0 0 90px 0 !important;
  }
  section[data-hero-type*="fullscreen"] > [class*="-container"]:not([class*="bg"]):not([class*="scrim"]):not([class*="divider"]),
  section[data-hero-type*="fullscreen"] > .container {
    padding-bottom: 100px !important;
    min-height: auto !important;
  }
}

/* ========== HERO SECTION WIDTH CONSTRAINT (ALL VIEWPORTS) ========== */
/* Prevent hero sections from exceeding viewport width.                */
/* Root cause: AI-generated CSS may use width:100vw or add horizontal  */
/* padding to the section, causing it to overflow the viewport.        */
/* NOTE: Do NOT add overflow:hidden here — it clips SVG bottom dividers */
/* that need overflow:visible to extend into the next section.          */
section[class*="hero" i],
section[class*="Hero"],
section[data-hero-type] {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ========== SVG DIVIDER OVERLAY FIX ========== */
/* Many AI sections place .section-divider absolutely at the bottom of a section,
   which can overlap/cut off the last row of content. The safest CSS-only fix
   is to prevent overlay by forcing the divider into normal flow. */
.section-divider {
  position: relative !important;
  bottom: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: auto !important;
  margin-top: 16px !important;
}

.section-divider svg {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

/* Exclude small icon SVGs from full-width sizing - these are decorative icons, not wave dividers */
.section-divider svg.divider-icon,
.section-divider svg[width="32"],
.section-divider svg[width="24"],
.section-divider svg[width="48"],
.section-divider svg[viewBox="0 0 32 32"],
.section-divider svg[viewBox="0 0 24 24"],
.section-divider svg[viewBox="0 0 48 48"] {
  width: auto !important;
  height: auto !important;
  max-width: 64px !important;
  max-height: 64px !important;
}

/* ========== END SVG DIVIDER OVERLAY FIX ========== */

/* ========== HORIZONTAL-PAIR GRID MEDIA FIX ========== */
/* Ensures media in horizontal-pair grids fills columns correctly */

/* Image/video media cells: stretch to fill the grid cell */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"]:not([data-element-type="icon"]) {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  min-height: 0 !important;
}

/* Icon media cells: use flex for centering but allow alignment to be controlled by the editor */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"][data-element-type="icon"] {
  position: relative !important;
  display: flex !important;
  min-height: 0 !important;
}

/* Images/videos: preserve aspect ratio while filling column width */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"] > img,
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"] > video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  min-height: 0 !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Icons/SVG: respect their explicit pixel size from the editor */
/* Do NOT force width/height: 100% - icons should use their inline size */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"] > svg,
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"] > .iconify,
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] [data-zappy-media-cell="true"] > .iconify svg {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  display: inline-block !important;
}

/* Non-media grid items (buttons, text, etc.) should NOT stretch */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] > .zappy-inserted-element:not([data-zappy-media-cell]) {
  align-self: start !important;
  height: auto !important;
  width: auto !important;
  max-width: 100% !important;
}

/* Buttons inside non-media grid items should NOT stretch horizontally */
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] > .zappy-inserted-element:not([data-zappy-media-cell]) .btn,
.zappy-horizontal-grid[data-zappy-grid-kind="horizontal-pair"] > .zappy-inserted-element:not([data-zappy-media-cell]) [data-element-type="button"] {
  width: auto !important;
  flex: 0 0 auto !important;
}

/* ========== END HORIZONTAL-PAIR GRID MEDIA FIX ========== */

/* ========== END GRID RESPONSIVE FIX ========== */


/* ZAPPY_VARIANT_OPTION_STATES */
.variant-option.disabled { opacity: 0.3; position: relative; }
.variant-option.disabled:not(.color-swatch)::after { content: ""; position: absolute; top: 50%; left: 4px; right: 4px; height: 1px; background: currentColor; transform: rotate(-12deg); pointer-events: none; }
.variant-option.color-swatch.disabled::before { content: ""; position: absolute; top: 50%; left: 2px; right: 2px; height: 1.5px; background: currentColor; transform: rotate(-45deg); pointer-events: none; z-index: 1; }
.variant-option.out-of-stock { opacity: 0.6; position: relative; }
.variant-option.out-of-stock:not(.color-swatch)::after { content: ""; position: absolute; top: 50%; left: 4px; right: 4px; height: 1px; background: currentColor; transform: rotate(-12deg); pointer-events: none; }
.variant-option.color-swatch.out-of-stock::before { content: ""; position: absolute; top: 50%; left: 2px; right: 2px; height: 1.5px; background: currentColor; transform: rotate(-45deg); pointer-events: none; z-index: 1; }


/* ZAPPY_CHECKOUT_FIX */
/* Checkout form input styling (covers both V1 and V2 sites) */
.checkout-accordion-panel input[type="text"],
.checkout-accordion-panel input:not([type]),
.checkout-accordion-panel input[type="email"],
.checkout-accordion-panel input[type="tel"],
.checkout-accordion-panel select {
  width: 100% !important;
  padding: 14px 16px !important;
  border: 1px solid #f0f0f0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-size: 15px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  box-sizing: border-box !important;
  color: var(--text-dark, var(--text, #1a1a1a)) !important;
}
.checkout-accordion-panel input[type="text"]:focus,
.checkout-accordion-panel input:not([type]):focus,
.checkout-accordion-panel input[type="email"]:focus,
.checkout-accordion-panel input[type="tel"]:focus,
.checkout-accordion-panel select:focus {
  outline: none !important;
  border-color: var(--accent, var(--primary, #3F37C9)) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb, var(--primary-rgb, 0,0,0)), 0.08) !important;
}
.checkout-accordion-panel input::placeholder {
  color: rgba(0,0,0,0.35) !important;
}
[dir="rtl"] .checkout-accordion-panel input,
[dir="rtl"] .checkout-accordion-panel input::placeholder {
  text-align: right !important;
}
.checkout-form-fields { display: flex !important; flex-direction: column !important; gap: 16px !important; }
.checkout-form-fields .input-wrapper { margin-bottom: 0 !important; }
/* Checkbox sizing fix - prevents general input styles from affecting checkboxes */
.checkout-step input[type="checkbox"],
.checkout-accordion-panel input[type="checkbox"],
.save-address-checkbox,
.terms-checkbox {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 4px !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}
.save-address-wrapper {
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--border-color, #e5e7eb) !important;
}
.save-address-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: var(--text-color, var(--text, #6b7280)) !important;
}
/* Checkout login prompt */
.checkout-login-prompt {
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  padding: 12px 16px !important;
  background: rgba(var(--accent-rgb, var(--primary-rgb, 63, 55, 201)), 0.08) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  color: rgba(0,0,0,0.6) !important;
}
.checkout-login-link {
  color: var(--accent, var(--primary, #3F37C9)) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: opacity 0.2s !important;
}
.checkout-login-link:hover {
  opacity: 0.8 !important;
  text-decoration: underline !important;
}
/* Checkout logged-in user display */
/* NOTE: Do NOT set display here - inline JS controls visibility via display:none/flex */
.checkout-logged-in {
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  padding: 12px 16px !important;
  background: rgba(var(--accent-rgb, var(--primary-rgb, 63, 55, 201)), 0.08) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  color: rgba(0,0,0,0.6) !important;
}
.checkout-logged-in-text {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
}
.checkout-logout-btn {
  background: none !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  color: rgba(0,0,0,0.5) !important;
  transition: all 0.2s !important;
  white-space: nowrap !important;
}
.checkout-logout-btn:hover {
  border-color: rgba(0,0,0,0.3) !important;
  color: rgba(0,0,0,0.7) !important;
}
/* Variant options - no blocked cursor on disabled/out-of-stock */
.variant-option.disabled,
.variant-option.out-of-stock {
  cursor: pointer !important;
}
/* Product add-to-cart row - V2-aligned layout */
.product-add-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 16px !important;
  position: sticky !important;
  bottom: 20px !important;
  z-index: 100 !important;
}
.product-add-row .product-quantity > label { display: none !important; }
.product-add-row .product-quantity {
  display: inline-flex !important;
  width: max-content !important;
}
.product-add-row .quantity-selector {
  display: flex !important;
  align-items: center !important;
  border: 1px solid var(--border-color, #e5e7eb) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  height: 48px !important;
}
.product-add-row .quantity-selector button {
  width: 48px !important;
  height: 48px !important;
  border: none !important;
  background: rgba(0,0,0,0.03) !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.product-add-row .quantity-selector button:hover {
  background: rgba(0,0,0,0.07) !important;
}
.product-add-row .quantity-selector input {
  width: 50px !important;
  height: 48px !important;
  border: none !important;
  text-align: center !important;
  font-size: 1rem !important;
  background: transparent !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
}
.product-add-row .quantity-selector input::-webkit-inner-spin-button,
.product-add-row .quantity-selector input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.product-add-row .product-actions {
  flex: 1 !important;
  display: flex !important;
}
.product-add-row .product-actions .add-to-cart,
.product-add-row .product-actions #add-to-cart-btn {
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  padding: 0 24px !important;
}
@media (max-width: 480px) {
  .product-add-row { flex-direction: column !important; align-items: stretch !important; }
}
/* Product details accordion collapse support */
.product-details-accordion.collapsed .product-details-body {
  display: none !important;
}


/* ZAPPY_QUANTITY_SELECTOR_FIX */
.product-info .quantity-selector input,
.product-add-row .quantity-selector input {
  padding: 0 !important;
  -moz-appearance: textfield !important;
  -webkit-appearance: textfield !important;
  appearance: textfield !important;
}
.product-info .quantity-selector input::-webkit-inner-spin-button,
.product-info .quantity-selector input::-webkit-outer-spin-button,
.product-add-row .quantity-selector input::-webkit-inner-spin-button,
.product-add-row .quantity-selector input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
  display: none !important;
}


/* ZAPPY_CONTACT_FORM_LAYOUT_FIX */
form.contact-form, .contact-form { flex-direction: column !important; align-items: stretch !important; }
form.contact-form > .contact-form-field, .contact-form > .contact-form-field { width: 100% !important; align-self: stretch !important; }
form.contact-form .contact-input, form.contact-form .contact-textarea { width: 100% !important; box-sizing: border-box !important; }


/* ZAPPY_NAVBAR_CTA_ALIGNMENT_FIX */
.nav-cta-container .zappy-search-container,
.zappy-search-container { align-self: center; }
.nav-cta-container p { margin: 0 !important; }


/* ZAPPY_SECTION_BG_TYPE_FIX */
[data-zappy-bg-type="color"] { background-image: none !important; background-color: var(--zappy-bg-color, transparent) !important; }
[data-zappy-bg-type="image"] { background-image: linear-gradient(var(--zappy-bg-overlay, rgba(0,0,0,0)), var(--zappy-bg-overlay, rgba(0,0,0,0))), var(--zappy-bg-image, none) !important; background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
[data-zappy-bg-type="video"] { background-image: none !important; }


/* ZAPPY_IOS_NAVBAR_GAP_FIX */
/* iOS Safari does not clip overflow-x:hidden on <html>, so a page with any
   horizontal overflow ends up with visual viewport > layout viewport.
   position:fixed children anchored with right:0 (the mobile dropdown menu)
   then pin to the visual viewport right edge — off-screen past the navbar.
   Companion JS (ZAPPY_IOS_VIEWPORT_GAP_FIX in script.js) measures the gap
   and exposes it as --ios-viewport-gap; this rule uses it to shift the
   menu inward so it lands on the real layout-viewport right edge. On every
   other browser the gap is 0 and the rule is a no-op.

   The selector list below intentionally mirrors the RTL selectors used
   elsewhere in the stylesheet — we need equal-or-higher specificity to
   win the cascade (!important alone can't beat higher specificity). */
@media (max-width: 768px) {
  .navbar,
  nav.navbar {
    width: auto !important;
    max-width: none !important;
    left: 0 !important;
    right: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  #navMenu,
  .nav-menu,
  .nav-menu,
  html[dir="rtl"] .navbar .nav-menu,
  html[dir="rtl"] nav .nav-menu,
  html[dir="rtl"] header .nav-menu,
  html[dir="rtl"] .nav-container .nav-menu,
  [dir="rtl"] .navbar .nav-menu,
  [dir="rtl"] nav .nav-menu,
  [dir="rtl"] header .nav-menu,
  [dir="rtl"] .nav-container .nav-menu,
  [dir="rtl"] .nav-menu,
  html[lang="he"] .nav-menu,
  html[lang="ar"] .nav-menu{/* Force position:fixed so the --ios-viewport-gap shift is measured
       against the (visual) viewport, not whatever container the menu may
       have been reparented into by earlier v1/v2 patches.
       --zappy-navbar-bottom is set by the runtime JS companion and
       defaults to 70px — this lets us override the v2 `top: 100%` (which
       with position:fixed would resolve to the full viewport height and
       push the menu off-screen). */
    position: fixed !important;top: var(--zappy-navbar-bottom, 70px) !important;right: var(--ios-viewport-gap, 0px) !important;}
}


/* ZAPPY_CART_DRAWER_DIR_OVERRIDE */
/* Runtime-direction-aware cart drawer placement. Selectors target both
   html[dir=...] and body[dir=...] so they apply regardless of which element
   carries the dir attribute, and use #id + .class so they beat any baked
   class="rtl" / class="ltr" on the aside itself (specificity 0,1,2,1 vs the
   baked-class rule at 0,1,2,0; the !important on every property completes
   the override). Generic for every site / language. */
html[dir="ltr"] #cart-drawer.cart-drawer,
body[dir="ltr"] #cart-drawer.cart-drawer,
html[dir="ltr"] .cart-drawer,
body[dir="ltr"] .cart-drawer {
  right: 0 !important;
  left: auto !important;
  transform: translateX(100%) !important;
  direction: ltr !important;
}
#cart-drawer.cart-drawer,
body[dir="rtl"] #cart-drawer.cart-drawer,
html[dir="rtl"] .cart-drawer,
body[dir="rtl"] .cart-drawer{left: 0 !important;right: auto !important;transform: translateX(-100%) !important;}html[dir="rtl"] #cart-drawer.cart-drawer,
body[dir="rtl"] #cart-drawer.cart-drawer,
html[dir="rtl"] .cart-drawer,
body[dir="rtl"] .cart-drawer{direction: rtl !important;}
html[dir="ltr"] #cart-drawer.cart-drawer.active,
body[dir="ltr"] #cart-drawer.cart-drawer.active,
html[dir="ltr"] .cart-drawer.active,
body[dir="ltr"] .cart-drawer.active,
#cart-drawer.cart-drawer.active,
body[dir="rtl"] #cart-drawer.cart-drawer.active,
html[dir="rtl"] .cart-drawer.active,
body[dir="rtl"] .cart-drawer.active{transform: translateX(0) !important;}


/* ZAPPY_PRODUCTS_DROPDOWN_LTR_INDENT */
/* LTR mirror of the [dir="rtl"] indentation block. Equal-or-higher
   specificity than the shorthand .navbar .sub-menu li a override so the
   nested sub-category items keep their visual indent on every LTR page —
   English, Spanish, French, Russian, German, etc. The selectors target
   dir="ltr" (the source of truth set on <html> by per-language page
   generation), NOT a specific language code, so the rule stays generic
   across every site / language combination. */
[dir="ltr"] .sub-menu .zappy-nav-child > a,
[dir="ltr"] .zappy-products-dropdown .zappy-nav-child > a,
html[dir="ltr"] .sub-menu .zappy-nav-child > a,
html[dir="ltr"] .zappy-products-dropdown .zappy-nav-child > a {
  padding-left: 28px !important;
  padding-right: 16px !important;
  font-size: 0.9em !important;
  opacity: 0.85 !important;
}
@media (max-width: 768px) {
  [dir="ltr"] .navbar .zappy-products-dropdown > .sub-menu .zappy-nav-child > a,
  [dir="ltr"] nav.navbar .zappy-products-dropdown > .sub-menu .zappy-nav-child > a,
  html[dir="ltr"] .navbar .zappy-products-dropdown > .sub-menu .zappy-nav-child > a,
  html[dir="ltr"] nav.navbar .zappy-products-dropdown > .sub-menu .zappy-nav-child > a {
    padding-left: 36px !important;
    padding-right: 16px !important;
  }
}


/* ZAPPY_MOBILE_NAV_MENU_ITEM_PADDING */
@media (max-width: 768px) {
  .navbar .nav-menu.active > li > a,
  nav.navbar .nav-menu.active > li > a,
  #navMenu.active > li > a,
  .nav-menu.open > li > a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.4 !important;
  }
  .navbar .nav-menu.active > li,
  nav.navbar .nav-menu.active > li,
  #navMenu.active > li,
  .nav-menu.open > li {
    margin: 4px 0 !important;
  }
  .navbar .nav-menu.active > li.zappy-products-dropdown > a,
  nav.navbar .nav-menu.active > li.zappy-products-dropdown > a,
  #navMenu.active > li.zappy-products-dropdown > a,
  .nav-menu.open > li.zappy-products-dropdown > a {
    padding-right: 56px !important;
  }
  .navbar .nav-menu.active > li.zappy-products-dropdown > a,
  html[dir="rtl"] nav.navbar .nav-menu.active > li.zappy-products-dropdown > a,
  html[dir="rtl"] #navMenu.active > li.zappy-products-dropdown > a,
  html[dir="rtl"] .nav-menu.open > li.zappy-products-dropdown > a{padding-right: 16px !important;padding-left: 56px !important;}
}

/* Cookie Consent Styles */
/* Cookie Consent Customizations ccCssV13 */
:root {
  /* --cc-bg has to STAY translucent (with the matching backdrop-filter on
   * the bar below) so the slim bar reads as a frosted overlay rather than
   * a solid horizontal stripe slapped on top of the page. The preferences
   * modal — which doesn't use backdrop-filter — overrides this to a solid
   * white below so it doesn't render see-through against the page. */
  --cc-bg: rgba(255, 255, 255, 0.96);
  --cc-modal-bg: #ffffff;
  --cc-primary-color: #1f2937;
  --cc-secondary-color: #4b5563;
  --cc-btn-primary-bg: #1e3a8a;
  --cc-btn-primary-color: #ffffff;
  --cc-btn-primary-border: #1e3a8a;
  --cc-btn-primary-hover-bg: #052171;
  --cc-btn-primary-hover-border: #052171;
  --cc-btn-primary-hover-color: #ffffff;
  /* --cc-btn-secondary-* are used by BOTH the bar's "Customize" link and
   * the preferences modal's "Accept Necessary" / "Save Preferences" pills.
   * We keep the token defaults sensible (light grey fill, dark text) so
   * the preferences-modal buttons stay visible, then override only
   * .zappy-cookie-banner__button--customize directly to render the
   * Customize link as a transparent underlined text. */
  --cc-btn-secondary-bg: #f3f4f6;
  --cc-btn-secondary-color: #1f2937;
  --cc-btn-secondary-border: #e5e7eb;
  --cc-btn-secondary-hover-bg: #e5e7eb;
  --cc-btn-secondary-hover-color: #111827;
  --cc-btn-secondary-hover-border: #d1d5db;
  --cc-toggle-on-bg: #1e3a8a;
}

#cc-main,
#cc--main {
  font-family: inherit !important;
  color: var(--cc-primary-color);
}

/* === Zappy-owned slim bottom bar ===
 * Single-row inline layout: [description text] ......... [Customize] [Accept]
 * The banner is our DOM (#zappy-cookie-banner), not the library's #cm
 * consent modal. That avoids vanilla-cookieconsent's internal
 * <button><span>Label</span></button> structure entirely.
 */
#zappy-cookie-banner {
  position: fixed !important;
  inset: auto 0 0 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 10px 56px 10px 20px !important;
  background: var(--cc-bg) !important;
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border: none !important;
  border-top: 1px solid rgba(30, 58, 138, 0.18) !important;
  border-radius: 0 !important;
  box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  align-items: center !important;
  min-height: 52px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  z-index: 2147483646;
}

#zappy-cookie-banner .zappy-cookie-banner__inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  max-width: 1200px;
  width: 100% !important;
  margin: 0 auto;
  padding: 0 !important;
  min-height: 32px !important;
}

#zappy-cookie-banner .zappy-cookie-banner__text {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--cc-primary-color) !important;
  height: 32px !important;
  min-height: 32px !important;
  line-height: 32px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#zappy-cookie-banner .zappy-cookie-banner__actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

#zappy-cookie-banner .zappy-cookie-banner__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 0 16px !important;
  height: 32px !important;
  min-height: 0 !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  transition: background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

/* Primary "Accept" — filled pill in site primary color */
#zappy-cookie-banner .zappy-cookie-banner__button--accept {
  background-color: var(--cc-btn-primary-bg) !important;
  color: var(--cc-btn-primary-color) !important;
  border: 1px solid var(--cc-btn-primary-border) !important;
}

#zappy-cookie-banner .zappy-cookie-banner__button--accept:hover {
  background-color: var(--cc-btn-primary-hover-bg) !important;
  border-color: var(--cc-btn-primary-hover-border) !important;
}

/* Secondary "Customize" — borderless underlined text link.
 * Same height as the Accept pill so the row stays perfectly aligned, but
 * with no fill, no border, and an underline that sits 3px below the
 * baseline (text-underline-offset). Hard-coded brand color so this rule
 * doesn't depend on --cc-btn-secondary-* (which have to stay sensible
 * defaults for the preferences modal's two secondary pills). */
#zappy-cookie-banner .zappy-cookie-banner__button--customize {
  background-color: transparent !important;
  color: #1e3a8a !important;
  border: none !important;
  padding: 0 8px !important;
  height: 32px !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 6px !important;
}

#zappy-cookie-banner .zappy-cookie-banner__button--customize:hover {
  color: #052171 !important;
  background-color: transparent !important;
}

#zappy-cookie-banner .zappy-cookie-banner__close {
  position: absolute !important;
  top: 8px !important;
  right: 12px !important;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 999px !important;
  color: var(--cc-secondary-color) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
#zappy-cookie-banner .zappy-cookie-banner__close:hover {
  background-color: rgba(0, 0, 0, 0.06) !important;
  color: var(--cc-primary-color) !important;
}
#zappy-cookie-banner .zappy-cookie-banner__button:focus-visible,
#zappy-cookie-banner .zappy-cookie-banner__close:focus-visible {
  outline: 2px solid var(--cc-btn-primary-bg) !important;
  outline-offset: 2px;
}
/* RTL: anchor the X to the top-LEFT and shift body padding accordingly. */
[dir="rtl"] #zappy-cookie-banner {
  padding: 10px 20px 10px 56px !important;
}
[dir="rtl"] #zappy-cookie-banner .zappy-cookie-banner__close {
  right: auto !important;
  left: 12px !important;
}

/* === Preferences modal — minimalist restyle ===
 * The modal opens when "Customize" is clicked. It MUST render as a solid
 * card — pre-fix it inherited the bar's translucent --cc-bg without the
 * matching backdrop-filter, leaving the page footer visibly bleeding
 * through the modal box, the title, the toggle rows, and the bottom
 * button row. Solid white box + clean shadow + an explicit slightly
 * darker scrim on the overlay restores proper modal hierarchy. */
/* The scrim belongs on wrapper layers only. In vanilla-cookieconsent v3,
 * .pm / #pm is the preferences card itself, so styling .pm as the dark
 * overlay makes the card look transparent. */
#cc-main .pm-wrapper,
#cc--main .pm-wrapper,
#cc-main .pm-wrapper.pm--box,
#cc--main .pm-wrapper.pm--box {
  background: rgba(0, 0, 0, 0.32) !important;
}

#cc-main #pm,
#cc--main #pm,
#cc-main .pm,
#cc--main .pm,
#cc-main .pm .pm__box,
#cc--main .pm .pm__box,
#cc-main .pm__box,
#cc--main .pm__box {
  background: var(--cc-modal-bg) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 14px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18) !important;
}

#cc-main .pm__header,
#cc--main .pm__header,
#cc-main .pm__body,
#cc--main .pm__body,
#cc-main .pm__footer,
#cc--main .pm__footer,
#cc-main .pm__section,
#cc--main .pm__section {
  background: var(--cc-modal-bg) !important;
}

#cc-main .pm__title,
#cc--main .pm__title {
  font-weight: 600 !important;
  color: var(--cc-primary-color) !important;
}

#cc-main .pm__btn[data-role="accept-all"],
#cc--main .pm__btn[data-role="accept-all"] {
  background-color: var(--cc-btn-primary-bg) !important;
  border-color: var(--cc-btn-primary-border) !important;
  color: var(--cc-btn-primary-color) !important;
  border-radius: 999px !important;
}

#cc-main .pm__btn[data-role="accept-all"]:hover,
#cc--main .pm__btn[data-role="accept-all"]:hover {
  background-color: var(--cc-btn-primary-hover-bg) !important;
  border-color: var(--cc-btn-primary-hover-border) !important;
}

/* Secondary modal pills — "Accept Necessary" + "Save Preferences".
 * Must be a visible solid fill (light grey on white card) so users can
 * actually find them. Pre-fix these inherited --cc-btn-secondary-bg:
 * transparent (used by the bar's Customize text link), making them
 * invisible against the modal background. */
#cc-main .pm__btn,
#cc--main .pm__btn {
  border-radius: 999px !important;
}
#cc-main .pm__btn[data-role="necessary"],
#cc--main .pm__btn[data-role="necessary"],
#cc-main .pm__btn[data-role="save"],
#cc--main .pm__btn[data-role="save"] {
  background-color: var(--cc-btn-secondary-bg) !important;
  color: var(--cc-btn-secondary-color) !important;
  border: 1px solid var(--cc-btn-secondary-border) !important;
}
#cc-main .pm__btn[data-role="necessary"]:hover,
#cc--main .pm__btn[data-role="necessary"]:hover,
#cc-main .pm__btn[data-role="save"]:hover,
#cc--main .pm__btn[data-role="save"]:hover {
  background-color: var(--cc-btn-secondary-hover-bg) !important;
  color: var(--cc-btn-secondary-hover-color) !important;
  border-color: var(--cc-btn-secondary-hover-border) !important;
}

/* Toggle thumbs in brand color when on */
#cc-main .section__toggle:checked + .toggle__icon,
#cc--main .section__toggle:checked + .toggle__icon,
#cc-main .section__toggle:checked ~ .toggle__icon,
#cc--main .section__toggle:checked ~ .toggle__icon {
  background-color: var(--cc-toggle-on-bg) !important;
}

/* Mobile fallback: two rows (description on top, buttons below) */
@media (max-width: 640px) {
  #zappy-cookie-banner {
    padding: 10px 14px !important;
  }
  #zappy-cookie-banner .zappy-cookie-banner__inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  #zappy-cookie-banner .zappy-cookie-banner__text {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
  }
  #zappy-cookie-banner .zappy-cookie-banner__actions {
    width: 100%;
    justify-content: space-between;
  }
  #zappy-cookie-banner .zappy-cookie-banner__button--accept {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* Cookie preferences button in legal footer keeps default behavior */
.cookie-preferences-btn:hover {
  text-decoration: none !important;
}
#mic-access-tool-general-button, html[dir="rtl"] .mic-access-tool-general-button,
html[dir="rtl"] #mic-init-access-tool .mic-access-tool-general-button,
html[dir="rtl"] #mic-init-access-tool #mic-access-tool-general-button,
html[dir="rtl"] ._access-icon{left: 20px !important;right: auto !important;}
html[dir="ltr"] #mic-access-tool-general-button, html[dir="ltr"] .mic-access-tool-general-button,
html[dir="ltr"] #mic-init-access-tool .mic-access-tool-general-button,
html[dir="ltr"] #mic-init-access-tool #mic-access-tool-general-button,
html[dir="ltr"] ._access-icon,
html:not([dir]) #mic-access-tool-general-button, html:not([dir]) .mic-access-tool-general-button,
html:not([dir]) #mic-init-access-tool .mic-access-tool-general-button,
html:not([dir]) #mic-init-access-tool #mic-access-tool-general-button,
html:not([dir]) ._access-icon { right: 20px !important; left: auto !important; }

/* LTR: keep image on left for solution-reverse sections */
html[dir="ltr"] .solution-item.solution-reverse .solution-image { order: -1 !important; }
html[dir="ltr"] .solution-item.solution-reverse .solution-content { order: 1 !important; }
html[dir="ltr"] .service-detail.service-reverse .service-detail-image { order: -1 !important; }
html[dir="ltr"] .service-detail.service-reverse .service-detail-content { order: 1 !important; }

/* Footer contact alignment fix */
.footer-contact li > a { display: flex; align-items: flex-start; gap: inherit; }

/* RTL footer contact: icon on the right (start) side, text on the left */
.footer-contact li, html[dir="rtl"] .site-footer .footer-contact li, html[dir="rtl"] .site-footer .footer-col:nth-child(3) .footer-contact li{flex-direction: row !important;justify-content: flex-start !important;}
.footer-contact .contact-icon{order: 0 !important;}
.footer-contact .contact-text{order: 1 !important;}
.footer-contact li > a{flex-direction: row !important;}

/* Spec table BiDi fix: isolate cells so mixed LTR/RTL content renders correctly */
.specs-table th, .specs-table td { unicode-bidi: plaintext !important; }

/* ZAPPY-LTR-TEXTALIGN-OVERRIDES:BEGIN */
/* ============================================
   LTR TEXT-ALIGN OVERRIDES FOR RTL-BAKED CONTENT
   See block comment at top of multiLanguageService.js for full rationale.
   Patterns covered:
   - *-card-content / *-card-text  → e-commerce + collections card bodies
   - *-content-column              → split / two-column section bodies
   - contact form grid/card blocks → contact form two-column sections
   - *-info-item / .suggestion-item → contact-form widgets
   - .order-success-card           → checkout success card
   - .privacy-consent-label        → contact-form consent checkbox row
   - .text-left                    → AI sometimes literally writes
                                     ".text-left { text-align: right }" in
                                     Hebrew sites — flip it so the class
                                     name matches its behaviour.
   Uses text-align: start (resolves to left in LTR, right in RTL via the
   CSS spec) for the structural patterns; .text-left is forced literally
   to left because its name is a contract.
   ============================================ */
html[dir="ltr"] [class*="-card-content"],
html[dir="ltr"] [class*="-card-text"],
html[dir="ltr"] [class*="-content-column"],
html[dir="ltr"] .suggestion-item,
html[dir="ltr"] .contact-info-item,
html[dir="ltr"] .order-success-card {
  text-align: start !important;
}

html[dir="ltr"] .text-left {
  text-align: left !important;
}

/* Contact form columns/cards are often baked with direction: rtl. In LTR this
   reverses the grid column placement and moves punctuation to the wrong side
   of headings (e.g. "?What should you tell us"). */
html[dir="ltr"] .contact-form-grid,
html[dir="ltr"] .contact-form-container,
html[dir="ltr"] .form-card,
html[dir="ltr"] .reassurance-card,
html[dir="ltr"] .suggestion-list {
  direction: ltr !important;
  text-align: left !important;
}

html[dir="ltr"] .suggestion-item,
html[dir="ltr"] .contact-info-item {
  direction: ltr !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

/* Consent labels are often baked with direction: rtl so the checkbox renders
   on the right. In LTR the checkbox is the first DOM child and should render
   on the left, before the translated agreement text. */
html[dir="ltr"] .privacy-consent-label {
  direction: ltr !important;
  text-align: left !important;
}

/* Form inputs the AI baked with both `direction: rtl` AND `text-align:
   right` on contact pages — for LTR visitors the cursor + placeholder must
   read left-to-right, otherwise typing an English email puts the @ on the
   wrong side of the input. */
html[dir="ltr"] .contact-contact-form-section .form-group input,
html[dir="ltr"] .contact-contact-form-section .form-group textarea {
  direction: ltr !important;
  text-align: left !important;
}

/* Solution / service sections baked with direction: rtl — in LTR the text
   reads backwards (period on the left, right-aligned paragraphs). */
html[dir="ltr"] .solution-content,
html[dir="ltr"] .solution-item,
html[dir="ltr"] .service-detail-content,
html[dir="ltr"] .service-detail,
html[dir="ltr"] .solutions-showcase,
html[dir="ltr"] [class*="solutions-grid"],
html[dir="ltr"] [class*="solution-description"],
html[dir="ltr"] [class*="solution-text"] {
  direction: ltr !important;
  text-align: left !important;
}
/* ZAPPY-LTR-TEXTALIGN-OVERRIDES:END */
