@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* 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');
}

/* 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');
}

:root {
--primary: #4F8A3C;
  --secondary: #4C7DA6;
  --accent: #C47A2C;
  --bg-light: #ffffff;
  --bg-dark: #1a1a1a;
  --text-dark: #4a4a4a;
  --text-light: #ffffff;
  --text-muted: #707070;
  --border-light: #898b8d;
  --border-dark: #6a7484;
  --nav-bg: #F7F4EC;
  --nav-text: #2B2B24;
  --nav-text-hover: #2E6E1F;

  --radius-sm: 4px;
  --radius-card: 6px;
  --radius-btn: 4px;
  --radius-img: 4px;
  --radius-badge: 4px;
  --radius-input: 4px;
  --shadow-subtle: 0 2px 8px rgba(31, 42, 34, 0.08);
  --shadow-card: 0 10px 28px rgba(58, 47, 24, 0.12);
  --shadow-elevated: 0 16px 34px rgba(58, 47, 24, 0.16);
  --shadow-btn-hover: 0 14px 30px rgba(79, 138, 60, 0.22);
  --spacing-section: 96px;
  --spacing-section-mobile: 56px;
  --spacing-card-padding: 32px;
  --spacing-card-gap: 24px;
  --spacing-element-gap: 16px;
  --transition-default: all 0.22s ease;
  --transition-hover: all 0.18s ease;

  --gradient-primary: linear-gradient(180deg, #498038 0%, #38622B 100%);
  --gradient-gold-shine: linear-gradient(180deg, #F7E4AA 0%, #DDA56A 55%, #D28534 100%);
  --gradient-secondary: linear-gradient(180deg, #F0D690 0%, #D8B45B 100%);
  --gradient-gold-accent: linear-gradient(135deg, #F1DB97 0%, #D8B45B 100%);
  --gradient-dark-section: linear-gradient(180deg, #F5F0E5 0%, #EAE2D0 100%);
  --gradient-overlay-dark: linear-gradient(180deg, rgba(33,42,22,0.18) 0%, rgba(33,42,22,0.04) 100%);
  --gradient-light-section: linear-gradient(180deg, #FBF8F0 0%, #F1EBDD 100%);
  --gradient-overlay-light: linear-gradient(180deg, rgba(255,248,232,0.92) 0%, rgba(255,248,232,0.82) 100%);
  --primary-color: #4F8A3C;
  --secondary-color: #4C7DA6;
  --accent-color: #C47A2C;
  --background-color: #ffffff;
  --surface-color: #f8f9fa;
  --text-color: #4a4a4a;
  --text-secondary-color: #707070;

  --heading-font: 'Poppins', sans-serif;
  --font-heading: 'Poppins', sans-serif;}

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

html {
  font-size: 16px !important;
  direction: rtl;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-family: 'Rubik', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
}

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

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

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

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

h5 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

h6 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
  font-family: 'Rubik', sans-serif;
}

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

span,
div,
li,
td,
th,
label,
input,
textarea,
select,
button {
  font-family: 'Rubik', sans-serif;
}

a {
  color: var(--accent, var(--primary));
  text-decoration: none;
  transition: var(--transition-hover);
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: inherit;
  opacity: 0.85;
}

ul,
ol {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 1.5rem 0;
}

blockquote {
  border-right: 4px solid var(--primary);
  padding-right: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}

code,
pre {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
}

pre {
  overflow-x: auto;
  padding: 1rem;
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-sm);
}

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

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

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  font-weight: 600;
  text-transform: none;
  transition: var(--transition-hover);
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  box-shadow: var(--shadow-btn-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

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

.btn-primary:hover {
  background: linear-gradient(180deg, #4F8A3C 0%, #498038 100%);
  color: var(--text-light);
}

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

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

.btn-accent {
  background: var(--accent);
  color: var(--text-light);
  border-color: transparent;
}

.btn-accent:hover {
  background: #C47A2C;
  color: var(--text-light);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 18px;
}

.section {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

.section-light {
  background: var(--gradient-light-section);
}

.section-dark {
  background: var(--gradient-dark-section);
}

.card {
  background: var(--text-light);
  border-radius: var(--radius-card);
  padding: var(--spacing-card-padding);
  box-shadow: var(--shadow-card);
  transition: var(--transition-default);
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-badge);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

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

.badge-accent {
  background: var(--accent);
  color: var(--text-light);
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
  border-radius: var(--radius-input);
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  font-size: 16px;
  font-family: 'Rubik', sans-serif;
  color: var(--text-dark);
  background-color: var(--text-light);
  transition: var(--transition-default);
  width: 100%;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 138, 60, 0.12);
}

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

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

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

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

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

.text-accent { color: var(--accent); }

.text-muted { color: var(--text-muted); }

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

.text-dark { color: var(--text-dark); }

.bg-primary { background-color: var(--primary); }

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

.bg-accent { background-color: var(--accent); }

.bg-light { background-color: var(--bg-light); }

.bg-dark { background-color: var(--bg-dark); }

.d-flex { display: flex; }

.d-grid { display: grid; }

.d-block { display: block; }

.d-none { display: none; }

.d-inline { display: inline; }

.d-inline-flex { display: inline-flex; }

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

.align-start { align-items: flex-start; }

.align-end { align-items: flex-end; }

.justify-center { justify-content: center; }

.justify-between { justify-content: space-between; }

.justify-start { justify-content: flex-start; }

.justify-end { justify-content: flex-end; }

.flex-wrap { flex-wrap: wrap; }

.flex-col { flex-direction: column; }

.gap-sm { gap: var(--spacing-element-gap); }

.gap-md { gap: var(--spacing-card-gap); }

.w-full { width: 100%; }

.h-full { height: 100%; }

.rounded-sm { border-radius: var(--radius-sm); }

.rounded-card { border-radius: var(--radius-card); }

.rounded-full { border-radius: 9999px; }

.shadow-subtle { box-shadow: var(--shadow-subtle); }

.shadow-card { box-shadow: var(--shadow-card); }

.shadow-elevated { box-shadow: var(--shadow-elevated); }

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

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

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

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media (max-width: 768px) {
  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; }

  .section {
    padding-top: var(--spacing-section-mobile);
    padding-bottom: var(--spacing-section-mobile);
  }

  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 10px 22px;
    font-size: 15px;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 16px;
  }

  .card {
    padding: 20px;
  }
}

@media (min-width: 769px) {
  .whatsapp-float {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 14px;
  }
}

@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;
  }
}

/* Navbar Styles */
:root {
  --nav-bg: #F7F4EC;
  --nav-text: #2B2B24;
  --nav-text-hover: #2E6E1F;
  --primary: #4F8A3C;
  --secondary: #4C7DA6;
  --accent: #C47A2C;
  --bg-light: #ffffff;
  --text-dark: #4a4a4a;
  --text-light: #ffffff;
  --text-muted: #707070;
  --border-light: #898b8d;
}

.navbar {
  background-color: var(--nav-bg);
  border-bottom: 2px solid #D6D0BC;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 8px rgba(43, 43, 36, 0.07);
  font-family: 'Rubik', sans-serif;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 0;
  height: 68px;
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  outline: none;
}

.logo {
  max-height: 40px;
  height: auto;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  list-style: none;
  margin: 0 32px 0 0;
  padding: 0;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.18s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 4px;
  right: 16px;
  left: 16px;
  height: 2px;
  background-color: var(--nav-text-hover);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.18s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--nav-text-hover);
  background-color: rgba(46, 110, 31, 0.07);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta-container {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-cta-btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--text-light);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid var(--primary);
  transition: all 0.18s ease;
  white-space: nowrap;
  text-transform: none;
  line-height: 1;
}

.nav-cta-btn:hover {
  background-color: #4F8A3C;
  border-color: #4F8A3C;
  color: var(--text-light);
  box-shadow: 0 14px 30px rgba(79, 138, 60, 0.22);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--nav-text);
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.18s ease;
}

.mobile-toggle:hover {
  background-color: rgba(46, 110, 31, 0.07);
  color: var(--nav-text-hover);
}

.phone-header-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--nav-text);
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.18s ease;
}

.phone-header-btn:hover {
  background-color: rgba(46, 110, 31, 0.07);
  color: var(--nav-text-hover);
}

@media (max-width: 768px) {
  .navbar {
    position: sticky;
    top: 0;
  }

  .mobile-toggle {
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .phone-header-btn {
    display: flex;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .nav-container {
    height: 60px;
    padding: 0 60px;
    justify-content: center;
  }

  .nav-brand {
    justify-content: center;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    background-color: var(--nav-bg);
    border-top: 2px solid #D6D0BC;
    border-bottom: 2px solid #D6D0BC;
    padding: 16px 0;
    margin: 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(43, 43, 36, 0.10);
    z-index: 999;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(214, 208, 188, 0.5);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta-container {
    display: none;
    width: 100%;
    padding: 16px 24px;
    margin: 0;
    background-color: var(--nav-bg);
  }

  .nav-cta-container.is-open {
    display: block;
  }

  .nav-cta-btn {
    display: block;
    text-align: center;
    width: 100%;
  }
}

:root {
  --nav-bg: #F7F4EC;
  --nav-text: #2B2B24;
  --nav-text-hover: #2E6E1F;
  --primary: #4F8A3C;
  --secondary: #4C7DA6;
  --accent: #C47A2C;
  --bg-light: #ffffff;
  --text-dark: #4a4a4a;
  --text-light: #ffffff;
  --text-muted: #707070;
  --border-light: #898b8d;
}

.navbar {
  background-color: var(--nav-bg);
  border-bottom: 2px solid #D6D0BC;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 8px rgba(43, 43, 36, 0.07);
  font-family: 'Rubik', sans-serif;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 0;
  height: 68px;
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  outline: none;
}

.logo {
  max-height: 40px;
  height: auto;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  list-style: none;
  margin: 0 32px 0 0;
  padding: 0;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.18s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 4px;
  right: 16px;
  left: 16px;
  height: 2px;
  background-color: var(--nav-text-hover);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.18s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--nav-text-hover);
  background-color: rgba(46, 110, 31, 0.07);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta-container {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-cta-btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--text-light);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid var(--primary);
  transition: all 0.18s ease;
  white-space: nowrap;
  text-transform: none;
  line-height: 1;
}

.nav-cta-btn:hover {
  background-color: #4F8A3C;
  border-color: #4F8A3C;
  color: var(--text-light);
  box-shadow: 0 14px 30px rgba(79, 138, 60, 0.22);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--nav-text);
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.18s ease;
}

.mobile-toggle:hover {
  background-color: rgba(46, 110, 31, 0.07);
  color: var(--nav-text-hover);
}

.phone-header-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--nav-text);
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.18s ease;
}

.phone-header-btn:hover {
  background-color: rgba(46, 110, 31, 0.07);
  color: var(--nav-text-hover);
}

@media (max-width: 768px) {
  .navbar {
    position: sticky;
    top: 0;
  }

  .mobile-toggle {
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .phone-header-btn {
    display: flex;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .nav-container {
    height: 60px;
    padding: 0 60px;
    justify-content: center;
  }

  .nav-brand {
    justify-content: center;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    background-color: var(--nav-bg);
    border-top: 2px solid #D6D0BC;
    border-bottom: 2px solid #D6D0BC;
    padding: 16px 0;
    margin: 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(43, 43, 36, 0.10);
    z-index: 999;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(214, 208, 188, 0.5);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta-container {
    display: none;
    width: 100%;
    padding: 16px 24px;
    margin: 0;
    background-color: var(--nav-bg);
  }

  .nav-cta-container.is-open {
    display: block;
  }

  .nav-cta-btn {
    display: block;
    text-align: center;
    width: 100%;
  }
}

/* ============================================
   NAVBAR LAYOUT - POST-GENERATION FIXES
   Structural layout only - colors from Claude
   ============================================ */

/* Base navbar styles - structural only, colors from AI */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  /* Background color is set by Claude's CSS - don't override */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ============================================
   DESKTOP LAYOUT (>768px)
   ============================================ */

/* Nav container - constrains max width and provides padding */
.nav-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 70px;
}

/* Logo styling (desktop) — mobile logo stays at 110px/35px, do not adjust */
.logo {
  max-height: 40px;
  max-width: 160px !important;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

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

.logo-link:focus {
  outline: none;
}

/* Remove browser default dark focus box on mouse-click; preserve for keyboard (:focus-visible). */
.navbar a:focus:not(:focus-visible),
.navbar button:focus:not(:focus-visible),
.nav-menu a:focus:not(:focus-visible) {
  outline: none;
}

.navbar a:focus-visible,
.navbar button:focus-visible,
.nav-menu a:focus-visible {
  outline: 2px solid var(--primary-color, var(--primary, #4F8A3C));
  outline-offset: 2px;
}

/* Nav brand container */
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
}

/* Navigation menu - positioned adjacent to logo */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
}

.nav-menu li {
  margin: 0;
  padding: 0;
}

.nav-menu > li > a,
.nav-menu > .nav-item > a {
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.65rem;
  white-space: nowrap;
  color: var(--nav-text, var(--text-dark)) !important;
}

.nav-menu > li > a:hover,
.nav-menu > .nav-item > a:hover {
  color: var(--nav-text-hover, var(--secondary)) !important;
}

/* CTA Container - pushed to end of navbar */
.nav-cta-container {
  margin-left: auto;
  display: flex;
  align-items: center;
  align-self: center;
  height: auto;
  max-height: none;
  padding-top: 0;
  padding-bottom: 0;
}

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

/* Search container inside CTA area — vertically center to match CTA button */
.nav-cta-container .zappy-search-container {
  align-self: center;
}

.nav-cta-container p {
  margin: 0 !important;
}

/* CTA button - prevent stretching to fill navbar height.
   AI CSS provides colors/gradients/etc - we only constrain sizing.
   display: inline-flex + max-height: 44px keeps it as a compact pill. */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  align-self: center;
  height: auto;
  max-height: 44px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
}

/* ============================================
   LTR DESKTOP LAYOUT (English, Spanish, French)
   ============================================ */
html[dir="ltr"] .nav-container,
html[lang="en"] .nav-container,
html[lang="es"] .nav-container,
html[lang="fr"] .nav-container {
  justify-content: flex-start;
}

html[dir="ltr"] .nav-menu,
html[lang="en"] .nav-menu,
html[lang="es"] .nav-menu,
html[lang="fr"] .nav-menu {
  margin-left: 0;
  margin-right: 0;
}

html[dir="ltr"] .nav-cta-container,
html[lang="en"] .nav-cta-container,
html[lang="es"] .nav-cta-container,
html[lang="fr"] .nav-cta-container {
  margin-left: auto;
  margin-right: 0;
}

/* ============================================
   RTL DESKTOP LAYOUT (Hebrew, Arabic)
   ============================================ */
html[dir="rtl"] .nav-container,
html[lang="he"] .nav-container,
html[lang="ar"] .nav-container {
  flex-direction: row-reverse;
  justify-content: space-between;
}

/* CTA on the left in RTL */
html[dir="rtl"] .nav-cta-container,
html[lang="he"] .nav-cta-container,
html[lang="ar"] .nav-cta-container {
  order: -1;
  margin: 0;
}

/* Wrapper groups menu and logo together on the right */
html[dir="rtl"] .nav-right-group,
html[lang="he"] .nav-right-group,
html[lang="ar"] .nav-right-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  order: 1;
  flex: 1;
  min-width: 0;
  flex-direction: row-reverse;
}

/* Within wrapper: Logo on far right, menu to its left */
html[dir="rtl"] .nav-right-group .nav-brand,
html[lang="he"] .nav-right-group .nav-brand,
html[lang="ar"] .nav-right-group .nav-brand {
  order: 2;
}

html[dir="rtl"] .nav-right-group .nav-menu,
html[lang="he"] .nav-right-group .nav-menu,
html[lang="ar"] .nav-right-group .nav-menu {
  order: 1;
}

/* ============================================
   DROPDOWN MENUS (Desktop)
   ============================================ */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.65rem;
  color: var(--nav-text, var(--text-dark)) !important;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.dropdown-toggle:hover {
  color: var(--nav-text-hover, var(--secondary)) !important;
}

.dropdown-arrow {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  overflow: visible !important;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  min-width: 220px;
  background: var(--bg-light, #ffffff);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 100001;
  list-style: none;
  margin: 0;
}

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

html[dir="ltr"] .dropdown-menu,
html:not([dir="rtl"]):not([lang="he"]):not([lang="ar"]) .dropdown-menu {
  left: 0;
  right: auto;
}

@media (min-width: 769px) {
  .nav-dropdown:hover > .dropdown-menu {
    display: block;
  }
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 400;
  font-size: 0.9em;
  color: var(--text-dark, #1a1a1a) !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
  background: rgba(128,128,128,0.1);
  color: var(--nav-text-hover, var(--accent, var(--primary))) !important;
}

/* Desktop: Hide mobile-only elements */
@media (min-width: 769px) {
  .mobile-toggle,
  .phone-header-btn {
    display: none !important;
  }
  
  /* Hide Contact in nav-menu on desktop (it shows in CTA container instead) */
  .nav-menu .mobile-contact-link {
    display: none !important;
  }
  
  /* When .nav-right-group wrapper is absent, the nav-container has 3 direct
     children (brand, menu, CTA) with space-between. flex:1 makes the menu
     fill the gap, and justify-content:flex-start pushes items toward the
     logo side instead of centering them in the available space. */
  .nav-menu {
    flex: 1 !important;
    justify-content: flex-start !important;
  }
}

/* ============================================
   MOBILE RESPONSIVE (≤768px)
   ============================================ */
@media (max-width: 768px) {
  /* Reset nav-container for mobile */
  /* CRITICAL: Reset position properties to prevent conflict with AI-generated mobile CSS */
  /* Some AI generations set .nav-container to position:fixed for slide-out menus, */
  /* position:relative is needed so .nav-brand (position:absolute) centers within it */
  .nav-container {
    padding: 0.75rem 1rem;
    gap: 0;
    justify-content: center !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: 70px !important; /* Ensure height for absolutely positioned mobile buttons */
    width: 100% !important;
  }
  
  /* Show mobile elements - positioned as direct children of navbar */
  .mobile-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px; /* LTR default - hamburger on left */
    right: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    width: 36px !important;
    height: 36px !important;
    color: var(--nav-text, var(--text-dark)) !important;
  }
  
  .phone-header-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px; /* LTR default - phone on right */
    left: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    width: 36px !important;
    height: 36px !important;
    color: var(--nav-text, var(--text-dark)) !important;
  }
  
  /* Ensure logo-link is centered */
  .logo-link, .nav-brand a {
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
  
  .mobile-toggle svg,
  .phone-header-btn svg {
    width: 24px !important;
    height: 24px !important;
    color: inherit !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    transition: opacity 0.3s ease;
  }
  
  .mobile-toggle svg path,
  .phone-header-btn svg path {
    stroke: currentColor !important;
  }
  
  .mobile-toggle img,
  .phone-header-btn img {
    width: 24px !important;
    height: 24px !important;
    /* Filter removed - preserve original image colors */
    /* ColorContrastService will handle contrast adjustments */
  }
  
  .mobile-toggle:hover svg,
  .phone-header-btn:hover svg {
    opacity: 0.8;
  }
  
  /* Remove default button styles */
  .mobile-toggle:focus,
  .mobile-toggle:active,
  .phone-header-btn:focus,
  .phone-header-btn:active {
    outline: none;
    border: none;
    box-shadow: none;
  }
  
  /* Center logo on mobile - applies to both LTR and RTL */
  /* RTL selectors added for higher specificity to override desktop RTL rules */
  /* IMPORTANT: Do NOT use margin shorthand (margin: 0 auto) — it resets margin-top
     which breaks AI centering hacks (top:50% + margin-top:-Npx).
     Use explicit left/right + transform for robust vertical centering. */
  .nav-brand,
  html[dir="rtl"] .nav-brand,
  html[lang="he"] .nav-brand,
  html[lang="ar"] .nav-brand,
  html[dir="rtl"] .nav-right-group .nav-brand,
  html[lang="he"] .nav-right-group .nav-brand,
  html[lang="ar"] .nav-right-group .nav-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    text-align: center;
    order: 0 !important;
  }
  
  /* Mobile logo size: fixed at 35px/110px — do not adjust, especially for e-commerce/catalog sites */
  .logo {
    max-height: 35px !important;
    max-width: 110px !important;
  }
  
  /* Hide RTL wrapper on mobile */
  .nav-right-group {
    display: contents !important;
  }
  
  /* Hide CTA container on mobile - Contact will be in hamburger menu */
  .nav-cta-container {
    display: none !important;
  }
  
  /* Mobile menu - hidden by default */
  /* CRITICAL: flex-direction: column must have !important to override any desktop rules */
  .nav-menu {
    position: fixed;
    top: 70px;
    width: 50%;
    max-width: 300px;
    /* Mobile menu is position:fixed so it CANNOT inherit background from navbar.
       When --nav-bg is transparent (hero-overlay navbars), the menu would be invisible.
       Always use a solid background derived from the palette. */
    background-color: var(--bg-light, #ffffff) !important;
    flex-direction: column !important;
    gap: 0;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    z-index: 999;
    margin: 0 !important;
    /* Align menu items to top, not center */
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  
  .nav-menu.active {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  /* Show mobile-contact-link in hamburger menu */
  .nav-menu .mobile-contact-link {
    display: block !important;
  }
  
  /* LTR mobile menu text alignment - left aligned */
  html[dir="ltr"] .nav-menu a,
  html:not([dir="rtl"]):not([lang="he"]):not([lang="ar"]) .nav-menu a {
    text-align: left !important;
  }
  
  .nav-menu a {
    display: block;
    padding: 15px 30px;
    width: 100%;
    font-weight: 500;
  }
  
  /* Mobile dropdown menus */
  .nav-dropdown {
    position: static;
  }
  
  .dropdown-toggle {
    display: flex;
    width: 100%;
    padding: 15px 30px;
    font-weight: 500;
    justify-content: space-between;
  }
  
  .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: rgba(128,128,128,0.06) !important;
    min-width: auto !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: max-height 0.3s ease !important;
  }
  
  .nav-dropdown .dropdown-menu {
    display: block;
    max-height: 0 !important;
    overflow: hidden !important;
  }
  
  .nav-dropdown.open > .dropdown-menu {
    display: block !important;
    max-height: none !important;
    overflow-y: visible !important;
    padding: 0.5rem 0 !important;
  }
  
  .dropdown-menu li a {
    padding: 12px 30px 12px 50px !important;
    font-size: 0.9em;
  }
  
  html[dir="rtl"] .dropdown-menu li a,
  html[lang="he"] .dropdown-menu li a,
  html[lang="ar"] .dropdown-menu li a {
    padding: 12px 50px 12px 30px !important;
  }

  /* Mobile submenu links: use nav panel text color instead of desktop submenu color.
     Desktop submenu uses light bg + dark text, but mobile submenu is inline (transparent)
     within the nav panel which may be dark. Cannot use 'inherit' because the container
     chain (.sub-menu, li) has dark color — only nav <a> tags get light color explicitly. */
  .navbar .sub-menu li a,
  nav.navbar .sub-menu li a,
  .nav-menu .sub-menu a,
  .zappy-products-dropdown .sub-menu a,
  .sub-menu a {
    color: var(--nav-text, var(--text-dark)) !important;
    white-space: normal !important;
  }
  .mobile-submenu-toggle {
    color: var(--nav-text, var(--text-dark)) !important;
  }

  /* Force sub-menu hidden by default on mobile */
  .navbar .zappy-products-dropdown .sub-menu,
  .navbar .zappy-products-dropdown > .sub-menu {
    display: none !important;
    position: static !important;
    max-height: 0 !important;
    overflow: hidden !important;
     !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    transform: none !important;
  }
  /* Disable hover-triggered dropdowns on mobile — only open via click (.open class) */
  .navbar .zappy-products-dropdown:hover .sub-menu,
  .navbar .zappy-products-dropdown:hover > .sub-menu,
  .navbar .zappy-products-dropdown:focus-within .sub-menu,
  .navbar .zappy-products-dropdown:focus-within > .sub-menu,
  .navbar .menu-item-has-children:hover > .sub-menu,
  .navbar .nav-dropdown:hover > .dropdown-menu {
    display: none !important;
     !important;
    visibility: hidden !important;
    max-height: 0 !important;
    pointer-events: none !important;
  }
  .navbar .zappy-products-dropdown.open .sub-menu,
  .navbar .zappy-products-dropdown.open > .sub-menu,
  .navbar .zappy-products-dropdown .sub-menu.mobile-expanded,
  .navbar .zappy-products-dropdown > .sub-menu.mobile-expanded,
  .navbar .menu-item-has-children.open > .sub-menu,
  .navbar .menu-item-has-children > .sub-menu.mobile-expanded,
  .navbar .nav-dropdown.open > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    pointer-events: auto !important;
    position: static !important;
    overflow-y: visible !important;
    padding: 0.5rem 0 !important;
  }

  /* Prevent hero image fade gradient from bleeding over headline text below */
  /* The .image-fade-gradient has bottom: -30px which extends below parent; */
  /* on mobile stacked layout this overlaps the h1 text */
  .hero-image-column {
    overflow: hidden !important;
  }
  .image-fade-gradient {
    bottom: 0 !important;
  }
}

/* ============================================
   LTR POSITIONING (English, Spanish, French, etc.)
   For LTR mobile: hamburger on LEFT, phone on RIGHT
   Uses !important to override any inline styles
   ============================================ */
@media (max-width: 768px) {
  html[dir="ltr"] .mobile-toggle,
  html:not([dir="rtl"]):not([lang="he"]):not([lang="ar"]) .mobile-toggle {
    left: 12px !important;
    right: auto !important;
  }
  
  html[dir="ltr"] .phone-header-btn,
  html:not([dir="rtl"]):not([lang="he"]):not([lang="ar"]) .phone-header-btn {
    right: 12px !important;
    left: auto !important;
  }
  
  html[dir="ltr"] .nav-menu,
  html:not([dir="rtl"]):not([lang="he"]):not([lang="ar"]) .nav-menu {
    left: 0 !important;
    right: auto !important;
  }
}

/* ============================================
   RTL POSITIONING (Hebrew, Arabic)
   For RTL mobile: hamburger on RIGHT, phone on LEFT
   (natural mirror of LTR layout)
   Uses !important to override any inline styles
   ============================================ */
@media (max-width: 768px) {
  html[dir="rtl"] .mobile-toggle,
  html[lang="he"] .mobile-toggle,
  html[lang="ar"] .mobile-toggle {
    left: auto !important;
    right: 12px !important;
  }
  
  html[dir="rtl"] .phone-header-btn,
  html[lang="he"] .phone-header-btn,
  html[lang="ar"] .phone-header-btn {
    left: 12px !important;
    right: auto !important;
  }
  
  html[dir="rtl"] .nav-menu,
  html[lang="he"] .nav-menu,
  html[lang="ar"] .nav-menu {
    right: 0 !important;
    left: auto !important;
  }
  
  html[dir="rtl"] .nav-menu a,
  html[lang="he"] .nav-menu a,
  html[lang="ar"] .nav-menu a {
    text-align: right !important;
  }
  
  /* Hide desktop language switcher on mobile - hamburger menu handles it */
  /* High specificity to override stored CSS */
  .lang-switcher,
  .nav-cta-container .lang-switcher,
  .nav-container .lang-switcher,
  .navbar .lang-switcher,
  .navbar .nav-cta-container .lang-switcher {
    display: none !important;
  }
}

/* ============================================
   CLONED SITE NAVBAR FIXES
   For sites without nav-right-group wrapper
   ============================================ */

/* Force navbar to be truly full width */
header {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.navbar {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw !important;
  max-width: none !important;
}

/* Constrained nav-container - content limited to 1200px and centered */
.nav-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* RTL layout for cloned sites (without nav-right-group) */
/* Base RTL styles - apply to all screens */
html[dir="rtl"] .nav-container,
html[lang="he"] .nav-container,
html[lang="ar"] .nav-container {
  justify-content: space-between !important;
}

/* Logo stays on right in RTL - DESKTOP ONLY */
/* On mobile, logo should be centered (handled by mobile media query) */
@media (min-width: 769px) {
  html[dir="rtl"] .nav-brand,
  html[dir="rtl"] .logo-link,
  html[lang="he"] .nav-brand,
  html[lang="he"] .logo-link,
  html[lang="ar"] .nav-brand,
  html[lang="ar"] .logo-link {
    order: 2 !important;
    margin-left: 1.5rem !important;
  }
}

/* Base RTL nav-menu styles - display:flex but NOT flex-direction (that's desktop-only) */
html[dir="rtl"] .nav-menu,
html[lang="he"] .nav-menu,
html[lang="ar"] .nav-menu {
  order: 1 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* CTA button pushed to far left in RTL */
html[dir="rtl"] .cta-button,
html[dir="rtl"] a.cta-button,
html[dir="rtl"] .nav-cta-btn,
html[lang="he"] .cta-button,
html[lang="he"] a.cta-button,
html[lang="he"] .nav-cta-btn,
html[lang="ar"] .cta-button,
html[lang="ar"] a.cta-button,
html[lang="ar"] .nav-cta-btn {
  order: 0 !important;
  margin-right: auto !important;
  margin-left: 0 !important;
}

/* DESKTOP ONLY: Horizontal flex layout for RTL navbar - prevents breaking mobile vertical menu */
@media (min-width: 769px) {
  html[dir="rtl"] .nav-container,
  html[lang="he"] .nav-container,
  html[lang="ar"] .nav-container {
    flex-direction: row-reverse !important;
  }
  
  html[dir="rtl"] .nav-menu,
  html[lang="he"] .nav-menu,
  html[lang="ar"] .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.5rem !important;
    /* flex:1 ensures menu fills space between brand and CTA so items
       stay adjacent to the logo instead of centering when the
       .nav-right-group wrapper is absent (cloned sites, etc.).
       justify-content: flex-start pushes items toward the logo
       (in RTL, flex-start = right side, adjacent to the brand). */
    flex: 1 !important;
    justify-content: flex-start !important;
  }
}

/* ============================================
   END NAVBAR FIXES
   ============================================ */

/* Post-generation fix: Remove main element margin-top and padding-top */
main { margin-top: 0 !important; padding-top: 0 !important; }

/* Footer Styles */
.site-footer {
  --primary: #4F8A3C;
  --secondary: #4C7DA6;
  --accent: #C47A2C;
  --bg-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #707070;
  --border-dark: #6a7484;
  --footer-bg: #1e2820;
  --footer-bottom-bg: #141a15;
  --footer-border: #2e3d30;
  --link-hover: #4F8A3C;
  --radius-sm: 4px;
  --radius-md: 6px;
  --shadow: 0 2px 8px rgba(31, 42, 34, 0.08);
  --transition: all 0.18s ease;
  font-family: 'Rubik', sans-serif;
  direction: rtl;
  background-color: var(--footer-bg);
  color: rgba(255, 255, 255, 0.75);
  margin-top: auto;
}

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

/* ── Main Section ── */
.footer-main {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--footer-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

/* ── Brand Column ── */
.footer-col--brand .footer-logo-wrap {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--footer-border);
}

.footer-col--brand .footer-logo-wrap img {
  display: block;
  max-width: 150px;
  height: 40px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 4px 8px;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1.4rem;
}

/* ── Social Links ── */
.footer-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--footer-border);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 138, 60, 0.35);
}

/* ── Column Headings ── */
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--footer-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.heading-accent {
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Navigation Links ── */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.25rem 0;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--link-hover);
  padding-right: 4px;
}

.nav-arrow {
  font-size: 0.65rem;
  color: var(--accent);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links li a:hover .nav-arrow {
  opacity: 1;
  transform: translateX(-2px);
}

/* ── Contact List ── */
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(79, 138, 60, 0.18);
  border: 1px solid rgba(79, 138, 60, 0.3);
  border-radius: var(--radius-sm);
  color: #4b8339;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-text {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
  padding-top: 4px;
}

.contact-text a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* ── Hours Column ── */
.footer-hours {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.footer-hours li:last-child {
  border-bottom: none;
}

.hours-day {
  color: rgba(255, 255, 255, 0.6);
}

.hours-time {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.82rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79, 138, 60, 0.12);
  border: 1px solid rgba(79, 138, 60, 0.25);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  color: #4b8339;
  margin-top: 0.2rem;
}

.badge-icon {
  font-size: 0.85rem;
  color: var(--primary);
}

/* ── Bottom Bar ── */
.footer-bottom {
  background-color: var(--footer-bottom-bg);
  padding: 1.1rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copyright {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
  border-radius: var(--radius-sm);
  padding: 0 2px;
}

.footer-legal a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.legal-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  user-select: none;
}

.zappy-attribution {
  color: rgba(196, 122, 44, 0.75) !important;
  font-size: 0.78rem;
}

.zappy-attribution:hover {
  color: var(--accent) !important;
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .footer-main {
    padding: 2.5rem 0 2rem;
  }

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

  .footer-col--brand {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--footer-border);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .footer-legal {
    gap: 0.35rem;
  }

  .footer-hours li {
    max-width: 260px;
  }
}

/* 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 */
html[dir="rtl"] .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;
}

html[dir="rtl"] .footer-contact .contact-icon { order: 0 !important; }

html[dir="rtl"] .footer-contact .contact-text { order: 1 !important; }

html[dir="rtl"] .footer-contact li > a { flex-direction: row !important; }

.index-hero-section {
  position: relative;
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background-color: #1a2e10;
  color: var(--text-light);
  padding-bottom: 72px;
  direction: rtl;
}

/* Background Image */
.index-hero-section .index-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.index-hero-section .index-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

/* Scrim Overlay */
.index-hero-section .index-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: rgba(10, 20, 6, 0.55);
  background-image:
    linear-gradient(170deg,
      rgba(10, 20, 6, 0.25) 0%,
      rgba(10, 20, 6, 0.50) 40%,
      rgba(10, 20, 6, 0.82) 100%
    );
}

.index-hero-section .index-hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 48px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 75vh;
  box-sizing: border-box;
}

/* Content Block */
.index-hero-section .index-hero-content {
  max-width: 680px;
  text-align: right;
}

.index-hero-section .index-hero-eyebrow {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cc7f2e;
  background: rgba(196, 122, 44, 0.18);
  border: 1px solid rgba(196, 122, 44, 0.35);
  border-radius: 4px;
  padding: 5px 12px;
  margin-bottom: 20px;
  line-height: 1;
}

/* Headline */
.index-hero-section .index-hero-headline {
  font-family: 'Rubik', sans-serif;
  font-size: 68px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--text-light);
  margin: 0 0 24px 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.4);
}

/* Subtitle */
.index-hero-section .index-hero-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 36px 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
  max-width: 560px;
}

/* CTA Group */
.index-hero-section .index-hero-cta-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Primary Button */
.index-hero-section .index-hero-btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #498038 0%, #38622B 100%);
  color: #FFFDF7;
  padding: 14px 36px;
  border-radius: 4px;
  border: 1px solid #4F8A3C;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 14px rgba(46, 110, 31, 0.4);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.index-hero-section .index-hero-btn-primary:hover {
  background: linear-gradient(180deg, #549340 0%, #3F6E30 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 24px rgba(46, 110, 31, 0.5);
  transform: translateY(-2px);
  color: #FFFDF7;
}

/* Ghost Button */
.index-hero-section .index-hero-btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.index-hero-section .index-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Badges Row */
.index-hero-section .index-hero-badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.index-hero-section .index-hero-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
}

.index-hero-section .index-hero-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cc7f2e;
  flex-shrink: 0;
}

.index-hero-section .index-hero-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 5;
  right: 0;
}

.index-hero-section .index-hero-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .index-hero-section {
    min-height: 100svh;
    padding-bottom: 56px;
  }

  .index-hero-section .index-hero-container {
    padding: 110px 20px 40px;
    min-height: 100svh;
    align-items: flex-end;
  }

  .index-hero-section .index-hero-content {
    max-width: 100%;
  }

  .index-hero-section .index-hero-headline {
    font-size: 38px;
    letter-spacing: -0.015em;
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .index-hero-section .index-hero-subtitle {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .index-hero-section .index-hero-cta-group {
    gap: 12px;
    margin-bottom: 28px;
  }

  .index-hero-section .index-hero-btn-primary,
  .index-hero-section .index-hero-btn-ghost {
    font-size: 15px;
    padding: 12px 24px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .index-hero-section .index-hero-badges {
    gap: 14px;
  }

  .index-hero-section .index-hero-badge {
    font-size: 13px;
  }

  .index-hero-section .index-hero-divider-wrapper {
    height: 44px;
  }

  .index-hero-section {
    padding-bottom: 44px;
  }
}

/* ── DESKTOP LARGE ── */
@media (min-width: 1200px) {
  .index-hero-section .index-hero-headline {
    font-size: 76px;
  }
}

/* index-features */
.index-features-section {
  background-color: #F7F3E9;
  background-image:
    repeating-linear-gradient(0deg, rgba(214,203,178,0.08) 0px, rgba(214,203,178,0.08) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(90deg, rgba(214,203,178,0.05) 0px, rgba(214,203,178,0.05) 1px, transparent 1px, transparent 8px),
    linear-gradient(180deg, #FBF8F0 0%, #F1EBDD 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  position: relative;
  direction: rtl;
}

.index-features-section .index-features-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Header ── */
.index-features-section .index-features-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.index-features-section .index-features-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 4px 14px;
  border: 1px solid rgba(79, 138, 60, 0.3);
  border-radius: 4px;
  background: rgba(79, 138, 60, 0.06);
}

.index-features-section .index-features-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #22301F;
  margin: 0 0 16px 0;
}

.index-features-section .index-features-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #4E4A3F;
  margin: 0;
  text-align: center;
}

/* ── Grid ── */
.index-features-section .index-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  direction: rtl;
}

/* Wide card spans full row */
.index-features-section .index-feature-card--wide {
  grid-column: 1 / -1;
}

/* ── Card ── */
.index-features-section .index-feature-card {
  background: rgba(249,244,232,0.88);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.12);
  padding: 32px;
  border: 1px solid rgba(215,207,190,0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.index-features-section .index-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(58, 47, 24, 0.16);
}

.index-features-section .index-feature-card--wide {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}

/* ── Icon Wrap ── */
.index-features-section .index-feature-icon-wrap {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: linear-gradient(180deg, #EEF5EA 0%, #D9EDCF 100%);
  border-radius: 6px;
  border: 1px solid rgba(79, 138, 60, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* ── Content ── */
.index-features-section .index-feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Badge ── */
.index-features-section .index-feature-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(79, 138, 60, 0.1);
  border: 1px solid rgba(79, 138, 60, 0.25);
  border-radius: 4px;
  padding: 3px 10px;
  align-self: flex-start;
}

.index-features-section .index-feature-badge--accent {
  color: var(--accent);
  background: rgba(196, 122, 44, 0.1);
  border-color: rgba(196, 122, 44, 0.25);
}

.index-features-section .index-feature-badge--green {
  color: #477c36;
  background: rgba(46, 110, 31, 0.1);
  border-color: rgba(46, 110, 31, 0.25);
}

/* ── Feature Title ── */
.index-features-section .index-feature-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #22301F;
  margin: 0;
}

/* ── Feature Desc ── */
.index-features-section .index-feature-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #4E4A3F;
  margin: 0;
}

/* ── Feature List ── */
.index-features-section .index-feature-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.index-features-section .index-feature-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #4E4A3F;
}

.index-features-section .index-feature-list li .fa-check {
  color: var(--primary);
  font-size: 12px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: rgba(79, 138, 60, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-sizing: border-box;
}

/* ── Stats (wide card) ── */
.index-features-section .index-feature-stats {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid #D7CFBE;
}

.index-features-section .index-feature-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.index-features-section .index-feature-stat-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.index-features-section .index-feature-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: #6F6A57;
  letter-spacing: 0.02em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .index-features-section .index-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .index-features-section .index-feature-card--wide {
    grid-column: 1 / -1;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .index-features-section {
    padding: 56px 16px;
  }

  .index-features-section .index-features-header {
    margin-bottom: 36px;
  }

  .index-features-section .index-features-title {
    font-size: 26px;
  }

  .index-features-section .index-features-grid {
    grid-template-columns: 1fr !important;
  }

  .index-features-section .index-feature-card--wide {
    grid-column: 1 !important;
    flex-direction: column;
  }

  .index-features-section .index-feature-card {
    padding: 24px 20px;
  }

  .index-features-section .index-feature-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .index-features-section .index-feature-stat-num {
    font-size: 22px;
  }
}

/* index-about */
.index-about-section {
  background-color: #FAF9F5;
  background-image: linear-gradient(180deg, #FBF8F0 0%, #F1EBDD 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  position: relative;
  overflow: visible;
  direction: rtl;
  font-family: 'Rubik', sans-serif;
}

.index-about-section .index-about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  direction: rtl;
}

/* ── TEXT COLUMN ── */
.index-about-section .index-about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.index-about-section .index-about-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px;
  background: rgba(79, 138, 60, 0.1);
  border-inline-start: 3px solid var(--primary);
  border-radius: 0;
  width: fit-content;
}

.index-about-section .index-about-heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
  text-align: right;
}

.index-about-section .index-about-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-weight: 500;
  margin: 0;
  text-align: right;
}

.index-about-section .index-about-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── PILLARS LIST ── */
.index-about-section .index-about-pillars {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.index-about-section .index-about-pillars li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0;
  align-items: start;
  background: rgba(249, 244, 232, 0.88);
  border: 1px solid rgba(215, 207, 190, 0.9);
  border-radius: 6px;
  padding: 16px 18px;
  transition: all 0.22s ease;
}

.index-about-section .index-about-pillars li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.12);
}

.index-about-section .index-about-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(79, 138, 60, 0.1);
  border-radius: 4px;
  color: var(--primary);
  flex-shrink: 0;
}

.index-about-section .index-about-pillar-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-inline-start: 14px;
  text-align: right;
}

.index-about-section .index-about-pillar-content strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.index-about-section .index-about-pillar-content span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA ROW ── */
.index-about-section .index-about-cta-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.index-about-section .index-about-btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 2px solid var(--primary);
}

.index-about-section .index-about-btn-primary:hover {
  background: #4F8A3C;
  border-color: #4F8A3C;
  box-shadow: 0 14px 30px rgba(79, 138, 60, 0.22);
  transform: translateY(-2px);
}

.index-about-section .index-about-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid var(--secondary);
  transition: all 0.22s ease;
}

.index-about-section .index-about-btn-secondary:hover {
  background: var(--secondary);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(76, 125, 166, 0.2);
}

/* ── IMAGE COLUMN ── */
.index-about-section .index-about-image-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.index-about-section .index-about-image-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.index-about-section .index-about-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(58, 47, 24, 0.16);
  border: none;
}

.index-about-section .index-about-badge {
  position: absolute;
  bottom: 20px;
  inset-inline-end: 20px;
  background: var(--accent);
  color: var(--text-light);
  border-radius: 4px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.2);
  min-width: 90px;
  text-align: center;
}

.index-about-section .index-about-badge-number {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-light);
}

.index-about-section .index-about-badge-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

/* ── STAT ROW ── */
.index-about-section .index-about-stat-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: rgba(249, 244, 232, 0.88);
  border: 1px solid rgba(215, 207, 190, 0.9);
  border-radius: 6px;
  padding: 20px 24px;
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.12);
  gap: 0;
}

.index-about-section .index-about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  text-align: center;
}

.index-about-section .index-about-stat strong {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.index-about-section .index-about-stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
}

.index-about-section .index-about-stat-divider {
  width: 1px;
  height: 40px;
  background: #D7CFBE;
  flex-shrink: 0;
  margin: 0 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .index-about-section .index-about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .index-about-section .index-about-image-col {
    
  }
}

@media (max-width: 768px) {
  .index-about-section {
    padding: 56px 16px;
  }

  .index-about-section .index-about-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .index-about-section .index-about-image-col {
    
  }

  .index-about-section .index-about-heading {
    font-size: 1.625rem;
  }

  .index-about-section .index-about-pillars li {
    grid-template-columns: 44px 1fr;
    padding: 14px 14px;
  }

  .index-about-section .index-about-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .index-about-section .index-about-btn-primary,
  .index-about-section .index-about-btn-secondary {
    text-align: center;
  }

  .index-about-section .index-about-stat-row {
    padding: 16px 12px;
    gap: 0;
  }

  .index-about-section .index-about-stat strong {
    font-size: 1.125rem;
  }

  .index-about-section .index-about-stat span {
    font-size: 0.75rem;
  }

  .index-about-section .index-about-badge {
    bottom: 12px;
    inset-inline-end: 12px;
    padding: 8px 12px;
    min-width: 76px;
  }

  .index-about-section .index-about-badge-number {
    font-size: 1.125rem;
  }
}

.index-cta-section {
  position: relative;
  overflow: hidden;
  background-color: #F4F9F1;
  background-image: linear-gradient(160deg, #EEF6E8 0%, #F7FAF4 50%, #EAF3E4 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  direction: rtl;
  text-align: right;
}

.index-cta-section .index-cta-bg-layer {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 48px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) 0px,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 64px
    );
  pointer-events: none;
  z-index: 0;
}

.index-cta-section .index-cta-pattern {
  position: absolute;
  inset-inline-end: -80px;
  bottom: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 138, 60, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.index-cta-section .index-cta-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.index-cta-section .index-cta-badge {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: rgba(79, 138, 60, 0.18);
  border: 1px solid rgba(79, 138, 60, 0.35);
  border-radius: 4px;
  padding: 6px 14px;
  color: #477c36;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.index-cta-section .index-cta-badge svg {
  color: #477c36;
  flex-shrink: 0;
}

.index-cta-section .index-cta-headline {
  font-family: 'Rubik', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 18px 0;
  letter-spacing: -0.01em;
  max-width: 640px;
  text-align: center;
}

.index-cta-section .index-cta-sub {
  font-family: 'Rubik', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 36px 0;
  max-width: 520px;
  text-align: center;
}

.index-cta-section .index-cta-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.index-cta-section .index-cta-btn-primary {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #498038 0%, #38622B 100%);
  color: #FFFDF7;
  padding: 13px 34px;
  border-radius: 4px;
  border: 1px solid #4F8A3C;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 16px rgba(46, 110, 31, 0.38);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.index-cta-section .index-cta-btn-primary:hover {
  background: #4F8A3C;
  box-shadow: 0 8px 28px rgba(79, 138, 60, 0.32);
  transform: translateY(-2px);
  border-color: #4F8A3C;
}

.index-cta-section .index-cta-btn-secondary {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.index-cta-section .index-cta-btn-secondary:hover {
  background: rgba(79, 138, 60, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

.index-cta-section .index-cta-trust-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 32px;
  width: 100%;
}

.index-cta-section .index-cta-trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 13px;
  font-weight: 500;
  padding: 0 24px;
}

.index-cta-section .index-cta-trust-item i {
  color: #477c36;
  font-size: 14px;
  flex-shrink: 0;
}

.index-cta-section .index-cta-trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .index-cta-section {
    padding: 56px 20px;
  }

  .index-cta-section .index-cta-headline {
    font-size: 1.6rem;
  }

  .index-cta-section .index-cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 320px;
  }

  .index-cta-section .index-cta-btn-primary,
  .index-cta-section .index-cta-btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .index-cta-section .index-cta-trust-row {
    flex-direction: column;
    gap: 16px;
  }

  .index-cta-section .index-cta-trust-divider {
    width: 40px;
    height: 1px;
  }

  .index-cta-section .index-cta-trust-item {
    padding: 0;
  }

  .index-cta-section .index-cta-pattern {
    width: 260px;
    height: 260px;
    inset-inline-end: -40px;
    bottom: -30px;
  }
}

/* services-hero */
.services-hero-section {
  position: relative;
  width: 100%;
  min-height: 420px;
  background: #1a1a1a;
  color: var(--text-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 0;
}

.services-hero-section .services-hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.services-hero-section .services-hero-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.services-hero-section .services-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(
      to top,
      rgba(20, 32, 14, 0.88) 0%,
      rgba(20, 32, 14, 0.65) 40%,
      rgba(20, 32, 14, 0.28) 75%,
      rgba(20, 32, 14, 0.08) 100%
    );
}

.services-hero-section .services-hero-content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 120px 24px 56px;
  display: flex;
  align-items: flex-end;
}

.services-hero-section .services-hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: right;
}

.services-hero-section .services-hero-breadcrumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-align: right;
}

.services-hero-section .services-hero-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.services-hero-section .services-hero-title {
  font-family: 'Rubik', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin: 0 0 16px 0;
  text-align: right;
  text-shadow: 0 2px 16px rgba(10, 20, 8, 0.55);
  max-width: 780px;
}

.services-hero-section .services-hero-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 28px 0;
  text-align: right;
  text-shadow: 0 1px 8px rgba(10, 20, 8, 0.45);
  max-width: 620px;
}

.services-hero-section .services-hero-divider-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(196, 122, 44, 0.3) 100%);
  border-radius: 2px;
  margin-inline-start: auto;
  margin-inline-end: 0;
}

@media (max-width: 768px) {
  .services-hero-section {
    min-height: 320px;
  }

  .services-hero-section .services-hero-content-wrap {
    padding: 100px 16px 40px;
  }

  .services-hero-section .services-hero-title {
    font-size: 30px;
    letter-spacing: -0.01em;
    max-width: 100%;
  }

  .services-hero-section .services-hero-subtitle {
    font-size: 16px;
    max-width: 100%;
  }

  .services-hero-section .services-hero-breadcrumb {
    font-size: 11px;
    gap: 6px;
    margin-bottom: 14px;
  }

  .services-hero-section .services-hero-divider-line {
    width: 40px;
    height: 2px;
  }
}

@media (min-width: 769px) {
  .services-hero-section {
    min-height: 420px;
  }

  .services-hero-section .services-hero-content-wrap {
    padding-top: 140px;
    padding-bottom: 64px;
  }
}

/* services-services */
.services-services-section {
  background-color: #F7F3E9;
  background-image:
    repeating-linear-gradient(0deg, rgba(214,203,178,0.08) 0px, rgba(214,203,178,0.08) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(90deg, rgba(214,203,178,0.05) 0px, rgba(214,203,178,0.05) 1px, transparent 1px, transparent 8px),
    linear-gradient(180deg, #FBF8F0 0%, #F1EBDD 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  position: relative;
  overflow: visible;
  direction: rtl;
  font-family: 'Rubik', sans-serif;
}

.services-services-section .services-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ── Section Header ── */
.services-services-section .services-header {
  text-align: center;
  margin-block-end: 56px;
  max-width: 680px;
  margin-inline: auto;
  margin-block-start: 0;
}

.services-services-section .services-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(79, 138, 60, 0.1);
  border: 1px solid rgba(79, 138, 60, 0.22);
  border-radius: 4px;
  padding: 4px 14px;
  margin-block-end: 16px;
}

.services-services-section .services-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #22301F;
  margin: 0 0 16px 0;
  text-align: center;
}

.services-services-section .services-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: #4E4A3F;
  margin: 0;
  text-align: center;
}

/* ── Services Grid ── */
.services-services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  direction: rtl;
  margin-block-end: 48px;
}

/* ── Service Card ── */
.services-services-section .service-card {
  background: rgba(249, 244, 232, 0.88);
  border-radius: 6px;
  border: 1px solid rgba(215, 207, 190, 0.9);
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  min-width: 0;
}

.services-services-section .service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(58, 47, 24, 0.16);
}

/* ── Card Image ── */
.services-services-section .service-card-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.services-services-section .service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: none;
  box-shadow: none;
}

.services-services-section .service-card-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(31, 42, 34, 0.18);
  pointer-events: none;
}

.services-services-section .service-card-badge--bio {
  background: #4F8A3C;
}

.services-services-section .service-card-badge--consult {
  background: var(--accent);
  color: #fff;
}

/* ── Card Body ── */
.services-services-section .service-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.services-services-section .service-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(79, 138, 60, 0.1);
  border: 1px solid rgba(79, 138, 60, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-block-end: 16px;
  flex-shrink: 0;
}

.services-services-section .service-card-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #22301F;
  margin: 0 0 12px 0;
  text-align: start;
}

.services-services-section .service-card-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #4E4A3F;
  margin: 0 0 20px 0;
  text-align: start;
  flex: 1;
}

/* ── Card Feature List ── */
.services-services-section .service-card-features {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-services-section .service-card-features li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #4E4A3F;
  text-align: start;
}

.services-services-section .service-card-features li .fa-check {
  color: var(--primary);
  font-size: 12px;
  margin-block-start: 3px;
  flex-shrink: 0;
}

.services-services-section .service-card-features li span {
  flex: 1;
}

/* ── Card CTA ── */
.services-services-section .service-card-cta {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, #498038 0%, #38622B 100%);
  color: #FFFDF7;
  padding: 12px 28px;
  border-radius: 4px;
  border: 1px solid #4F8A3C;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 6px rgba(58, 47, 24, 0.16);
  transition: all 0.22s ease;
  align-self: flex-start;
  margin-block-start: auto;
}

.services-services-section .service-card-cta:hover {
  background: linear-gradient(180deg, #549340 0%, #407030 100%);
  box-shadow: 0 14px 30px rgba(79, 138, 60, 0.22);
  transform: translateY(-1px);
  color: #FFFDF7;
}

/* ── Info Strip ── */
.services-services-section .services-info-strip {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(249, 244, 232, 0.88);
  border: 1px solid rgba(215, 207, 190, 0.9);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.12);
  padding: 28px 40px;
  flex-wrap: wrap;
}

.services-services-section .services-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.services-services-section .services-info-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1;
}

.services-services-section .services-info-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6F6A57;
  text-align: center;
}

.services-services-section .services-info-divider {
  width: 1px;
  height: 48px;
  background: #D7CFBE;
  flex-shrink: 0;
  margin: 0 8px;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .services-services-section .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-services-section .services-grid .service-card:nth-child(3) {
    grid-column: span 1;
  }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
  .services-services-section {
    padding: 56px 16px;
  }

  .services-services-section .services-header {
    margin-block-end: 36px;
  }

  .services-services-section .services-title {
    font-size: 26px;
  }

  .services-services-section .services-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .services-services-section .service-card-img {
    height: 180px;
  }

  .services-services-section .service-card-body {
    padding: 20px 20px 24px;
  }

  .services-services-section .service-card-title {
    font-size: 20px;
  }

  .services-services-section .services-info-strip {
    padding: 20px 16px;
    gap: 16px;
  }

  .services-services-section .services-info-divider {
    display: none;
  }

  .services-services-section .services-info-item {
    min-width: 100px;
  }

  .services-services-section .services-info-num {
    font-size: 22px;
  }
}

/* services-cta */
.services-cta-section {
  position: relative;
  background-color: #4F8A3C;
  background-image:
    radial-gradient(ellipse at 10% 50%, rgba(79, 138, 60, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(196, 122, 44, 0.10) 0%, transparent 50%),
    linear-gradient(160deg, #1F3A15 0%, #2E5220 50%, #1a3010 100%);
  color: var(--text-light);
  padding: 96px 24px;
  overflow: visible;
  direction: rtl;
}

.services-cta-section .services-cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.services-cta-section .services-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 122, 44, 0.18);
  border: 1px solid rgba(196, 122, 44, 0.45);
  color: #F0D690;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.services-cta-section .services-cta-badge svg {
  color: #F0D690;
  flex-shrink: 0;
}

.services-cta-section .services-cta-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-light);
  margin: 0 0 20px 0;
  max-width: 680px;
  text-align: center;
}

.services-cta-section .services-cta-subtext {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 40px 0;
  max-width: 620px;
  text-align: center;
}

.services-cta-section .services-cta-features {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  width: 100%;
}

.services-cta-section .services-cta-feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 14px 20px;
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 240px;
  text-align: start;
  transition: all 0.22s ease;
}

.services-cta-section .services-cta-feature:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(196, 122, 44, 0.35);
  transform: translateY(-2px);
}

.services-cta-section .services-cta-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(79, 138, 60, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86a9e0;
}

.services-cta-section .services-cta-feature-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.services-cta-section .services-cta-feature-content strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.3;
}

.services-cta-section .services-cta-feature-content span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.4;
}

.services-cta-section .services-cta-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.services-cta-section .services-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #498038 0%, #38622B 100%);
  color: #FFFDF7;
  padding: 13px 34px;
  border-radius: 4px;
  border: 1px solid #4F8A3C;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 6px rgba(58, 47, 24, 0.16);
  transition: all 0.22s ease;
  cursor: pointer;
}

.services-cta-section .services-cta-btn-primary:hover {
  background: linear-gradient(180deg, #549240 0%, #427432 100%);
  box-shadow: 0 14px 30px rgba(79, 138, 60, 0.22);
  transform: translateY(-2px);
  color: #FFFDF7;
}

.services-cta-section .services-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.30);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.22s ease;
  cursor: pointer;
}

.services-cta-section .services-cta-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  transform: translateY(-2px);
}

.services-cta-section .services-cta-btn-ghost svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.70);
}

.services-cta-section .services-cta-divider-line {
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 28px;
}

.services-cta-section .services-cta-contact-strip {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  direction: rtl;
}

.services-cta-section .services-cta-contact-sep {
  color: #ffffff !important;
  font-size: 0.875rem;
  user-select: none;
}

.services-cta-section .services-cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.18s ease;
  line-height: 1;
}

.services-cta-section a.services-cta-contact-item:hover {
  color: #F0D690;
}

.services-cta-section .services-cta-contact-item svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.40);
}

.services-cta-section .services-cta-contact-static {
  cursor: default;
}

@media (max-width: 768px) {
  .services-cta-section {
    padding: 56px 16px;
  }

  .services-cta-section .services-cta-heading {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .services-cta-section .services-cta-subtext {
    margin-bottom: 28px;
  }

  .services-cta-section .services-cta-features {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 28px;
  }

  .services-cta-section .services-cta-feature {
    max-width: 100%;
    flex: none;
    min-width: unset;
  }

  .services-cta-section .services-cta-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 28px;
  }

  .services-cta-section .services-cta-btn-primary,
  .services-cta-section .services-cta-btn-ghost {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
  }

  .services-cta-section .services-cta-contact-strip {
    flex-direction: column;
    gap: 10px;
  }

  .services-cta-section .services-cta-contact-sep {
    display: none;
  }
}

/* about-hero */
.about-hero-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: visible;
  background-color: #1a1a1a;
  color: var(--text-light);
  padding-bottom: 72px;
}

.about-hero-section .about-hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.about-hero-section .about-hero-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.about-hero-section .about-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to left, rgba(20, 30, 14, 0.82) 0%, rgba(20, 30, 14, 0.65) 50%, rgba(20, 30, 14, 0.28) 100%),
    linear-gradient(to top, rgba(10, 18, 6, 0.72) 0%, rgba(10, 18, 6, 0.18) 55%, transparent 100%);
}

.about-hero-section .about-hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 48px 40px;
  display: flex;
  justify-content: flex-end;
}

.about-hero-section .about-hero-content {
  max-width: 620px;
  text-align: right;
  direction: rtl;
}

.about-hero-section .about-hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C47A2C;
  background: rgba(196, 122, 44, 0.18);
  border: 1px solid rgba(216, 180, 91, 0.38);
  border-radius: 4px;
  padding: 5px 12px;
  margin-bottom: 20px;
  text-align: right;
}

.about-hero-section .about-hero-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text-light);
  margin: 0 0 20px 0;
  text-shadow: 0 2px 18px rgba(10, 18, 6, 0.55);
  text-align: right;
}

.about-hero-section .about-hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 28px 0;
  text-shadow: 0 1px 8px rgba(10, 18, 6, 0.45);
  text-align: right;
}

.about-hero-section .about-hero-divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, #DA9B59 0%, #C47A2C 100%);
  border-radius: 2px;
  margin-bottom: 32px;
  margin-inline-start: auto;
}

.about-hero-section .about-hero-ctas {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.about-hero-section .about-hero-btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #498038 0%, #38622B 100%);
  color: #FFFDF7;
  padding: 13px 34px;
  border-radius: 4px;
  border: 1px solid #4F8A3C;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 6px rgba(58, 47, 24, 0.16);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.about-hero-section .about-hero-btn-primary:hover {
  box-shadow: 0 14px 30px rgba(79, 138, 60, 0.32);
  transform: translateY(-2px);
  color: #FFFDF7;
}

.about-hero-section .about-hero-btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.52);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.about-hero-section .about-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  transform: translateY(-2px);
}

.about-hero-section .about-hero-bottom-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 5;
}

.about-hero-section .about-hero-bottom-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .about-hero-section {
    min-height: 480px;
    align-items: flex-end;
  }

  .about-hero-section .about-hero-container {
    padding: 100px 20px 32px;
    justify-content: flex-start;
  }

  .about-hero-section .about-hero-content {
    max-width: 100%;
    width: 100%;
  }

  .about-hero-section .about-hero-title {
    font-size: 34px;
    line-height: 1.14;
    margin-bottom: 14px;
  }

  .about-hero-section .about-hero-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .about-hero-section .about-hero-divider {
    margin-bottom: 22px;
  }

  .about-hero-section .about-hero-ctas {
    gap: 10px;
    justify-content: flex-end;
  }

  .about-hero-section .about-hero-btn-primary,
  .about-hero-section .about-hero-btn-ghost {
    font-size: 15px;
    padding: 11px 22px;
  }

  .about-hero-section .about-hero-scrim {
    background-image:
      linear-gradient(to left, rgba(20, 30, 14, 0.88) 0%, rgba(20, 30, 14, 0.75) 60%, rgba(20, 30, 14, 0.42) 100%),
      linear-gradient(to top, rgba(10, 18, 6, 0.82) 0%, rgba(10, 18, 6, 0.22) 55%, transparent 100%);
  }
}

/* about-story */
.about-story-section {
  direction: rtl;
  background-color: #FBF8F0;
  background-image: linear-gradient(180deg, #FBF8F0 0%, #F1EBDD 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  position: relative;
  overflow: visible;
}

.about-story-section .about-story-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Section Label ──────────────────────────────────── */
.about-story-section .about-story-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
}

.about-story-section .about-story-label-line {
  display: block;
  width: 48px;
  height: 1px;
  background-color: #D7CFBE;
}

.about-story-section .about-story-label-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* ── Main Grid ──────────────────────────────────────── */
.about-story-section .about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}

/* ── Text Column ────────────────────────────────────── */
.about-story-section .about-story-text-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-story-section .about-story-heading {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #22301F;
  margin: 0 0 24px 0;
  text-align: right;
}

.about-story-section .about-story-lead {
  font-size: 18px;
  line-height: 1.75;
  color: #4E4A3F;
  margin: 0 0 24px 0;
  text-align: right;
  font-weight: 400;
}

.about-story-section .about-story-divider-thin {
  width: 100%;
  height: 1px;
  background-color: #D7CFBE;
  margin: 8px 0 24px 0;
}

.about-story-section .about-story-body {
  font-size: 16px;
  line-height: 1.75;
  color: #4E4A3F;
  margin: 0 0 20px 0;
  text-align: right;
}

/* ── Milestones ─────────────────────────────────────── */
.about-story-section .about-story-milestones {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
  border-inline-start: 2px solid #D7CFBE;
  padding-inline-start: 20px;
}

.about-story-section .about-story-milestone {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(215,207,190,0.45);
}

.about-story-section .about-story-milestone:last-child {
  border-bottom: none;
}

.about-story-section .about-story-milestone-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  white-space: nowrap;
  min-width: 38px;
}

.about-story-section .about-story-milestone-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #6B6558;
  text-align: right;
}

/* ── Image Column ───────────────────────────────────── */
.about-story-section .about-story-image-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-story-section .about-story-image-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.about-story-section .about-story-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(58, 47, 24, 0.16);
}

.about-story-section .about-story-image-caption {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: #8A8070;
  text-align: right;
  justify-content: flex-end;
}

.about-story-section .about-story-caption-icon {
  display: flex;
  align-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* ── Mission Card ───────────────────────────────────── */
.about-story-section .about-story-mission-card {
  background: rgba(249,244,232,0.88);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.12);
  padding: 28px 32px;
  border: 1px solid rgba(215,207,190,0.9);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
}

.about-story-section .about-story-mission-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(180deg, #F0D690 0%, #D8B45B 100%);
  border-radius: 4px;
  color: #477c36;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 6px rgba(58,47,24,0.12);
}

.about-story-section .about-story-mission-content {
  flex: 1;
  min-width: 0;
}

.about-story-section .about-story-mission-title {
  font-size: 16px;
  font-weight: 700;
  color: #22301F;
  margin: 0 0 6px 0;
  text-align: right;
  line-height: 1.3;
}

.about-story-section .about-story-mission-text {
  font-size: 14px;
  line-height: 1.65;
  color: #4E4A3F;
  margin: 0;
  text-align: right;
}

/* ── Values Strip ───────────────────────────────────── */
.about-story-section .about-story-values {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  border: 1px solid #D7CFBE;
  border-radius: 6px;
  background: rgba(247,243,233,0.7);
  overflow: hidden;
}

.about-story-section .about-story-value-item {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  text-align: right;
  transition: background 0.22s ease;
}

.about-story-section .about-story-value-item:hover {
  background: rgba(215,207,190,0.25);
}

.about-story-section .about-story-value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(79,138,60,0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.about-story-section .about-story-value-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.about-story-section .about-story-value-content strong {
  font-size: 14px;
  font-weight: 700;
  color: #22301F;
  display: block;
  text-align: right;
  line-height: 1.3;
}

.about-story-section .about-story-value-content span {
  font-size: 13px;
  color: #8A8070;
  display: block;
  text-align: right;
  line-height: 1.4;
}

.about-story-section .about-story-value-sep {
  width: 1px;
  background-color: #D7CFBE;
  align-self: stretch;
  flex-shrink: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .about-story-section .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-story-section .about-story-image-col {
    order: -1;
  }

  .about-story-section .about-story-values {
    flex-direction: column;
  }

  .about-story-section .about-story-value-sep {
    width: 100%;
    height: 1px;
    align-self: auto;
  }
}

@media (max-width: 768px) {
  .about-story-section {
    padding: 56px 16px;
  }

  .about-story-section .about-story-heading {
    font-size: 26px;
  }

  .about-story-section .about-story-lead {
    font-size: 16px;
  }

  .about-story-section .about-story-label {
    margin-bottom: 36px;
  }

  .about-story-section .about-story-grid {
    margin-bottom: 40px;
  }

  .about-story-section .about-story-mission-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px 20px;
  }

  .about-story-section .about-story-value-item {
    padding: 20px 20px;
  }

  .about-story-section .about-story-milestones {
    padding-inline-start: 14px;
  }

  .about-story-section .about-story-milestone {
    flex-direction: column;
    gap: 4px;
  }
}

/* about-team */
.about-team-section {
  background-color: #FAF9F5;
  background-image: linear-gradient(180deg, #FBF8F0 0%, #F1EBDD 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  position: relative;
  direction: rtl;
  overflow: visible;
}

.about-team-section .about-team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* ── HEADER ── */
.about-team-section .about-team-header {
  text-align: center;
  margin-bottom: 56px;
}

.about-team-section .about-team-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(79, 138, 60, 0.09);
  border: 1px solid rgba(79, 138, 60, 0.22);
  border-radius: 4px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.about-team-section .about-team-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 16px;
  text-align: center;
}

.about-team-section .about-team-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* ── GRID ── */
.about-team-section .about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  direction: rtl;
  margin-bottom: 56px;
}

/* ── CARD ── */
.about-team-section .team-card {
  background: rgba(249, 244, 232, 0.88);
  border-radius: 6px;
  border: 1px solid rgba(215, 207, 190, 0.9);
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.12);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.about-team-section .team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(58, 47, 24, 0.16);
}

/* ── CARD IMAGE WRAP ── */
.about-team-section .team-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #EEE6D6;
}

.about-team-section .team-card-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: transform 0.28s ease;
}

.about-team-section .team-card:hover .team-card-photo {
  transform: scale(1.03);
}

.about-team-section .team-card-accent-bar {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  z-index: 2;
}

/* ── CARD BODY ── */
.about-team-section .team-card-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  text-align: right;
}

.about-team-section .team-card-name {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
}

.about-team-section .team-card-role {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(79, 138, 60, 0.08);
  border: 1px solid rgba(79, 138, 60, 0.18);
  border-radius: 4px;
  padding: 3px 10px;
  align-self: flex-start;
}

.about-team-section .team-card-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

/* ── TAGS ── */
.about-team-section .team-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  flex-direction: row;
  justify-content: flex-start;
}

.about-team-section .team-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  background: rgba(196, 122, 44, 0.1);
  border: 1px solid rgba(196, 122, 44, 0.25);
  border-radius: 4px;
  padding: 3px 10px;
}

/* ── CTA BLOCK ── */
.about-team-section .about-team-cta {
  text-align: center;
  border-top: 1px solid #D7CFBE;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-team-section .about-team-cta-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

.about-team-section .about-team-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 4px;
  transition: all 0.22s ease;
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.12);
}

.about-team-section .about-team-btn:hover {
  background: #4F8A3C;
  box-shadow: 0 14px 30px rgba(79, 138, 60, 0.22);
  transform: translateY(-2px);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-team-section .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-team-section {
    padding: 56px 16px;
  }

  .about-team-section .about-team-header {
    margin-bottom: 36px;
  }

  .about-team-section .about-team-title {
    font-size: 1.6rem;
  }

  .about-team-section .about-team-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .about-team-section .team-card-body {
    padding: 20px 20px 24px;
  }

  .about-team-section .about-team-cta {
    padding-top: 36px;
  }
}

/* contact-hero */
.contact-hero-section {
  position: relative;
  overflow: visible;
  background: #1F2A22;
  color: var(--text-light);
  padding: 0;
  padding-bottom: 64px;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.contact-hero-section .contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.contact-hero-section .contact-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.contact-hero-section .contact-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: rgba(20, 30, 15, 0.72);
  background-image:
    linear-gradient(180deg, rgba(20,30,15,0.45) 0%, rgba(20,30,15,0.82) 70%, rgba(20,30,15,0.92) 100%);
}

.contact-hero-section .contact-hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px 80px;
  direction: rtl;
}

.contact-hero-section .contact-hero-content {
  max-width: 640px;
  text-align: right;
}

.contact-hero-section .contact-hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(196, 122, 44, 0.15);
  border: 1px solid rgba(196, 122, 44, 0.35);
  border-radius: 4px;
  padding: 4px 12px;
  margin-bottom: 20px;
  text-shadow: none;
}

.contact-hero-section .contact-hero-title {
  font-family: 'Rubik', sans-serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-light);
  margin: 0 0 20px 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}

.contact-hero-section .contact-hero-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.contact-hero-section .contact-hero-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  pointer-events: none;
  z-index: 5;
}

.contact-hero-section .contact-hero-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .contact-hero-section {
    min-height: 340px;
    padding-bottom: 64px;
  }

  .contact-hero-section .contact-hero-container {
    padding: 110px 20px 60px;
  }

  .contact-hero-section .contact-hero-content {
    max-width: 100%;
  }

  .contact-hero-section .contact-hero-title {
    font-size: 32px;
    margin-bottom: 14px;
  }

  .contact-hero-section .contact-hero-subtitle {
    font-size: 16px;
  }
}

/* contact-contact */
.contact-contact-section {
  direction: rtl;
  background-color: #F7F3E9;
  background-image:
    repeating-linear-gradient(0deg, rgba(214,203,178,0.08) 0px, rgba(214,203,178,0.08) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(90deg, rgba(214,203,178,0.05) 0px, rgba(214,203,178,0.05) 1px, transparent 1px, transparent 8px);
  color: var(--text-dark);
  padding: 120px 24px 96px;
  position: relative;
  overflow: visible;
}

.contact-contact-section .contact-contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 40px;
  align-items: start;
  direction: rtl;
}

/* ── INFO COLUMN ─────────────────────────────────────── */

.contact-contact-section .contact-info-col {
  position: sticky;
  top: 120px;
}

.contact-contact-section .contact-info-card {
  background: rgba(249,244,232,0.88);
  border: 1px solid rgba(215,207,190,0.9);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.12);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-contact-section .contact-info-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-contact-section .contact-info-badge {
  display: inline-block;
  background: linear-gradient(180deg, #498038 0%, #38622B 100%);
  color: #FFFDF7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  align-self: flex-start;
}

.contact-contact-section .contact-info-title {
  font-family: 'Rubik', sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #22301F;
  margin: 0;
}

.contact-contact-section .contact-info-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

.contact-contact-section .contact-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px;
  grid-template-columns: unset;
}

.contact-contact-section .contact-detail-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: flex-start;
  gap: 0;
  direction: rtl;
}

.contact-contact-section .contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(79, 138, 60, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(79, 138, 60, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-contact-section .contact-detail-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-inline-start: 14px;
}

.contact-contact-section .contact-detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}

.contact-contact-section .contact-detail-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  text-align: right;
  transition: color 0.22s ease;
  font-style: normal;
}

.contact-contact-section .contact-detail-value:hover {
  color: var(--primary);
}

.contact-contact-section .contact-address {
  font-style: normal;
  line-height: 1.5;
}

/* Social Row */
.contact-contact-section .contact-social-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-start;
}

.contact-contact-section .contact-social-link {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 2px 8px rgba(31, 42, 34, 0.08);
}

.contact-contact-section .contact-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 138, 60, 0.22);
  transform: translateY(-2px);
}

/* Map Button */
.contact-contact-section .contact-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #4F8A3C;
  border-radius: 4px;
  color: #477c36;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s ease;
  align-self: flex-start;
  letter-spacing: 0.02em;
}

.contact-contact-section .contact-map-btn:hover {
  background: #4F8A3C;
  color: #FFFDF7;
  box-shadow: 0 14px 30px rgba(79, 138, 60, 0.22);
}

/* ── FORM COLUMN ─────────────────────────────────────── */

.contact-contact-section .contact-form-card {
  background: rgba(249,244,232,0.88);
  border: 1px solid rgba(215,207,190,0.9);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(58, 47, 24, 0.12);
  padding: 40px 42px;
}

.contact-contact-section .contact-form-header {
  margin-bottom: 32px;
}

.contact-contact-section .contact-form-title {
  font-family: 'Rubik', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #22301F;
  margin: 0 0 10px;
  text-align: right;
}

.contact-contact-section .contact-form-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* Form Layout */
.contact-contact-section .contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-contact-section .contact-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  direction: rtl;
}

.contact-contact-section .contact-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-contact-section .contact-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
  letter-spacing: 0.01em;
}

.contact-contact-section .contact-required {
  color: #467298;
  margin-inline-start: 2px;
}

.contact-contact-section .contact-field-input {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: #ffffff;
  border: 1px solid #D7CFBE;
  border-radius: 4px;
  outline: none;
  transition: all 0.22s ease;
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
  box-shadow: inset 0 1px 3px rgba(58, 47, 24, 0.06);
}

.contact-contact-section .contact-field-input::placeholder {
  color: #b8b0a0;
  font-size: 14px;
}

.contact-contact-section .contact-field-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 138, 60, 0.12), inset 0 1px 3px rgba(58, 47, 24, 0.06);
  background: #FFFDF7;
}

.contact-contact-section .contact-field-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Privacy Consent */
.contact-contact-section .privacy-consent {
  margin-top: 4px;
  color: var(--text-dark);
}

.contact-contact-section .privacy-consent-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  direction: rtl;
  text-align: right;
}

.contact-contact-section .privacy-consent-checkbox {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.contact-contact-section .privacy-consent-label span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: right;
}

.contact-contact-section .privacy-consent-label a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.contact-contact-section .privacy-consent-label a:hover {
  color: #477c36;
}

/* Submit Button */
.contact-contact-section .contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #498038 0%, #38622B 100%);
  color: #FFFDF7;
  padding: 14px 34px;
  border-radius: 4px;
  border: 1px solid #4F8A3C;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 6px rgba(58, 47, 24, 0.16);
  width: 100%;
  margin-top: 4px;
}

.contact-contact-section .contact-submit-btn:hover {
  box-shadow: 0 14px 30px rgba(79, 138, 60, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
  transform: translateY(-2px);
  background: linear-gradient(180deg, #4F8A3C 0%, #38622B 100%);
}

.contact-contact-section .contact-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(58, 47, 24, 0.16);
}

/* ── DIVIDER LINE ─────────────────────────────────────── */
.contact-contact-section .contact-section-rule {
  width: 100%;
  height: 1px;
  background: #D7CFBE;
  margin: 0 auto 56px;
  max-width: 1200px;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-contact-section .contact-contact-container {
    grid-template-columns: 1fr;
  }

  .contact-contact-section .contact-info-col {
    position: static;
  }
}

@media (max-width: 768px) {
  .contact-contact-section {
    padding: 100px 16px 56px;
  }

  .contact-contact-section .contact-contact-container {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .contact-contact-section .contact-form-card {
    padding: 24px 20px;
  }

  .contact-contact-section .contact-info-card {
    padding: 24px 20px;
    gap: 20px;
  }

  .contact-contact-section .contact-info-title {
    font-size: 26px;
  }

  .contact-contact-section .contact-form-row-2 {
    grid-template-columns: 1fr !important;
  }

  .contact-contact-section .contact-form-title {
    font-size: 22px;
  }

  .contact-contact-section .contact-submit-btn {
    font-size: 15px;
    padding: 13px 20px;
  }

  .contact-contact-section .contact-detail-item {
    grid-template-columns: 40px 1fr;
  }

  .contact-contact-section .contact-detail-icon {
    width: 40px;
    height: 40px;
  }
}

/* Global font override - exclude icon fonts and special elements */
*:not(.fas):not(.far):not(.fab):not(.fa):not([class*="fa-"]):not(.iconify):not([class*="icon"]):not(code):not(pre):not(i[class*="fa"]) {
  font-family: 'Rubik', sans-serif !important;
}

/* Logo size constraint - enforce max-height only */
.logo, img.logo, .logo img, .logo-link img, .nav-brand img {
  max-height: 40px !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Hide WhatsApp float button on desktop (mobile-only) */
@media (min-width: 769px) {
  .whatsapp-float {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !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 */
html[dir="rtl"] .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; }

html[dir="rtl"] .footer-contact .contact-icon { order: 0 !important; }

html[dir="rtl"] .footer-contact .contact-text { order: 1 !important; }

html[dir="rtl"] .footer-contact li > a { flex-direction: row !important; }

/* ============================================
   MOBILE RESPONSIVE FIXES (Auto-generated)
   Safe, minimal fixes for common overflow issues
   ============================================ */

@media (max-width: 768px) {
  
  /* 1. GLOBAL FIXES - Essential for preventing horizontal scroll */
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
  }
  
  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  /* 2. FORM FIXES - Forms often have fixed widths */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="url"],
  input[type="search"],
  select,
  textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .form-field,
  .form-group,
  .input-group {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 3. GRID TO COLUMN CONVERSION */
  /* Only convert grids that don't have proper mobile handling */
  [style*="display: grid"]:not([data-zappy-auto-grid="true"]):not(.zappy-preserve-css-grid),
  [style*="display:grid"]:not([data-zappy-auto-grid="true"]):not(.zappy-preserve-css-grid),
  .grid:not([data-zappy-auto-grid="true"]):not(.zappy-preserve-css-grid) {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  /* Ensure auto-grids use single column on mobile */
  [data-zappy-auto-grid="true"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Force single-column for AI-generated grids with class names like gallery-grid, features-grid, etc. */
  /* These often have fixed column counts (repeat(3, 1fr) or repeat(4, 1fr)) that don't fit mobile */
  [class*="-grid"]:not([data-zappy-auto-grid="true"]):not([data-zappy-explicit-columns="true"]) {
    grid-template-columns: 1fr !important;
  }
  
  /* Reset any column/row spanning items on mobile - they cause overflow */
  [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;
  }
  
  /* Fix zoom wrapper images to be responsive on mobile */
  [data-zappy-zoom-wrapper="true"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  
  [data-zappy-zoom-wrapper="true"] img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: cover !important;
    top: 0 !important;
    left: 0 !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;
  }

  /* 4. TYPOGRAPHY SCALING - Only headings, NOT spans (breaks icons) */
  h1 {
    font-size: clamp(28px, 8vw, 48px) !important;
  }
  
  h2 {
    font-size: clamp(24px, 6vw, 36px) !important;
  }
  
  h3 {
    font-size: clamp(20px, 5vw, 28px) !important;
  }
  
  h4 {
    font-size: clamp(18px, 4vw, 24px) !important;
  }

  /* Body text scaling - exclude spans to avoid breaking icons */
  p, li {
    font-size: clamp(14px, 4vw, 18px) !important;
  }

  /* 5. IMAGE RESPONSIVENESS */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 5b. HERO BG IMAGE EXCEPTION - fullscreen hero backgrounds must fill their
     absolute-positioned wrapper, not shrink to natural aspect-ratio height.
     data-hero-bg is added deterministically by sectionGenerationService. */
  img[data-hero-bg] {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  /* 6. MULTI-COLUMN LAYOUTS */
  .columns,
  [style*="column-count"],
  [style*="columns:"] {
    column-count: 1 !important;
    columns: 1 !important;
  }

  /* 7. TABLES */
  table {
    width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
  }

  /* 8. CARDS/BLOCKS */
  .card,
  .block,
  .box {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 9. HERO SECTIONS - Targeted selectors only */
  section.hero,
  section.hero-section,
  section[class*="hero-section"] {
    min-height: auto !important;
    height: auto !important;
    padding: 2rem 1rem !important;
  }

  /* 9b. HERO SECTION CHILDREN - prevent 100vh min-height on inner wrappers
     AI often sets content-wrappers / scrim divs to min-height:100vh which
     creates huge empty space on mobile. Reset direct children so the section
     sizes to its content. Absolute-positioned backgrounds are unaffected. */
  section.hero > *,
  section.hero-section > *,
  section[class*="hero-section"] > * {
    min-height: auto !important;
  }

  /* 9c. FULLSCREEN HERO EXCEPTION — from sharedMobileCss.js */

  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;
  }

  /* 10. HERO TITLE ACCENTS - ensure inline display for proper text flow */
  h1 span[class*="accent"],
  h2 span[class*="accent"],
  .hero-title span,
  .hero-heading span {
    display: inline !important;
  }

  /* 11. PACKAGES/CARDS GRIDS - Specific class targeting */
  .packages-grid,
  .cards-grid,
  .pricing-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  /* 12. PREVENT HORIZONTAL SCROLL - Safety net */
  body > * {
    max-width: 100vw !important;
  }
}

/* END MOBILE RESPONSIVE FIXES */





/* Legal Pages Content Styles */

/* 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;
}.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: #F7F4EC;
}

/* 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; transform: none; }

/* 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 {
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(247, 244, 236, 0.1) !important;
  background: rgba(247, 244, 236, 0.1) !important;
  box-shadow: 0 2px 8px rgba(247, 244, 236, 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 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: #F7F4EC !important;
  stroke: #F7F4EC !important;
  color: #F7F4EC !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: #F7F4EC !important;
  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: #F7F4EC !important;
  color: #F7F4EC !important;
  background-color: rgba(247, 244, 236, 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: #F7F4EC !important;
  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 */
}

/* AI-generated section */
/* ============================================================
   ROKOSAN BENEFITS SECTION
   ============================================================ */

.rokosan-benefits {
  background-color: #f7f5f0;
  padding: 88px 24px;
  font-family: system-ui, sans-serif;
  direction: rtl;
  text-align: center;
}

/* Container */
.rokosan-benefits__container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Header ---- */
.rokosan-benefits__header {
  margin-bottom: 56px;
}

.rokosan-benefits__title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #1a2e14;
  margin: 0 0 18px 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.rokosan-benefits__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  border-radius: 2px;
  margin: 14px auto 0 auto;
}

.rokosan-benefits__subtitle {
  font-size: 1rem;
  color: #5a6a52;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
}

/* ---- Grid ---- */
.rokosan-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

/* ---- Card ---- */
.rokosan-benefits__card {
  background: #ffffff;
  border: 1px solid rgba(79, 138, 60, 0.22);
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(46, 110, 31, 0.07), 0 1px 4px rgba(0,0,0,0.05);
  padding: 38px 28px 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.rokosan-benefits__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(46, 110, 31, 0.14), 0 2px 8px rgba(0,0,0,0.07);
  border-color: rgba(79, 138, 60, 0.45);
}

/* ---- Icon Wrapper ---- */
.rokosan-benefits__icon-wrap {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, #eef6ea 0%, #dff0d6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.rokosan-benefits__card:hover .rokosan-benefits__icon-wrap {
  background: linear-gradient(145deg, #d6edcc 0%, #c2e4b5 100%);
  transform: scale(1.06);
}

/* Iconify icon */
.rokosan-benefits__icon {
  color: var(--primary, #4F8A3C);
  font-size: 52px;
  display: block;
}

/* Fallback SVG icon */
.rokosan-benefits__icon-svg {
  width: 48px;
  height: 48px;
  fill: var(--primary, #4F8A3C);
  display: block;
  flex-shrink: 0;
}

/* If Iconify loads, hide SVG fallback — handled via JS below */

/* ---- Card Body ---- */
.rokosan-benefits__card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

/* ---- Card Heading ---- */
.rokosan-benefits__card-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2e14;
  margin: 0;
  line-height: 1.35;
}

/* ---- Card Subheading ---- */
.rokosan-benefits__card-subheading {
  font-size: 0.88rem;
  color: #4b8339;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* ---- Badge / Detail Text ---- */
.rokosan-benefits__card-badge {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(135deg, #eef6ea 0%, #dff0d6 100%);
  color: #4b8339;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(79, 138, 60, 0.25);
  line-height: 1.5;
  text-align: center;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .rokosan-benefits {
    padding: 72px 20px;
  }

  .rokosan-benefits__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 20px;
  }

  .rokosan-benefits__title {
    font-size: 1.75rem;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 600px) {
  .rokosan-benefits {
    padding: 56px 16px;
  }

  .rokosan-benefits__header {
    margin-bottom: 40px;
  }

  .rokosan-benefits__title {
    font-size: 1.5rem;
  }

  .rokosan-benefits__subtitle {
    font-size: 0.95rem;
  }

  .rokosan-benefits__card {
    padding: 30px 22px 26px 22px;
  }

  .rokosan-benefits__icon-wrap {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .rokosan-benefits__icon-svg {
    width: 40px;
    height: 40px;
  }

  .rokosan-benefits__card-heading {
    font-size: 1.05rem;
  }

  .rokosan-benefits__card-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
  }
}

/* ============================================================
   FOCUS / ACCESSIBILITY
   ============================================================ */
.rokosan-benefits__card:focus-within {
  outline: 2px solid var(--primary, #4F8A3C);
  outline-offset: 3px;
}

.index-cta-section .index-cta-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  padding: 14px 36px !important;
  border-radius: 8px !important;
  border: 2px solid var(--primary) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(79, 138, 60, 0.22) !important;
  transition: all 0.22s ease !important;
  white-space: nowrap !important;
}

.index-cta-section .index-cta-btn-primary:hover {
  background: #4F8A3C !important;
  border-color: #4F8A3C !important;
  box-shadow: 0 8px 28px rgba(79, 138, 60, 0.32) !important;
  transform: translateY(-2px) !important;
}

.index-cta-section .index-cta-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  padding: 13px 32px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  transition: all 0.22s ease !important;
  white-space: nowrap !important;
}

.index-cta-section .index-cta-btn-secondary:hover {
  background: rgba(79, 138, 60, 0.08) !important;
  transform: translateY(-2px) !important;
}

.index-cta-section .index-cta-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 5px 14px;
  background: rgba(79, 138, 60, 0.1);
  border: 1px solid rgba(79, 138, 60, 0.25);
  border-radius: 20px;
  margin-bottom: 22px;
}

.index-cta-section .index-cta-bg-layer,
.index-cta-section .index-cta-pattern {
  display: none !important;
}

@media (max-width: 768px) {
.index-cta-section .index-cta-actions {
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 320px !important;
}

.index-cta-section .index-cta-btn-primary,
  .index-cta-section .index-cta-btn-secondary {
  text-align: center !important;
  width: 100% !important;
}
}

/* AI-generated section */
/* =============================================
   ROKOSAN ABOUT SECTION — Premium Hero Style
   ============================================= */

.rokosan-about {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, sans-serif;
  direction: rtl;
  overflow: hidden;
  padding: 110px 24px;
  box-sizing: border-box;
}

/* --- Background Image Layer --- */
.rokosan-about__bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.rokosan-about__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  cursor: pointer;
  transition: transform 0.6s ease;
}

.rokosan-about__bg-image:hover {
  transform: scale(1.015);
}

/* --- Dark Overlay --- */
.rokosan-about__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 22, 8, 0.62) 0%,
    rgba(18, 42, 12, 0.56) 50%,
    rgba(10, 28, 10, 0.62) 100%
  );
  z-index: 1;
}

/* --- Content Container --- */
.rokosan-about__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* --- Frosted Glass Panel --- */
.rokosan-about__panel {
  width: 100%;
  background: rgba(10, 20, 10, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 60px 64px;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.38),
    0 2px 12px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: right;
}

/* --- Top Label --- */
.rokosan-about__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #49789f;
  margin: 0 0 22px 0;
  padding: 0;
  line-height: 1;
  opacity: 0.95;
}

/* --- Main Headline --- */
.rokosan-about__headline {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.22;
  margin: 0 0 28px 0;
  padding: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

/* --- Decorative Divider --- */
.rokosan-about__divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #C47A2C 0%, rgba(196, 122, 44, 0.3) 100%);
  border-radius: 2px;
  margin: 0 0 32px auto;
}

/* --- Body Text Container --- */
.rokosan-about__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* --- Individual Paragraphs --- */
.rokosan-about__paragraph {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.85;
  margin: 0;
  padding: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* =============================================
   RESPONSIVE — Tablet
   ============================================= */
@media (max-width: 900px) {
  .rokosan-about {
    padding: 90px 20px;
  }

  .rokosan-about__panel {
    padding: 48px 48px;
  }

  .rokosan-about__headline {
    font-size: clamp(26px, 5vw, 36px);
  }
}

/* =============================================
   RESPONSIVE — Mobile
   ============================================= */
@media (max-width: 600px) {
  .rokosan-about {
    padding: 72px 16px;
    min-height: auto;
    align-items: flex-start;
  }

  .rokosan-about__panel {
    padding: 36px 28px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .rokosan-about__headline {
    font-size: clamp(22px, 6.5vw, 30px);
    margin-bottom: 22px;
  }

  .rokosan-about__label {
    font-size: 10px;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
  }

  .rokosan-about__divider {
    width: 42px;
    margin-bottom: 24px;
  }

  .rokosan-about__paragraph {
    font-size: 15px;
    line-height: 1.8;
  }

  .rokosan-about__body {
    gap: 14px;
  }
}

/* =============================================
   ACCESSIBILITY — Reduced Motion
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  .rokosan-about__bg-image {
    transition: none;
  }

  .rokosan-about__bg-image:hover {
    transform: none;
  }
}

.site-footer .footer-grid {
  text-align: center !important;
}

.site-footer .footer-col {
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: center !important;
}

.site-footer .footer-links,
.site-footer .footer-contact,
.site-footer .footer-hours {
  text-align: center !important;
  padding: 0 !important;
}

.site-footer .footer-links li,
.site-footer .footer-contact li,
.site-footer .footer-hours li {
  justify-content: center !important;
  text-align: center !important;
}

.site-footer .footer-social {
  justify-content: center !important;
}

.site-footer .footer-tagline {
  text-align: center !important;
}

.site-footer .footer-heading {
  text-align: center !important;
}

.site-footer .footer-logo-wrap {
  display: flex !important;
  justify-content: center !important;
}

.cart-section .checkout-btn {
  width: auto;
  display: inline-block;
  padding: 12px 40px;
}

.cart-section .cart-summary {
  text-align: center;
}

@media (max-width: 768px) {
.index-hero-section {
  background-position: 80% center !important;
}
}

/* === BUTTON TEXT OVERRIDES START === */
.navbar .nav-cta-btn,
.nav-cta-btn { color: #FFFFFF !important; }

/* === BUTTON TEXT OVERRIDES END === */

.site-footer .footer-col .footer-contact li:nth-child(1) .contact-text a {
  text-transform: lowercase !important;
  color: var(--background-color) !important;
}

.site-footer .footer-contact li:nth-child(3) .contact-text {
  color: var(--background-color) !important;
  text-transform: lowercase !important;
}

.site-footer .footer-col .footer-contact li:nth-child(1) .contact-text a {
  color: var(--background-color) !important;
}

.site-footer .footer-contact li .contact-text,
.site-footer .footer-contact li .contact-text a {
  color: var(--background-color) !important;
  text-transform: lowercase !important;
}

.site-footer .footer-col .footer-contact li:nth-child(1) .contact-text a {
  color: var(--background-color) !important;
}

.site-footer .footer-contact li:nth-child(3) .contact-text {
  color: var(--background-color) !important;
}

#zappy-a11y-panel h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary, var(--primary-color));
  margin: 0 0 12px 0;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}

#zappy-a11y-panel .a11y-close {
  position: absolute;
  top: 8px;
  left: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 0;
}

body.a11y-high-contrast {
  filter: contrast(2) !important;
}

body.a11y-inverted {
  filter: invert(1) hue-rotate(180deg) !important;
}

body.a11y-large-text * {
  font-size: 120% !important;
  line-height: 1.7 !important;
}

body.a11y-larger-text * {
  font-size: 145% !important;
  line-height: 1.8 !important;
}

body.a11y-readable-font * {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.03em !important;
}

body.a11y-links-underline a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

body.a11y-no-animations * {
  animation: none !important;
  transition: none !important;
}

body.a11y-focus-highlight *:focus {
  outline: 3px solid #ffcc00 !important;
  outline-offset: 3px !important;
}

body.a11y-gray-scale {
  filter: grayscale(1) !important;
}

.featured-products-section .product-grid.featured-grid {
  justify-content: center !important;
}

.product-detail-section, .related-products-section {
  padding-left: 60px !important;
  padding-right: 60px !important;
}

/* ==ZAPPY V2 E-COMMERCE THEME CSS== */
/* ═══════════════════════════════════════════════════════════════════════════ */
/* V2 E-COMMERCE CSS - Clean V2 Variables Only                                  */
/* Theme: LIGHT (detected from hero section)             */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Prevent white “side margins” on wide screens:
   The e-commerce container is max-width 1440px; the outer background is the body/html background.
   Scope to e-commerce sites only (data-zappy-site-type is set by ecommerce JS). */
html[data-zappy-site-type="ecommerce"],
body[data-zappy-site-type="ecommerce"] {
  background: var(--bg-light) !important;
  background-color: var(--bg-light) !important;
}

/* Base page styling - matches hero section theme */
.ecommerce-page {
  padding: 60px 24px;
  padding-top: 24px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 60vh;
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

main.page-container,
main.page-container.ecommerce-page,
.page-container.ecommerce-page {
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

/* Section backgrounds */
.products-section,
.cart-section,
.checkout-section,
.login-section,
.account-section,
.order-success-section,
.product-detail-section,
.category-page-section {
  padding: 20px 0;
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

/* Section headings */
.products-section h1,
.cart-section h1,
.checkout-section h1,
.login-section h1,
.account-section h1,
.product-detail-section h1,
.category-page-section h1 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 2rem;
  color: var(--text-dark) !important;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* Product cards - V2 themed (full-bleed media + overlay favorite) */
.product-card {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: var(--bg-light, #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(--accent);
}

.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; }

/* Remove Chrome default near-black focus box on links; keep keyboard ring only (:focus-visible). */
.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(--accent, 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(--accent, var(--primary-color, var(--primary, #ff0083)));
  outline-offset: 2px;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

.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; }

.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: #eceff3;
  color: var(--text-muted);
  font-size: 40px;
  border-radius: 0;
}

/* !important beats later .product-tags { … !important } in this file (V2 catalog section) */
.product-card-media .product-tags {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  z-index: 2;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  max-width: calc(100% - 52px) !important;
  pointer-events: none;
}

[dir="rtl"] .product-card-media .product-tags {
  right: 8px !important;
  left: auto !important;
}

.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, #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;
  color: inherit;
  line-height: 1.3 !important;
  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-muted);
  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-muted);
  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-muted);
  margin-bottom: 4px;
}

/* Block flow avoids flex anonymous boxes splitting RTL “החל מ” from LTR price */
.product-card .price {
  font-weight: 700;
  color: var(--accent);
  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-muted);
  text-decoration: line-through;
  margin-inline-start: 8px !important;
  display: inline-block;
  font-weight: 400;
  vertical-align: baseline;
}

.product-card .add-to-cart {
  width: 100%;
  margin-top: 0;
  padding: 10px;
  background: var(--accent, var(--primary));
  color: #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);
  box-sizing: border-box;
}

/* Product card layout variants */
.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; }

.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; }

.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; }

.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 tags (sale, new, featured badges) */
.product-tag { display: inline-block; padding: 4px 10px; font-size: 11px; font-weight: 600; border-radius: 4px; background: var(--accent, var(--primary)); color: #fff; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 4px rgba(0,0,0,0.15); pointer-events: auto; }

.product-tag.tag-sale { background: #ef4444; }

.product-tag.tag-new { background: #22c55e; }

.product-tag.tag-featured { background: #f59e0b; }

/* Filter buttons - V2 themed */
.product-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: var(--bg-light, #fff);
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

/* 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-light); margin-bottom: 8px; }

.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 12px; }

.products-count { font-size: 13px; color: var(--text-dark); opacity: 0.7; }

.sidebar-toggle-btn { display: none; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--border-light); border-radius: 8px; background: var(--bg-light, #fff); cursor: pointer; color: var(--text-dark); font-size: 13px; transition: border-color 0.2s; }

.sidebar-toggle-btn:hover { border-color: var(--accent); }

/* Sort dropdown */
.sort-control select { padding: 7px 28px 7px 12px; border: 1px solid var(--border-light); border-radius: 8px; background: var(--bg-light, #fff); color: var(--text-dark); 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(--accent); box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 200,107,125), 0.15); }

/* View toggle */
.view-toggle { display: flex; border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; }

.view-btn { padding: 6px 10px; background: var(--bg-light, #fff); border: none; cursor: pointer; color: var(--text-dark); opacity: 0.6; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }

.view-btn:not(:last-child) { border-right: 1px solid var(--border-light); }

[dir="rtl"] .view-btn:not(:last-child) { border-right: none; border-left: 1px solid var(--border-light); }

.view-btn.active { background: var(--accent); color: #fff; opacity: 1; }

.view-btn:hover:not(.active) { background: rgba(0,0,0,0.05); }

.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-dark); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border-light); }

.product-sidebar .sidebar-item { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: 13px; color: var(--text-dark); transition: color 0.15s; overflow: visible; }

.product-sidebar .sidebar-item:hover { color: var(--accent); }

.product-sidebar .sidebar-item input[type="checkbox"] { accent-color: var(--accent); 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-dark); opacity: 0.5; }

.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-light); border-radius: 6px; font-size: 13px; background: var(--bg-light, #fff); color: var(--text-dark); }

.product-sidebar .price-range-inputs input:focus { outline: none; border-color: var(--accent); }

.product-sidebar .price-filter-btn { margin-top: 8px; padding: 6px 16px; background: var(--accent); color: #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-light); 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-dark); }

.product-sidebar .sidebar-clear-btn { background: none; border: 1px solid var(--border-light); border-radius: 6px; padding: 4px 10px; font-size: 11px; color: var(--text-dark); opacity: 0.6; cursor: pointer; transition: all 0.2s; }

.product-sidebar .sidebar-clear-btn:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }

.product-sidebar .sidebar-item input[type="radio"] { accent-color: var(--accent); 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 !important;
  left: 6px !important;
  right: auto !important;
  max-width: calc(100% - 52px) !important;
}

[dir="rtl"] .product-grid.view-list .product-card .product-tags {
  right: 6px !important;
  left: auto !important;
}

.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(--bg-light); 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: rgba(0,0,0,0.05); border-radius: 50%; cursor: pointer; color: var(--text-dark); font-size: 20px; line-height: 1; flex-shrink: 0; }
  .product-sidebar .sidebar-mobile-close:hover { background: var(--border-light); }
  .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 */
.cart-items { min-height: 200px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-summary {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-light, #fff);
  border-radius: 12px;
}

.cart-total {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.checkout-btn {
  display: block;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  background: var(--accent, var(--primary));
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: filter 0.2s;
}

.checkout-btn:hover { filter: brightness(0.9); }

/* Checkout */
.checkout-section h1 { color: var(--text-dark); }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 730px) 380px;
  gap: 32px;
  align-items: start;
  justify-content: center;
  max-width: 1160px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .checkout-layout { grid-template-columns: 1fr 340px; gap: 24px; }
}

@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr; max-width: 100%; }
}

/* ── Accordion Panels ── */
.checkout-accordion { display: flex; flex-direction: column; gap: 16px; }

.checkout-accordion-panel {
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.checkout-accordion-panel.completed {
  border-left: 3px solid var(--accent);
}

[dir="rtl"] .checkout-accordion-panel.completed {
  border-left: none;
  border-right: 3px solid var(--accent);
}

.checkout-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.checkout-accordion-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout-accordion-icon {
  flex-shrink: 0;
  color: var(--text-dark);
}

.checkout-accordion-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
}

.checkout-items-count {
  font-weight: 400;
  font-size: 18px;
  color: var(--text-muted);
}

.checkout-accordion-chevron {
  flex-shrink: 0;
  color: var(--text-dark);
  stroke: var(--text-dark);
  transition: transform 0.3s ease;
}

.checkout-accordion-panel.expanded .checkout-accordion-chevron {
  transform: rotate(180deg);
}

/* Accordion body - hidden by default */
.checkout-accordion-body {
  display: none;
  padding: 0 24px 24px;
}

.checkout-accordion-panel.expanded .checkout-accordion-body {
  display: block;
}

/* Thumbnail strip (items, visible when collapsed) */
.checkout-accordion-thumbs {
  display: flex;
  gap: 8px;
  padding: 0 24px 16px;
  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;
  color: var(--text-dark);
  flex-shrink: 0;
}

/* ── Form Fields ── */
.checkout-field-label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.checkout-form-fields { display: flex; flex-direction: column; gap: 37px; margin-top: 37px; }

.checkout-form-fields .input-wrapper { margin-bottom: 0; }

.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%;
  padding: 14px 16px;
  border: 1px solid #f5f5f5;
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  font-size: 16px;
  box-shadow: 0px 1px 2px rgba(16,24,40,0.05);
  box-sizing: border-box;
}

[dir="rtl"] .checkout-accordion-panel input { text-align: right; }

[dir="rtl"] .checkout-accordion-panel input::placeholder { text-align: right; }

.checkout-accordion-panel input:focus,
.checkout-accordion-panel select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 200,107,125), 0.08);
}

.checkout-accordion-panel input::placeholder {
  color: rgba(0,0,0,0.35);
}

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

.terms-checkbox-wrapper {
  margin: 16px 0 !important;
  padding: 12px !important;
  background: rgba(0,0,0,0.02) !important;
  border-radius: 8px !important;
}

.terms-checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
}

.terms-link {
  color: var(--accent) !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}

.terms-link:hover {
  opacity: 0.8 !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: rgba(0,0,0,0.6) !important;
}

/* Checkout login prompt */
/* NOTE: Do NOT set display here - inline JS controls visibility via display:none/flex */
.checkout-login-prompt {
  align-items: center !important;
  gap: 4px !important;
  font-size: 16px !important;
  color: var(--text-dark) !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
}

.checkout-login-link {
  color: #0088ff !important;
  font-weight: 400 !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, 200, 107, 125), 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;
}

/* Next button */
.checkout-next-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.checkout-next-btn {
  min-width: 140px;
  height: 48px;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

/* ── Checkout Cart Items (Items accordion) ── */
.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;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.checkout-item-variant {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  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;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-qty-btn:hover {
  background: rgba(0,0,0,0.05);
}

.checkout-qty-value {
  min-width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.checkout-item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.checkout-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s;
}

.checkout-item-remove:hover {
  color: #dc2626;
}

/* ── Order Details Sidebar ── */
.checkout-order-details {
  padding: 24px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  top: 24px;
}

.checkout-order-details-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  margin-bottom: 0 !important;
}

.checkout-order-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 16px 0;
}

.order-summary.checkout-order-details {
  border: 1px solid rgba(0,0,0,0.06) !important;
}

.checkout-order-details .order-totals {
  border-top: none;
  margin-top: 0;
  padding-top: 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;
  color: var(--text-dark);
}

.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;
  font-weight: 600;
}

.checkout-order-details .order-totals-row.vat-row {
  font-size: 13px;
  color: var(--text-muted);
}

.checkout-order-details .order-totals-row.vat-row span:last-child {
  font-weight: 400;
}

.checkout-order-details .discount-value {
  color: var(--accent) !important;
}

.checkout-order-details .order-totals-row.total {
  font-size: 18px;
  font-weight: 600;
  margin-top: 4px;
}

.checkout-order-details .order-totals-row.total span:last-child {
  font-weight: 700;
  color: var(--accent);
}

/* Place Order button */
.checkout-place-order-btn {
  width: 100%;
  height: 48px;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-top: 16px;
}

.checkout-place-order-btn:disabled,
.btn.btn-primary.checkout-place-order-btn:disabled {
  background: #8c8c8c !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Validation error overrides (prevent theme color inheritance) */
.field-error {
  color: #dc2626 !important;
  font-size: 12px !important;
}

.field-error.visible {
  display: block !important;
}

.checkout-accordion-body .input-wrapper input.input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1) !important;
}

/* ── Order Success / Thank You Card ── */
.order-success-card {
  max-width: 677px;
  margin: 0 auto;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 18px 80px 40px;
  text-align: left;
}

[dir="rtl"] .order-success-card { text-align: right; }

.order-success-card .order-success-icon {
  margin-bottom: 24px;
}

.order-success-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #4a4a4a !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
}

.order-number-inline {
  font-weight: 700;
}

.order-success-email {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #4a4a4a !important;
  margin-bottom: 0 !important;
  line-height: 1.3;
}

.order-success-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 28px 0;
}

.order-success-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.order-success-detail-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-success-detail-label {
  font-size: 16px;
  font-weight: 600;
  color: #4a4a4a;
}

.order-success-detail-value {
  font-size: 15px;
  font-weight: 400;
  color: #6b7280;
}

.continue-home-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* Hide old order success elements in V2 */
.order-success-card .order-number-box,
.order-success-card .order-confirmation-message {
  display: none !important;
}

/* Legacy checkout-step still used inside accordion body context */
.checkout-step {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
}

.checkout-step h2 {
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--text-dark);
}

.order-summary {
  padding: 24px;
  background: #fafafa;
  border-radius: 12px;
  height: fit-content;
  position: sticky;
  top: 24px;
  border: 1px solid var(--border-light);
}

.order-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.order-totals > div {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  color: var(--text-dark);
}

.order-totals .vat-row {
  font-size: 13px;
  color: var(--text-muted);
}

.order-totals .total {
  font-size: 20px;
  font-weight: 700;
  margin-top: 12px;
  color: var(--accent);
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-dark);
}

/* Responsive checkout accordion */
@media (max-width: 768px) {
  .checkout-accordion-header { padding: 20px 20px; }
  .checkout-accordion-body { padding: 0 20px 20px; }
  .checkout-accordion-thumbs { padding: 0 20px 16px; }
  .checkout-accordion-title { font-size: 18px; }
  .checkout-accordion-icon { width: 24px; height: 24px; }
  .checkout-order-details { padding: 20px; }
  .checkout-cart-item { gap: 12px; }
  .checkout-item-thumb, .checkout-item-thumb-empty { width: 72px; height: 72px; border-radius: 8px; }
  .checkout-item-name { font-size: 15px; }
  .checkout-item-price { font-size: 15px; }
  .order-success-card { padding: 18px 24px 32px; }
  .order-success-title { font-size: 22px !important; }
  .order-success-email { font-size: 18px !important; }
  .order-success-detail-label { font-size: 15px; }
  .order-success-detail-value { font-size: 14px; }
  .order-success-details { gap: 20px; }
}

/* Login */
.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-light);
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
}

.login-form input:focus,
.otp-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.empty-cart {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

/* 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-muted); stroke: var(--text-muted); }

.account-not-logged-in h1 { font-size: 1.75rem; color: var(--text-dark); margin-bottom: 12px; }

.account-not-logged-in p { color: var(--text-muted); margin-bottom: 24px; }

.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-dark); margin: 0; }

.account-info { display: flex; align-items: center; gap: 16px; }

.account-welcome { color: var(--text-muted); margin: 0; }

.account-welcome span { font-weight: 600; color: var(--text-dark); }

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

.btn-secondary {
  background: var(--bg-light, #fff);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover { background: rgba(0,0,0,0.05); }

/* Orders */
.orders-section h2 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 20px; }

.orders-loading { text-align: center; padding: 40px; color: var(--text-muted); }

.orders-empty {
  text-align: center;
  padding: 40px;
  background: var(--bg-light, #fff);
  border-radius: 12px;
}

.orders-empty p { color: var(--text-muted); margin-bottom: 20px; }

.orders-list { display: flex; flex-direction: column; gap: 16px; }

.order-card {
  background: var(--bg-light, #fff);
  border: 1px solid var(--border-light);
  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-dark); }

.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-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.order-info-row:last-child { border-bottom: none; }

.order-label { color: var(--text-muted); font-size: 0.875rem; }

.order-value { font-weight: 500; color: var(--text-dark); }

.order-items-summary {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-muted);
}

@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 {
  background: var(--bg-light, #fff);
  border: 1px solid var(--border-light);
  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-dark); margin: 0; }

.btn-text {
  background: none;
  border: none;
  color: var(--accent);
  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 #f3f4f6;
}

.profile-field:last-child { border-bottom: none; }

.profile-label { color: var(--text-muted); min-width: 80px; font-size: 0.875rem; }

.profile-value { color: var(--text-dark); 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-muted); font-weight: 500; }

.profile-form .form-group input {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: var(--text-dark);
}

.profile-form .form-group input:focus { outline: none; border-color: var(--accent); }

.form-actions { display: flex; gap: 12px; margin-top: 8px; }

/* Addresses section */
.addresses-section {
  background: var(--bg-light, #fff);
  border: 1px solid var(--border-light);
  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-muted); }

.address-card {
  background: #f9fafb;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
  position: relative;
}

.address-card.default { border-color: var(--accent); 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-dark); font-size: 0.875rem; text-transform: capitalize; }

.address-default-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
}

.address-card-body { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

.address-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.btn-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
}

.btn-icon:hover { color: var(--accent); }

.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(--bg-light);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-light);
}

.address-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.address-modal-header h3 { margin: 0; font-size: 1.25rem; color: var(--text-dark); }

.address-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.address-modal-close:hover { color: var(--text-dark); }

.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-muted); font-weight: 500; }

.address-modal-body .form-group input,
.address-modal-body .form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: var(--text-dark);
}

.address-modal-body .form-group input:focus,
.address-modal-body .form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.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(--accent); }

.address-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  justify-content: flex-end;
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: var(--text-light);
  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; color: #fff; }

.toast.error { background: #dc2626; color: #fff; }

@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: 20px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-success-container { max-width: 600px; margin: 0 auto; text-align: center; }

.order-success-icon { margin-bottom: 24px; }

.order-success-icon svg { color: #10b981; stroke: #10b981; }

.order-success-section h1 { font-size: 2.5rem; color: var(--text-dark); margin-bottom: 8px; }

.order-success-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 32px; }

.order-number-box {
  background: linear-gradient(135deg, var(--accent, var(--secondary)) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 24px 40px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.order-number-label { font-size: 0.875rem; opacity: 0.9; margin-bottom: 8px; }

.order-number-value { font-size: 1.75rem; font-weight: 700; letter-spacing: 1px; }

.order-confirmation-message {
  background: var(--bg-light, #fff);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.order-confirmation-message p { margin: 8px 0; color: var(--text-dark); }

.order-details-section {
  text-align: right;
  background: var(--bg-light, #fff);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.order-details-section h2 { font-size: 1.125rem; margin-bottom: 16px; color: var(--text-dark); }

.order-items-list { margin-bottom: 16px; }

.order-success-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.order-success-item:last-child { border-bottom: none; }

.order-totals-summary {
  padding-top: 16px;
  border-top: 2px solid var(--accent);
}

.order-totals-summary > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--text-dark);
}

.order-totals-summary .order-total-final { font-size: 1.25rem; font-weight: 700; color: var(--accent); }

.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-muted); }

/* 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-light);
  border-top-color: var(--accent);
  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: 8%;
}

@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: cover;
  border-radius: 4px;
  background: var(--bg-light, #fff);
}

.product-gallery-thumbs { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; justify-content: flex-start; }

.product-gallery-thumb {
  width: 166px;
  height: 166px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

@media (max-width: 768px) {
  .product-gallery-thumb { width: 80px; height: 80px; }
  .product-gallery-thumbs { gap: 12px; margin-top: 12px; }
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active { border-color: var(--accent); }

.product-video-thumb { width: 166px; height: 166px; border-radius: 4px; border: 2px solid transparent; overflow: hidden; flex-shrink: 0; background: #1a1a2e; }

@media (max-width: 768px) { .product-video-thumb { width: 80px; height: 80px; } }

.product-video-thumb:hover { border-color: var(--accent); }

.product-info { display: flex; flex-direction: column; gap: 16px; }

.product-info .product-variants { margin-top: 0; }

.product-info .product-add-row { margin-top: 20px; }

.product-info .product-details-accordion { margin-top: 16px; }

.product-info h1 { font-size: 2rem; color: var(--text-dark); margin: 0; line-height: 1.2; }

.product-info .product-price { font-size: 22px; font-weight: 700; color: var(--accent); }

.product-info .product-price .original-price {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-inline-start: 9px;
}

.product-info .product-short-description { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; margin: 4px 0 8px; }

.product-info .product-sku { font-size: 0.875rem; color: var(--text-muted); }

.product-info .product-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-light, #fff);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.product-info .product-stock { display: flex; align-items: center; gap: 8px; font-weight: 500; }

.product-info .product-stock.in-stock { color: #10b981; }

.product-info .product-stock.out-of-stock { color: #ef4444; }

.product-info .product-stock.low-stock { color: #f59e0b; }

.product-stock svg {
  /* Some themes apply global svg { max-width:100%; height:auto; } which can blow this up.
     Clamp explicitly to icon size. */
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
}

.product-info .product-description { color: var(--text-dark); opacity: 0.75; line-height: 1.6; }

.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 add row - quantity + add to cart side by side */
.product-add-row {
  display: flex;
  align-items: center;
  gap: 10px;
  position: static;
}

@media (max-width: 480px) {
  .product-add-row { flex-direction: column; align-items: stretch; }
}

.product-info .product-actions { display: flex; gap: 16px; flex-wrap: wrap; flex: 1; position: static; }

.product-info .product-quantity { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  gap: 8px; 
  width: max-content; 
}

.product-info .product-quantity > label { display: none; }

.product-info .quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.product-info .quantity-selector button {
  width: 48px;
  height: 48px;
  border: none;
  background: var(--bg-light, #fff);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.product-info .quantity-selector button:hover { background: rgba(0,0,0,0.05); }

.product-info .quantity-selector input {
  width: 50px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  text-align: center;
  font-size: 1rem;
  background: transparent;
  color: var(--text-dark);
  padding: 0;
  -moz-appearance: textfield;
}

.product-info .quantity-selector input::-webkit-inner-spin-button,
.product-info .quantity-selector input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-info .add-to-cart-btn,
.product-info .add-to-cart {
  flex: 1;
  min-width: 200px;
  height: 48px;
  padding: 0 28px;
  background: var(--accent, var(--primary));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s;
}

.product-info .add-to-cart-btn:hover,
.product-info .add-to-cart:hover { filter: brightness(0.9); }

.product-info .add-to-cart-btn:disabled,
.product-info .add-to-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Product details accordion */
.product-details-accordion { width: 100%; }

.product-details-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
}

.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-dark);
}

.product-details-header:hover { opacity: 0.8; }

.product-details-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-dark);
  transition: transform 0.2s;
}

.product-details-body {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.product-details-accordion.collapsed .product-details-body {
  max-height: 0 !important;
  opacity: 0;
  overflow: hidden;
}

.related-products-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.related-products-section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}

/* 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.
   The Star Shoes site (and other branded V2 sites) cascade an accent color
   onto descendant links/text inside .product-info, which made the upsell
   product names render in the brand accent (e.g. yellow) instead of body
   text. The selectors below are scoped to .product-upsells and explicitly
   set color: var(--text-dark) so theme accents do NOT bleed into upsell rows.
   List bullets are also suppressed since the rows render their own checkbox. */
.product-upsells {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 16px 0;
}

.product-upsells .upsells-header { margin: 0 0 8px; }

.product-upsells .upsells-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-upsells .upsells-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.product-upsells .upsell-row {
  list-style: none !important;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
  outline: none;
}

.product-upsells .upsell-row::marker { content: '' !important; }

.product-upsells .upsell-row::before { content: none !important; }

.product-upsells .upsell-row:first-child { border-top: none; }

.product-upsells .upsell-row:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent, var(--primary));
  border-radius: 4px;
}

.product-upsells .upsell-row.is-out-of-stock {
  cursor: not-allowed;
  opacity: 0.55;
}

.product-upsells .upsell-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent, var(--primary));
  margin: 0;
}

.product-upsells .upsell-row.is-out-of-stock .upsell-checkbox { cursor: not-allowed; }

.product-upsells .upsell-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.product-upsells .upsell-name {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.3;
  word-break: break-word;
  max-width: 100%;
}

.product-upsells .upsell-name:hover {
  color: var(--accent, var(--primary));
  text-decoration: underline;
}

.product-upsells .upsell-stock-badge {
  display: inline-block;
  font-size: 0.7rem;
  color: #b91c1c;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-upsells .upsell-price {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.product-upsells .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;
}

.product-upsells .upsells-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.product-upsells .upsells-total-amount {
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 700;
}

.product-upsells .upsells-total-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .product-upsells .upsell-row { gap: 8px; }
}

/* Category page */
.category-header { margin-bottom: 32px; }

.category-header-loading { text-align: center; padding: 40px; }

.category-title { font-size: 2rem; color: var(--text-dark); margin-bottom: 8px; }

.category-description { color: var(--text-muted); font-size: 1.1rem; }

.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); 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), #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; }

.category-products-loading { text-align: center; padding: 40px; color: var(--text-muted); }

/* Variant selectors */
.product-variants { display: flex; flex-direction: column; gap: 16px; }

.variant-group { display: flex; flex-direction: column; gap: 8px; }

.variant-group-label { font-weight: 400; color: var(--text-dark); font-size: 18px; }

.variant-selected-value { font-weight: 700; }

.variant-label { font-weight: 500; color: var(--text-dark); font-size: 0.9rem; }

.variant-options { display: flex; flex-wrap: wrap; gap: 7px; }

.variant-option {
  min-width: 72px;
  height: 50px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  background: var(--bg-light, #fff);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-dark);
}

.variant-option:hover { border-color: var(--accent); }

.variant-option.selected {
  border-color: var(--accent);
  border-width: 2px;
}

.variant-option.unavailable {
  opacity: 0.5;
  text-decoration: line-through;
  cursor: not-allowed;
}

.variant-option.color-swatch {
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  border-radius: 50%;
  position: relative;
}

.variant-option.color-swatch.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
}

.variant-price-update {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Coupon styles */
.coupon-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.coupon-toggle-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.coupon-toggle-btn:hover { text-decoration: underline; }

.coupon-input-row {
  display: none;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}

.coupon-input-row.active { display: flex; }

.coupon-input-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text-dark);
}

.coupon-apply-btn {
  padding: 10px 16px;
  background: var(--accent, var(--primary));
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.coupon-apply-btn:hover { filter: brightness(0.9); }

.coupon-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.coupon-applied-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.coupon-badge {
  background: #d1fae5;
  color: #065f46;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.coupon-remove-btn {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 0.85rem;
}

.coupon-remove-btn:hover { text-decoration: underline; }

.coupon-error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 8px;
}

.discount-row { color: #059669; }

/* Cart drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  /* Must be above navbar (100000) and announcement bar (100001) */
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Ensure overlay doesn't block clicks when not active */
.cart-drawer-overlay:not(.active) {
  pointer-events: none !important;
}

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  max-width: 90vw;
  height: 100dvh;
  height: 100vh;
  background: var(--bg-light);
  /* Must be above overlay, navbar, and announcement bar */
  z-index: 9999999 !important;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  box-sizing: border-box;
}

#cart-drawer.cart-drawer.ltr {
  right: 0 !important;
  left: auto !important;
  transform: translateX(100%);
  direction: ltr;
}

#cart-drawer.cart-drawer.rtl {
  left: 0 !important;
  right: auto !important;
  transform: translateX(-100%);
  direction: rtl;
}

@supports (height: 100dvh) { .cart-drawer { height: 100dvh; } }

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-dark);
  flex: 1;
  min-width: 0;
}

.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.cart-drawer-close svg,
#cart-drawer-close svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Mobile: override global button { width:100% } rules */
@media (max-width: 768px) {
  .cart-drawer-close,
  #cart-drawer-close,
  .cart-drawer #cart-drawer-close {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    flex: 0 0 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    line-height: 1 !important;
  }
}

.cart-drawer-close:hover { color: var(--text-dark); }

.cart-drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-drawer-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-drawer-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-drawer-item-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.cart-drawer-item-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.3;
}

.cart-drawer-item-variant {
  font-size: 13px;
  color: var(--text-muted, #6b7280);
  line-height: 1.4;
}

.cart-drawer-item-variant .cart-item-attr-label { font-weight: 500; }

.cart-drawer-item-variant .cart-item-attr-sep { margin: 0 4px; opacity: 0.5; }

.cart-drawer-item-price { color: var(--accent); font-weight: 600; font-size: 15px; margin-top: 2px; }

.cart-drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.cart-drawer-item-qty button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-light);
  background: var(--bg-light, #fff);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-dark);
}

.cart-drawer-item-qty button:hover { background: rgba(0,0,0,0.05); }

.cart-drawer-item-qty span { min-width: 24px; text-align: center; color: var(--text-dark); }

.cart-drawer-item-remove {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 0.8rem;
  margin-top: 8px;
}

.cart-drawer-item-remove:hover { text-decoration: underline; }

/* Cart drawer item controls (legacy markup used by some templates):
   The drawer renders .cart-item / .cart-item-qty / .cart-item-remove (not .cart-drawer-item-*),
   and global button background resets can make +/- and trash invisible on dark theme. */
#cart-drawer .cart-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 20px 24px !important;
}

#cart-drawer .cart-item-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

#cart-drawer .cart-item-name {
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  color: var(--text-dark) !important;
}

#cart-drawer .cart-item-variant {
  font-size: 13px !important;
  color: #6b7280 !important;
  line-height: 1.4 !important;
}

#cart-drawer .cart-item-variant .cart-item-attr-label {
  font-weight: 500 !important;
}

#cart-drawer .cart-item-variant .cart-item-attr-sep {
  margin: 0 4px !important;
  opacity: 0.5 !important;
}

#cart-drawer .cart-item-price {
  font-size: 15px !important;
  margin-top: 2px !important;
  color: var(--accent) !important;
  font-weight: 600 !important;
}

#cart-drawer .cart-item-qty {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: fit-content !important;
  margin-top: 4px !important;
}

#cart-drawer .cart-item-qty button {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  background: rgba(0,0,0,0.05) !important;
  color: var(--text-dark) !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#cart-drawer .cart-item-qty span {
  min-width: 28px !important;
  text-align: center !important;
  font-size: 15px !important;
  color: var(--text-dark) !important;
}

#cart-drawer .cart-item-remove {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  border-radius: 10px !important;
  background: rgba(0,0,0,0.05) !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  color: var(--text-dark) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

#cart-drawer .cart-item-remove svg {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
  display: block !important;
}

#cart-drawer .cart-item-remove svg path {
  stroke: currentColor !important;
  stroke-width: 2 !important;
  fill: none !important;
}

.cart-drawer-footer {
  padding: 20px 24px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.cart-drawer-checkout {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent, var(--primary));
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: filter 0.2s;
}

.cart-drawer-checkout:hover { filter: brightness(0.9); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* E-COMMERCE NAVBAR ICONS & SEARCH BOX - V2 Theme Colors Only                 */
/* NOTE: Layout/positioning is handled by existing websiteGenerationService    */
/* This section ONLY overrides colors for V2 dark/light theme consistency      */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Search box - input text uses nav-text (contrasts with navbar bg where input sits) */
.nav-search-input { 
  border-color: rgba(128,128,128,0.25) !important; 
  background: rgba(128,128,128,0.08) !important; 
  color: var(--nav-text, var(--text-dark)) !important; 
}

.nav-search-input::placeholder {
  color: rgba(128,128,128,0.6) !important;
}

.nav-search-input:focus { 
  border-color: var(--accent) !important; 
  background: rgba(128,128,128,0.12) !important; 
  box-shadow: 0 0 0 3px rgba(128,128,128,0.1) !important; 
}

.nav-search-btn { 
  color: var(--nav-text, var(--text-muted)) !important; 
}

.nav-search-btn:hover { 
  background: rgba(128,128,128,0.12) !important; 
  color: var(--nav-text-hover, var(--accent)) !important; 
}

/* Search results dropdown - uses surface bg with regular text (not nav text) */
.nav-search-results { 
  background: var(--surface, var(--bg-light, #fff)) !important; 
  border-color: rgba(128,128,128,0.2) !important; 
}

.nav-search-result-item { 
  border-bottom-color: rgba(128,128,128,0.15) !important; 
}

.nav-search-result-item:hover { 
  background: rgba(128,128,128,0.1) !important; 
}

.nav-search-result-name { 
  color: var(--text, var(--text-dark)) !important; 
}

.nav-search-result-item a {
  color: var(--text, var(--text-dark)) !important;
}

.nav-search-result-price { 
  color: var(--accent) !important; 
}

.nav-search-no-results { 
  color: rgba(128,128,128,0.6) !important;
}

/* Cart link - uses nav text for icon color */
.cart-link.nav-cart { 
  color: var(--nav-text, var(--text-dark)) !important; 
}

.cart-link.nav-cart:hover { 
  background: rgba(128,128,128,0.12) !important; 
  color: var(--nav-text-hover, var(--accent)) !important; 
}

.cart-link.nav-cart .cart-count { 
  background: var(--accent, #FF2DAA) !important; 
  color: #fff !important; 
}

.cart-link.nav-cart:hover .cart-count { 
  background: #fff !important; 
  color: var(--accent, #FF2DAA) !important; 
}

/* Login link - uses nav text for icon color */
.login-link.nav-login { 
  color: var(--nav-text, var(--text-dark)) !important; 
}

.login-link.nav-login:hover { 
  background: rgba(128,128,128,0.12) !important; 
  color: var(--nav-text-hover, var(--accent)) !important; 
}

/* Search toggle button - uses nav text for icon color */
.nav-search-toggle {
  color: var(--nav-text, var(--text-dark)) !important;
}

.nav-search-toggle:hover {
  background: rgba(128,128,128,0.12) !important;
}

/* Nav cart count (alternate selector) */
.nav-cart-count {
  background: var(--accent) !important;
  color: #fff !important;
}

/* Mobile search panel */
.mobile-search-panel {
  display: none;
  position: fixed;
  /* Open below announcement + navbar (prevents overlap on mobile) */
  top: var(--total-header-height, var(--header-height, 60px));
  left: 0;
  right: 0;
  background: var(--bg-light);
  z-index: 1002;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-bottom: 1px solid var(--border-light);
}

.mobile-search-panel.active { display: block !important; }

.mobile-search-panel .search-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0 16px;
}

.mobile-search-panel input {
  flex: 1 1 auto;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  color: var(--text-dark);
  min-width: 100px;
  height: 44px;
  order: 1; /* Input first (right in RTL) */
}

.mobile-search-panel input:focus { outline: none; border-color: var(--accent); }

/* Close button styling for mobile search panel */
.mobile-search-panel .close-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  flex: 0 0 44px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: inherit;
  flex-shrink: 0;
  order: 3; /* X button last */
  padding: 0;
}

.mobile-search-panel .close-search:hover { 
  background: rgba(0,0,0,0.05);
  color: inherit;
}

.mobile-search-panel .close-search svg {
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  color: inherit;
}

.mobile-search-panel .search-results {
  margin-top: 16px;
  max-height: 60vh;
  overflow-y: auto;
}

.mobile-search-panel .search-result-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
}

.mobile-search-panel .search-result-item:hover { background: rgba(0,0,0,0.05); }

.mobile-search-panel .search-result-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.mobile-search-panel .search-result-info { flex: 1; }

.mobile-search-panel .search-result-name { font-weight: 500; color: var(--text-dark); }

.mobile-search-panel .search-result-price { color: var(--accent); font-size: 0.9rem; }

/* Mobile search submit button */
.mobile-search-panel .search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  background: var(--accent, var(--primary));
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  padding: 0;
  order: 2; /* Search button after input (left in RTL) */
}

.mobile-search-panel .search-submit:hover { opacity: 0.9; }

.mobile-search-panel .search-submit svg { 
  width: 24px; 
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  stroke: #fff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE SEARCH RTL + PILL INPUT FIX
   ───────────────────────────────────────────────────────────────────────────── */

/* RTL order: input (right) → search → X (left). Force row for RTL sites. */
html[dir="rtl"] .mobile-search-panel .search-wrapper,
html[lang="he"] .mobile-search-panel .search-wrapper,
html[lang="ar"] .mobile-search-panel .search-wrapper,
[dir="rtl"] .mobile-search-panel .search-wrapper {
  flex-direction: row !important;
}

/* Pill-shaped search input */
.mobile-search-panel #mobile-search-input,
.mobile-search-panel input {
  border-radius: 24px !important;
  padding-inline: 20px !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}

.mobile-search-panel input::placeholder {
  color: rgba(0,0,0,0.45) !important;
}

/* Ensure icon buttons stay rounded */
.mobile-search-panel .search-submit,
.mobile-search-panel #mobile-search-submit,
.mobile-search-panel .close-search,
.mobile-search-panel #close-mobile-search {
  border-radius: 50% !important;
}

/* Cart count badge - ensure proper sizing on mobile */
.cart-count {
  position: absolute !important;
  top: -4px !important;
  left: -4px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2px 5px !important;
  border-radius: 10px !important;
  min-width: 16px !important;
  max-width: 24px !important;
  height: auto !important;
  line-height: 1 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Mobile-specific nav styles */
@media (max-width: 768px) {
  /* Mobile nav panel must have an opaque background; the refresh script doesn't
     re-run navbarCssHelper/colorPaletteService which normally sets this.
     When --nav-bg is transparent, we use the solid palette bg instead. */
  .nav-menu,
  .nav-menu.active,
  .nav-menu.nav-menu-active,
  #navMenu,
  #navMenu.active {
    background-color: var(--nav-bg, var(--bg-light));
  }
  .nav-menu.active,
  .nav-menu.nav-menu-active,
  #navMenu.active {
    top: var(--zappy-mobile-menu-top, var(--total-header-height, var(--zappy-navbar-bottom, 70px))) !important;
    bottom: 0 !important;
    max-height: calc(100dvh - 70px) !important;
    max-height: calc(100dvh - var(--zappy-mobile-menu-top, var(--total-header-height, var(--zappy-navbar-bottom, 70px)))) !important;
    overflow-y: auto !important;
  }

  /* Ensure hamburger is visible on mobile e-commerce pages.
     Some generated navbars accidentally ship ".mobile-toggle { display:none; }" without a media query.
     Color is NOT set here — navbarLayoutFixService determines the correct color
     based on the navbar background (which may differ from the page theme). */
  html[data-zappy-site-type="ecommerce"] #mobileToggle,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 6px !important;
    border-radius: 9999px !important;
    background: transparent !important;
  }
  /* Render hamburger icon reliably across templates - SVG base styling */
  html[data-zappy-site-type="ecommerce"] #mobileToggle svg,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle svg {
    color: inherit !important;
    stroke: currentColor !important;
    fill: none !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    flex-shrink: 0 !important;
  }
  
  /* Mobile toggle icons */
  /* Default state: hamburger visible, close hidden */
  html[data-zappy-site-type="ecommerce"] #mobileToggle .hamburger-icon,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle .hamburger-icon {
    display: block !important;
  }
  html[data-zappy-site-type="ecommerce"] #mobileToggle .close-icon,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle .close-icon {
    display: none !important;
  }
  
  /* Active state: hamburger hidden, close visible */
  /* Triggered when button has .active class (set by JS in websiteGenerationService) */
  html[data-zappy-site-type="ecommerce"] #mobileToggle.active .hamburger-icon,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle.active .hamburger-icon {
    display: none !important;
  }
  html[data-zappy-site-type="ecommerce"] #mobileToggle.active .close-icon,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle.active .close-icon {
    display: block !important;
  }
  
  html[data-zappy-site-type="ecommerce"] #mobileToggle svg *,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle svg * {
    stroke: currentColor !important;
    fill: none !important;
    opacity: 1 !important;
  }
  html[data-zappy-site-type="ecommerce"] #mobileToggle svg path,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle svg path,
  html[data-zappy-site-type="ecommerce"] #mobileToggle svg line,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle svg line,
  html[data-zappy-site-type="ecommerce"] #mobileToggle svg polyline,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle svg polyline {
    stroke-width: 2px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
  /* If a template uses an <i> icon instead of svg */
  html[data-zappy-site-type="ecommerce"] #mobileToggle i,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle i {
    display: block !important;
    color: currentColor !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }

  /* Phone CTA should not appear on e-commerce nav.
     NOTE: multiLanguageService injects .phone-header-btn { display:flex !important; } on mobile.
     We must beat it with higher specificity + !important. */
  nav.navbar .phone-header-btn,
  .navbar .phone-header-btn {
    display: none !important;
  }

  /* Mobile search toggle visibility */
  nav.navbar .nav-search-box,
  .navbar .nav-search-box {
    display: none !important;
  }
  .nav-search-toggle { display: flex !important; }
  
  /* Hide catalog menu on mobile */
  .zappy-catalog-menu { display: none !important; }
  
  /* Left icons group (Login, Cart) - positioned at inline-end edge of .nav-container */
  .nav-icons-left {
    order: 2 !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;
  }

  /* Ensure login/cart never stack vertically */
  .navbar .nav-ecommerce-icons.nav-icons-left,
  .navbar .nav-icons-left,
  .nav-ecommerce-icons.nav-icons-left,
  .nav-icons-left {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
  }
  
  /* Right icons group (Search) - positioned after hamburger menu.
     Hamburger is 36px at 12px from .navbar edge → ends at 48px from .navbar edge.
     Use 52px from .navbar edge to guarantee clearance regardless of navbar padding.
     Since .nav-icons-right is positioned within .nav-container, subtract any
     nav-container offset, but 52px is safe for all known navbar padding values. */
  .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;
  }

  /* Logo: constrain width so it doesn't get squeezed by icon groups */
  .logo,
  .nav-brand img,
  .nav-brand svg {
    max-width: 110px !important;
  }
  
  /* Make header relative for absolute children */
  header, .navbar, nav:first-of-type {
    position: relative !important;
  }
  
  /* Mobile nav icon buttons - sized to match desktop e-commerce standard (36px).
     ALWAYS use solid bg-light background so icons are visible over any hero (dark or light).
     Paired with text-dark color below for guaranteed contrast. */
  .cart-link,
  .nav-cart,
  .nav-search-toggle,
  .login-link,
  .nav-login {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: visible !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(128,128,128,0.2) !important;
    background: var(--bg-light, #fff) !important;
  }

  /* Icon color: always use text-dark on mobile since circles are always bg-light.
     --nav-text may be white (for transparent navbars) which is invisible on light circles. */
  .cart-link.nav-cart,
  .login-link.nav-login,
  .nav-search-toggle {
    color: var(--text-dark, #1a1a1a) !important;
  }
  .cart-link.nav-cart svg,
  .login-link.nav-login svg,
  .nav-search-toggle svg {
    stroke: var(--text-dark, #1a1a1a) !important;
  }

  /* Mobile nav icon hover */
  .cart-link.nav-cart:hover,
  .login-link.nav-login:hover,
  .nav-search-toggle:hover {
    background: rgba(128,128,128,0.15) !important;
    color: var(--text-dark, #1a1a1a) !important;
  }
  
  /* Mobile nav SVG icons - consistent size */
  .cart-link svg,
  .nav-cart svg,
  .nav-search-toggle svg,
  .login-link svg,
  .nav-login svg,
  .cart-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    flex-shrink: 0 !important;
  }
  
  /* Cart count badge - positioned at outer corner */
  .cart-count {
    position: absolute !important;
    top: -6px !important;
    left: -6px !important;
    right: auto !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    background: var(--accent, #FF2DAA) !important;
    color: #fff !important;
  }
}

@media (min-width: 769px) {
  .nav-search-toggle { display: none !important; }
  .mobile-search-panel { display: none !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;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  
  /* Ensure all nav icon containers use horizontal flex layout with proper spacing */
  .nav-ecommerce-icons,
  .nav-icons-left,
  .nav-ecommerce-icons.nav-icons-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  
  /* Desktop icon order: Search first (rightmost in RTL), then Login, then Cart (leftmost in RTL) */
  .nav-ecommerce-icons .nav-search-box { order: 1 !important; }
  .nav-ecommerce-icons .login-link.nav-login { order: 2 !important; }
  .nav-ecommerce-icons .cart-link.nav-cart { order: 3 !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 */
  /* NOTE: Removed :has() to avoid performance issues */
  .nav-right-group {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    justify-content: space-between !important;
  }
  
  /* Keep nav-brand and nav-menu together */
  .nav-right-group .nav-brand {
    flex-shrink: 0 !important;
  }
  
  .nav-right-group .nav-menu {
    flex-grow: 1 !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }
  
  /* Prevent nav-menu items from wrapping */
  .nav-menu,
  .nav-links {
    flex-wrap: nowrap !important;
  }
  
  /* Desktop icon buttons: keep circular + centered (fix square icons regression) */
  .navbar .nav-ecommerce-icons.nav-icons-left a.login-link.nav-login,
  .navbar .nav-ecommerce-icons.nav-icons-left a.cart-link.nav-cart {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(128,128,128,0.2) !important;
    background: var(--bg-light, #fff) !important;
    color: var(--text-dark, #1a1a1a) !important;
    padding: 0 !important;
    position: relative !important; /* anchor cart badge */
    box-sizing: border-box !important;
  }
  .navbar .nav-ecommerce-icons.nav-icons-left a.login-link.nav-login svg,
  .navbar .nav-ecommerce-icons.nav-icons-left a.cart-link.nav-cart svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Cart badge: position at icon outer corner (avoid huge right value in RTL) */
  .navbar .nav-ecommerce-icons.nav-icons-left .cart-link.nav-cart .cart-count {
    position: absolute !important;
    top: -6px !important;
    inset-inline-end: -6px !important;
    inset-inline-start: auto !important;
    background: var(--accent, #FF2DAA) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    height: 16px !important;
    min-width: 18px !important;
    padding: 0 5px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  html[dir="rtl"] .navbar .nav-ecommerce-icons.nav-icons-left .cart-link.nav-cart .cart-count,
  html[lang="he"] .navbar .nav-ecommerce-icons.nav-icons-left .cart-link.nav-cart .cart-count,
  html[lang="ar"] .navbar .nav-ecommerce-icons.nav-icons-left .cart-link.nav-cart .cart-count,
  [dir="rtl"] .navbar .nav-ecommerce-icons.nav-icons-left .cart-link.nav-cart .cart-count {
    inset-inline-start: -6px !important;
    inset-inline-end: auto !important;
  }

  /* Desktop search: pill container with focus animation */
  .navbar .nav-search-box {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    height: 36px !important;
    border-radius: 9999px !important;
    border: 1px solid var(--border-light) !important;
    background: var(--bg-light, #fff) !important;
    /* Anchor dropdown + keep pill stable when results render */
    position: relative !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    /* Smooth transition for focus state */
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
  }
  /* Focus state on container - wraps entire search box including button */
  .navbar .nav-search-box:focus-within {
    border-color: var(--primary, #6D28D9) !important;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.15) !important;
  }
  .navbar .nav-search-box .nav-search-input {
    /* Compact width with expand animation on focus */
    flex: 0 0 auto !important;
    width: 180px !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--text-dark) !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    transition: width 0.2s ease !important;
  }
  .navbar .nav-search-box .nav-search-input:focus {
    width: 240px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
  .navbar .nav-search-box .nav-search-btn {
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important;
    box-sizing: border-box !important;
  }

  /* Desktop search results dropdown:
     "#nav-search-results" is injected as a child of ".nav-search-box" and becomes a flex item by default.
     Make it absolutely positioned so it can't corrupt the pill layout while typing. */
  .navbar .nav-search-results,
  .navbar #nav-search-results {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
  .navbar .nav-search-results:not(.active),
  .navbar #nav-search-results:not(.active) {
    display: none !important;
  }
  .navbar .nav-search-results.active,
  .navbar #nav-search-results.active {
    display: block !important;
    z-index: 100000 !important;
    background: var(--bg-light, #fff) !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 44px rgba(0,0,0,0.45) !important;
    max-height: 320px !important;
    overflow: auto !important;
    padding: 8px !important;
  }

  /* Products menu: normalize link height so dropdown item doesn't look like “two rows” */
  .navbar, .nav-container, .nav-menu, .nav-menu > li { overflow: visible !important; }
  .navbar .nav-menu { align-items: center !important; }
  .navbar .nav-menu > li { display: flex !important; align-items: center !important; }
  .navbar .nav-menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 10px !important;
  }
  .navbar .nav-menu > li.menu-item-has-children > a { gap: 6px !important; }

  /* Products dropdown: keep submenu hidden until hover/focus (prevents “second row” look) */
  .navbar .zappy-products-dropdown { position: relative !important; }
  .navbar .zappy-products-dropdown > .sub-menu {
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(6px) !important;
    transition: opacity .15s ease, transform .15s ease !important;
    max-height: calc(100vh - 150px) !important;
    overflow-y: auto !important;
  }
  .navbar .zappy-products-dropdown:hover > .sub-menu,
  .navbar .zappy-products-dropdown:focus-within > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* 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) - desktop only */
/* NOTE: Mobile visibility is handled via @media (max-width: 768px) { .zappy-catalog-menu { display: none !important; } } */
/* Catalog menu always inherits navbar colors, NOT ecommerce pages bg */
@media (min-width: 769px) {
  .zappy-catalog-menu {
    background: var(--nav-bg, var(--background, #fff)) !important;
    border-bottom: 1px solid rgba(128,128,128,0.15) !important;
    padding: 0;
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    display: block !important;
    visibility: visible !important;
  }
}

.catalog-menu-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  overflow: visible;
  flex-direction: row; /* With direction:rtl, flex-direction:row naturally flows right-to-left */
  justify-content: center !important;
  width: 100% !important;
}

.catalog-menu-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center !important;
}

.catalog-menu-item,
.catalog-menu-all {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-text, var(--text, #333)) !important;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

.catalog-menu-item:hover,
.catalog-menu-all:hover {
  color: var(--nav-text-hover, var(--accent)) !important;
  background: rgba(128,128,128,0.1);
}

.catalog-menu-categories {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center !important;
}

.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-categories,
.zappy-catalog-menu.rtl .catalog-menu-categories {
  direction: rtl !important;
}

/* Catalog menu parent dropdowns (categories with children) */
.catalog-menu-parent {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.catalog-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.catalog-menu-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.catalog-menu-parent:hover .catalog-menu-chevron {
  transform: rotate(180deg);
}

/* Use .zappy-catalog-menu ancestor for specificity 0-3-0+ to beat githubService injected rules */
.zappy-catalog-menu .catalog-menu-parent > .sub-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  min-width: 200px !important;
  max-width: min(280px, calc(100vw - 32px)) !important;
  max-height: calc(100vh - 200px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !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;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin-top: 0 !important;
}

.catalog-menu-parent::after {
  content: '' !important;
  position: absolute !important;
  bottom: -8px !important;
  left: 0 !important;
  right: 0 !important;
  height: 8px !important;
}

.zappy-catalog-menu .catalog-menu-parent:hover > .sub-menu,
.zappy-catalog-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));
}

/* Dropdown in catalog menu - desktop only */
.zappy-products-dropdown { position: relative; }

@media (min-width: 769px) {
  .zappy-products-dropdown .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    max-width: min(280px, calc(100vw - 32px));
    max-height: calc(100vh - 150px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: var(--bg-light, #fff) !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 100001;
    list-style: none;
    margin: 0;
    padding-top: 12px;
  }
  /* Bridge element to prevent submenu from disappearing on hover */
  .zappy-products-dropdown::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
  }
  .zappy-products-dropdown:hover .sub-menu,
  .zappy-products-dropdown:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .zappy-products-dropdown .sub-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark, #1a1a1a);
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s ease;
  }
  .zappy-products-dropdown .sub-menu a:hover {
    background: rgba(128,128,128,0.1) !important;
    color: var(--nav-text-hover, var(--accent)) !important;
  }
}

/* V2 Navbar positioning for e-commerce - DO NOT include generic 'header' as it matches content headers */
nav#navbar,
nav.navbar,
.navbar:not(.zappy-catalog-menu) {
  z-index: 100000 !important;
  overflow: visible !important;
}

/* Announcement bar should be above everything */
.zappy-announcement-bar {
  z-index: 100001 !important;
  /* CRITICAL: must be fixed so it stays ABOVE fixed navbar.
     If it's relative, body padding-top pushes it below the navbar on live sites. */
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* Catalog menu should have high z-index but below navbar */
.zappy-catalog-menu,
#zappy-catalog-menu {
  z-index: 99998 !important;
  background: var(--nav-bg, var(--background, #fff)) !important;
}

/* Ensure content sections and their headers don't overlap navigation */
section header:not(.navbar),
header.lookbook-gallery-header,
.lookbook-gallery-header,
[class*="gallery"] header:not(.navbar),
[class*="section"] header:not(.navbar):not(.zappy-announcement-bar) {
  position: relative !important;
  z-index: 1 !important;
}

/* All content sections should be below navigation */
/* CRITICAL: Exclude .zappy-section-controls which uses position:absolute for editor toolbar positioning */
section:not(.navbar),
main,
.page-container,
/* IMPORTANT:
   Use "-section" block matching and exclude BEM elements (class*="__").
   This prevents breaking hero background wrappers like:
   - .home-hero-section__background
   which MUST remain position:absolute for full-bleed hero media.
   Also exclude divider-wrapper elements which MUST remain position:absolute
   at the bottom of their parent section for seamless section transitions. */
[class*="-section"]:not([class*="__"]):not([class*="divider-wrapper"]):not([class*="divider_wrapper"]):not(.navbar):not(.zappy-announcement-bar):not(.zappy-catalog-menu):not(.zappy-section-controls):not([class*="zappy-"]) {
  position: relative !important;
  z-index: 1 !important;
}

/* Mobile hamburger and search toggle protection */
.mobile-toggle,
#mobileToggle,
.nav-search-toggle {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 1001 !important;
}

/* Primary button styles */
.btn-primary {
  background: var(--accent, var(--primary));
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s;
}

.btn-primary:hover { filter: brightness(0.9); }

/* ─────────────────────────────────────────────────────────────────────────────
   THEME-AWARE ACCENT COLOR VISIBILITY FIXES
   ───────────────────────────────────────────────────────────────────────────── */

/* Product card Add to Cart button */
.product-card .add-to-cart {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* Product info Add to Cart button (product detail page) */
.product-info .add-to-cart-btn {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* Product detail Add to Cart button (some templates use #add-to-cart-btn + .add-to-cart) */
.product-actions #add-to-cart-btn,
.product-actions .add-to-cart,
.product-actions .add-to-cart-btn,
#add-to-cart-btn,
.add-to-cart-btn {
  background: var(--accent, var(--primary)) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  min-height: 44px !important;
  line-height: 1 !important;
}

.product-actions #add-to-cart-btn:hover,
.product-actions .add-to-cart:hover,
.product-actions .add-to-cart-btn:hover,
#add-to-cart-btn:hover,
.add-to-cart-btn:hover {
  filter: brightness(0.95) !important;
}

/* Variant option selected state */
.variant-option.selected {
  border-color: var(--accent, var(--primary)) !important;
  border-width: 2px !important;
}

.variant-option:hover {
  border-color: var(--accent, var(--primary)) !important;
}

/* Cart drawer checkout button */
.cart-drawer-checkout {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* Checkout button in cart page */
.checkout-btn {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* Coupon apply button */
.coupon-apply-btn {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* Quantity buttons */
.quantity-btn {
  border-color: var(--accent, var(--primary)) !important;
  color: var(--accent, var(--primary)) !important;
}

.quantity-btn:hover {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SUBMENU VISIBILITY FIXES (desktop only)
   ───────────────────────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  /* Navbar submenu - always uses solid bg-light background (not nav-bg which may be transparent) */
  .navbar .sub-menu,
  .navbar ul.sub-menu,
  nav.navbar .sub-menu {
    background: var(--bg-light, #fff) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    margin: 0 !important;
    padding-top: 12px !important;
    z-index: 100001 !important;
    overflow: visible !important;
  }
  .navbar .sub-menu li a,
  nav.navbar .sub-menu li a {
    color: var(--text-dark, #1a1a1a) !important;
  }
  .navbar .sub-menu li a:hover,
  nav.navbar .sub-menu li a:hover {
    background: rgba(128,128,128,0.1) !important;
    color: var(--nav-text-hover, var(--accent, var(--primary))) !important;
  }

  /* Bridge element to prevent submenu from disappearing on hover */
  .navbar .menu-item-has-children,
  nav.navbar .menu-item-has-children,
  .zappy-products-dropdown {
    position: relative !important;
    overflow: visible !important;
  }
  .navbar .menu-item-has-children::after,
  nav.navbar .menu-item-has-children::after,
  .zappy-products-dropdown::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 0 !important;
    right: 0 !important;
    height: 10px !important;
  }

  /* Catalog dropdown submenu */
  .zappy-products-dropdown .sub-menu {
    background: var(--bg-light, #fff) !important;
    margin: 0 !important;
    padding-top: 12px !important;
  }
  .zappy-products-dropdown .sub-menu a {
    color: var(--text-dark, #1a1a1a) !important;
  }
  .zappy-products-dropdown .sub-menu a:hover {
    background: rgba(128,128,128,0.1) !important;
    color: var(--nav-text-hover, var(--accent, var(--primary))) !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE NAV ICON FIXES
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  /* Phone CTA should not appear on e-commerce nav (mobile) */
  nav.navbar .phone-header-btn,
  .navbar .phone-header-btn {
    display: none !important;
  }

  /* Ensure ecommerce icons container stays horizontal */
  .navbar .nav-ecommerce-icons.nav-icons-left,
  .navbar .nav-icons-left,
  .nav-ecommerce-icons.nav-icons-left,
  .nav-icons-left {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* Force-hide desktop search box on mobile (some templates keep it visible) */
  nav.navbar .nav-search-box,
  .navbar .nav-search-box {
    display: none !important;
  }

  .cart-link,
  .nav-cart,
  .nav-search-toggle,
  .login-link,
  .nav-login {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: visible !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(128,128,128,0.2) !important;
    background: var(--bg-light, #fff) !important;
  }

  /* Icon color: always use text-dark on mobile since circles are always bg-light. */
  .cart-link.nav-cart,
  .login-link.nav-login,
  .nav-search-toggle {
    color: var(--text-dark, #1a1a1a) !important;
  }
  .cart-link.nav-cart svg,
  .login-link.nav-login svg,
  .nav-search-toggle svg {
    stroke: var(--text-dark, #1a1a1a) !important;
  }
  
  .cart-link svg,
  .nav-cart svg,
  .nav-search-toggle svg,
  .login-link svg,
  .nav-login svg,
  .cart-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    flex-shrink: 0 !important;
  }
  
  /* Cart count badge RTL positioning */
  html[dir='rtl'] .cart-count,
  [dir='rtl'] .cart-count {
    left: -6px !important;
    right: auto !important;
  }
  
  html:not([dir='rtl']) .cart-count {
    right: -6px !important;
    left: auto !important;
  }

  /* Ensure cart badge uses accent (some sites have --primary == bg) */
  .cart-count {
    background: var(--accent, #FF2DAA) !important;
    color: #fff !important;
  }

  /* Disable hover-triggered sub-menus on mobile — only toggle via click */
  .navbar .zappy-products-dropdown:hover > .sub-menu,
  .navbar .zappy-products-dropdown:focus-within > .sub-menu,
  .navbar .menu-item-has-children:hover > .sub-menu,
  .zappy-products-dropdown:hover > .sub-menu,
  .zappy-products-dropdown:focus-within > .sub-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: 0 !important;
  }
  /* Re-enable when explicitly expanded via toggle click */
  .navbar .zappy-products-dropdown .sub-menu.mobile-expanded,
  .navbar .zappy-products-dropdown > .sub-menu.mobile-expanded,
  .zappy-products-dropdown .sub-menu.mobile-expanded,
  .navbar .menu-item-has-children > .sub-menu.mobile-expanded {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  /* Mobile sub-menu: displayed inline inside dark nav panel, NOT as a floating dropdown.
     Override the desktop rules that force bg-light + text-dark on sub-menus. */
  .navbar .sub-menu,
  .navbar ul.sub-menu,
  nav.navbar .sub-menu,
  .zappy-products-dropdown .sub-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
    transition: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    z-index: auto !important;
  }
  .navbar .sub-menu li a,
  nav.navbar .sub-menu li a,
  .zappy-products-dropdown .sub-menu a {
    color: inherit;
    padding: 10px 16px !important;
    border-radius: 0 !important;
    white-space: normal !important;
  }
  .navbar .sub-menu li a:hover,
  nav.navbar .sub-menu li a:hover,
  .zappy-products-dropdown .sub-menu a:hover {
    background: transparent !important;
    color: inherit;
  }

  /* Mobile submenu toggle arrow: flex child that stretches to match the nav-link height
     via align-self:stretch, so the arrow centers automatically via align-items:center. */
  .navbar .nav-menu .mobile-submenu-toggle,
  .navbar .mobile-submenu-toggle,
  .mobile-submenu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: auto !important;
    position: static !important;
    flex-shrink: 0 !important;
    align-self: stretch !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 2 !important;
    color: inherit;
  }
  .mobile-submenu-toggle::after {
    content: '' !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-top: 7px solid currentColor !important;
    transition: transform 0.3s ease !important;
  }
  .mobile-submenu-toggle.expanded::after {
    transform: rotate(180deg) !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   HOMEPAGE: FEATURED SECTIONS (PRODUCTS + CATEGORIES)
   These used to be styled by V1 base CSS; must live in V2 generateCss()
   Background uses hero-divider-aware theme: var(--bg-light) (LIGHT)
   ───────────────────────────────────────────────────────────────────────────── */

/* Featured Products Section (Home Page) */
.featured-products-section {
  padding: 60px 24px !important;
  background: var(--bg-light) !important;
}

.featured-products-section .section-title {
  text-align: center !important;
  font-size: 2rem !important;
  margin-bottom: 40px !important;
  color: var(--text-dark) !important;
}

.featured-grid {
  max-width: 1440px !important;
  margin: 0 auto !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 320px)) !important;
  justify-content: center !important;
}

.view-all-products {
  text-align: center !important;
  margin-top: 40px !important;
}

.view-all-products .btn {
  display: inline-block !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: filter 0.3s ease !important;
}

.view-all-products .btn-primary,
.btn.btn-primary {
  background: var(--accent, var(--primary)) !important;
  color: #fff !important;
  border: none !important;
}

.view-all-products .btn-primary:hover,
.btn.btn-primary:hover {
  filter: brightness(0.9) !important;
}

.no-featured-products {
  text-align: center !important;
  padding: 40px 20px !important;
  color: rgba(0,0,0,0.6) !important;
  font-size: 1rem !important;
  background: var(--bg-light, #fff) !important;
  border-radius: 12px !important;
  margin: 0 auto !important;
  max-width: 600px !important;
  grid-column: 1 / -1 !important;
}

/* Featured Categories Section (Home Page) */
.featured-categories-section {
  padding: 60px 24px !important;
  background: var(--bg-light) !important;
}

.featured-categories-section .section-title {
  text-align: center !important;
  font-size: 2rem !important;
  margin-bottom: 40px !important;
  color: var(--text-dark) !important;
}

.category-blocks {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
}

.category-block {
  position: relative !important;
  height: 200px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: block !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.category-block:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.category-block-bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: filter 0.3s ease, transform 0.3s ease !important;
}

.category-block:hover .category-block-bg {
  transform: scale(1.05) !important;
}

.category-block-overlay {
  position: absolute !important;
  inset: 0 !important;
  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%) !important;
}

.category-block-content {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 24px !important;
}

.category-block-name {
  color: #fff !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
  text-align: center !important;
}

@media (max-width: 768px) {
  .category-blocks {
    grid-template-columns: 1fr !important;
  }
  .category-block {
    height: 160px !important;
  }
  .category-block-name {
    font-size: 1.25rem !important;
  }
}

.loading-categories {
  text-align: center !important;
  padding: 40px 20px !important;
  color: rgba(0,0,0,0.6) !important;
  font-size: 1rem !important;
}

/* Shipping Methods - V2 theme */
#shipping-methods { 
  display: flex !important; 
  flex-direction: column !important; 
  gap: 37px !important; 
}

.shipping-method-block {
  display: flex !important;
  flex-direction: column !important;
}

.shipping-option { 
  display: flex !important; 
  align-items: flex-start !important; 
  gap: 24px !important; 
  padding: 0 !important; 
  border: none !important; 
  border-radius: 0 !important; 
  cursor: pointer !important; 
  transition: none !important; 
  background: transparent !important; 
}

.shipping-option:hover { 
  background: transparent !important; 
}

.shipping-option.selected { 
  background: transparent !important; 
}

.shipping-option input[type="radio"] { 
  width: 20px !important; 
  height: 20px !important; 
  margin-top: 7px !important; 
  accent-color: var(--accent) !important; 
  cursor: pointer !important; 
  flex-shrink: 0 !important;
}

.shipping-info { 
  flex: 1 !important;
  min-width: 0 !important;
}

.shipping-name-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.shipping-name { 
  font-weight: 600 !important; 
  color: var(--text-dark) !important; 
  font-size: 20px !important; 
}

.shipping-icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  color: var(--text-dark) !important;
}

.shipping-option.selected .shipping-icon {
  color: var(--text-dark) !important;
}

.shipping-desc { 
  color: rgba(0,0,0,0.6) !important; 
  font-size: 16px !important; 
  margin-top: 8px !important;
  line-height: 1.4 !important;
}

.shipping-address { 
  color: var(--accent) !important; 
  font-size: 14px !important; 
  margin-top: 6px !important; 
  font-weight: 500 !important; 
}

.shipping-option.selected .shipping-address { 
  color: var(--text-dark) !important; 
}

.shipping-free-note { 
  color: #10b981 !important; 
  font-size: 14px !important; 
  margin-top: 4px !important; 
  font-weight: 500 !important; 
}

.shipping-price { 
  font-weight: 600 !important; 
  font-size: 20px !important; 
  color: var(--text-dark) !important; 
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.shipping-price.free { 
  color: #10b981 !important; 
}

.no-shipping, #shipping-methods .error { 
  text-align: center !important; 
  padding: 20px !important; 
  color: rgba(0,0,0,0.6) !important; 
  background: var(--bg-light, #fff) !important; 
  border-radius: 8px !important;
}

/* Checkout form rows and selects - V2 */
.checkout-form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

@media (max-width: 480px) { .checkout-form-row { grid-template-columns: 1fr !important; } }

.input-full { width: 100% !important; }

.checkout-select-wrapper { position: relative !important; }

.checkout-select {
  width: 100% !important;
  padding: 12px 40px 12px 16px !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 8px !important;
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
  font-size: 16px !important;
  font-family: inherit !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  box-shadow: 0px 1px 2px rgba(16,24,40,0.05) !important;
}

.checkout-select:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 200, 107, 125), 0.2) !important;
}

.checkout-select-chevron {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  color: rgba(0,0,0,0.4) !important; 
}

/* Payment Methods - V2 theme */
#payment-container { 
  display: flex !important; 
  flex-direction: column !important; 
  gap: 37px !important; 
}

.payment-option { 
  display: flex !important; 
  align-items: center !important; 
  gap: 24px !important; 
  padding: 0 !important; 
  border: none !important; 
  border-radius: 0 !important; 
  cursor: pointer !important; 
  transition: none !important; 
  background: transparent !important; 
}

.payment-option:hover { 
  background: transparent !important; 
}

.payment-option.selected { 
  background: transparent !important; 
}

.payment-option input[type="radio"] { 
  width: 20px !important; 
  height: 20px !important; 
  accent-color: var(--accent) !important; 
  cursor: pointer !important; 
  flex-shrink: 0 !important;
}

.payment-name { 
  font-weight: 600 !important; 
  color: var(--text-dark) !important; 
  font-size: 20px !important; 
  flex: 1 !important;
}

.payment-icon { 
  color: var(--text-dark) !important; 
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.payment-icon svg { 
  display: block !important;
  width: auto !important;
  height: auto !important;
}

.payment-icon img {
  height: 24px !important;
  width: auto !important;
}

.payment-not-configured { 
  display: flex !important; 
  align-items: center !important; 
  gap: 12px !important; 
  padding: 20px !important; 
  background: var(--bg-light, #fff) !important; 
  border-radius: 8px !important; 
  color: rgba(0,0,0,0.6) !important; 
  font-size: 14px !important; 
}

.payment-not-configured svg { 
  flex-shrink: 0 !important; 
}

#payment-container .error { 
  text-align: center !important; 
  padding: 20px !important; 
  color: rgba(0,0,0,0.6) !important; 
  background: var(--bg-light, #fff) !important; 
  border-radius: 8px !important; 
}

/* Product Specifications - V2 theme */
.product-specifications { 
  margin: 24px 0 !important; 
  padding: 20px !important; 
  background: var(--bg-light, #fff) !important; 
  border-radius: 12px !important; 
  border: 1px solid var(--border-light) !important;
}

.product-specifications h3 { 
  font-size: 1.1rem !important; 
  font-weight: 600 !important; 
  margin: 0 0 16px 0 !important; 
  color: var(--text-dark) !important; 
}

.specs-table { 
  width: 100% !important; 
  border-collapse: collapse !important; 
}

.specs-table tr:not(:last-child) { 
  border-bottom: 1px solid var(--border-light) !important; 
}

.specs-table th, .specs-table td { 
  padding: 12px 0 !important; 
  text-align: start !important; 
  vertical-align: top !important; 
}

.specs-table th { 
  font-weight: 500 !important; 
  color: rgba(0,0,0,0.6) !important; 
  width: 40% !important; 
  padding-left: 16px !important; 
}

.specs-table td { 
  font-weight: 500 !important; 
  color: var(--text-dark) !important; 
}

@media (max-width: 480px) { 
  .specs-table th, .specs-table td { 
    display: block !important; 
    width: 100% !important; 
    padding: 6px 0 !important; 
  } 
  .specs-table th { padding-bottom: 2px !important; } 
  .specs-table td { padding-bottom: 12px !important; } 
}

/* Breadcrumb navigation - V2 theme */
.product-breadcrumb { 
  display: flex !important; 
  align-items: center !important; 
  gap: 8px !important; 
  margin-bottom: 16px !important; 
  font-size: 14px !important; 
  color: rgba(0,0,0,0.5) !important; 
}

.product-breadcrumb a { 
  color: rgba(0,0,0,0.6) !important; 
  text-decoration: none !important; 
}

.product-breadcrumb a:hover { 
  color: var(--text-dark) !important; 
  text-decoration: underline !important; 
}

.product-breadcrumb .breadcrumb-separator { 
  color: rgba(0,0,0,0.3) !important; 
}

.product-breadcrumb .breadcrumb-current { 
  color: var(--text-dark) !important; 
  font-weight: 500 !important; 
}

/* Related products section - V2 theme */
.related-products-section { 
  padding: 40px 0 !important; 
  border-top: 1px solid var(--border-light) !important; 
  margin-top: 40px !important; 
}

.related-products-section h2 { 
  text-align: center !important; 
  margin-bottom: 24px !important; 
  font-size: 1.5rem !important; 
  color: var(--text-dark) !important; 
}

/* Category page - V2 theme */
.category-page-section { 
  padding: 20px 0 !important; 
}

.category-header { 
  margin-bottom: 32px !important; 
}

.category-banner { 
  width: 100% !important; 
  height: 200px !important; 
  background-size: cover !important; 
  background-position: center !important; 
  border-radius: 12px !important; 
  margin-bottom: 24px !important; 
}

.category-info h1 { 
  font-size: 2rem !important; 
  color: var(--text-dark) !important; 
  margin: 0 0 12px 0 !important; 
}

.category-description { 
  color: rgba(0,0,0,0.6) !important; 
  font-size: 1rem !important; 
  line-height: 1.6 !important; 
  margin: 0 !important; 
}

.subcategory-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-top: 24px !important;
  justify-content: center !important;
}

.subcategory-card {
  position: relative !important;
  width: 140px !important;
  height: 90px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  flex-shrink: 0 !important;
  border: 2px solid transparent !important;
}

.subcategory-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

.subcategory-card.active {
  border-color: var(--accent) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

.subcategory-card-bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.3s ease !important;
}

.subcategory-card-bg-empty {
  background: linear-gradient(135deg, var(--accent), #6366f1) !important;
}

.subcategory-card:hover .subcategory-card-bg {
  transform: scale(1.08) !important;
}

.subcategory-card-overlay {
  position: absolute !important;
  inset: 0 !important;
  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%) !important;
}

.subcategory-card-name {
  position: relative !important;
  z-index: 1 !important;
  color: #fff !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
  padding: 8px 10px !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

@media (max-width: 640px) {
  .subcategory-card { width: 110px !important; height: 75px !important; }
  .subcategory-card-name { font-size: 0.78rem !important; }
}

.no-products { 
  text-align: center !important; 
  padding: 40px 20px !important; 
  color: rgba(0,0,0,0.6) !important; 
}

/* Catalog mode - inquiry/contact buttons - V2 theme */
.product-actions.catalog-mode { 
  flex-direction: row !important; 
  gap: 12px !important; 
  max-width: 600px !important; 
  margin: 0 auto !important; 
  width: 100% !important; 
}

.product-actions.catalog-mode .btn { 
  display: flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  gap: 8px !important; 
  padding: 14px 24px !important; 
  border-radius: 8px !important; 
  font-size: 16px !important; 
  font-weight: 600 !important; 
  text-decoration: none !important; 
  cursor: pointer !important; 
  transition: all 0.2s ease !important; 
  flex: 1 !important; 
  border: none !important; 
}

/* ==END ZAPPY V2 E-COMMERCE THEME CSS== */

/* ==ZAPPY V2 E-COMMERCE THEME CSS== */
/* ═══════════════════════════════════════════════════════════════════════════ */
/* V2 E-COMMERCE CSS - Clean V2 Variables Only                                  */
/* Theme: LIGHT (detected from hero section)             */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Prevent white “side margins” on wide screens:
   The e-commerce container is max-width 1440px; the outer background is the body/html background.
   Scope to e-commerce sites only (data-zappy-site-type is set by ecommerce JS). */
html[data-zappy-site-type="ecommerce"],
body[data-zappy-site-type="ecommerce"] {
  background: var(--bg-light) !important;
  background-color: var(--bg-light) !important;
}

/* Base page styling - matches hero section theme */
.ecommerce-page {
  padding: 60px 24px;
  padding-top: 24px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 60vh;
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

main.page-container,
main.page-container.ecommerce-page,
.page-container.ecommerce-page {
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

/* Section backgrounds */
.products-section,
.cart-section,
.checkout-section,
.login-section,
.account-section,
.order-success-section,
.product-detail-section,
.category-page-section {
  padding: 20px 0;
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

/* Section headings */
.products-section h1,
.cart-section h1,
.checkout-section h1,
.login-section h1,
.account-section h1,
.product-detail-section h1,
.category-page-section h1 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 2rem;
  color: var(--text-dark) !important;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* Product cards - V2 themed (full-bleed media + overlay favorite) */
.product-card {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: var(--bg-light, #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(--accent);
}

.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; }

/* Remove Chrome default near-black focus box on links; keep keyboard ring only (:focus-visible). */
.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(--accent, 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(--accent, var(--primary-color, var(--primary, #ff0083)));
  outline-offset: 2px;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

.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; }

.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: #eceff3;
  color: var(--text-muted);
  font-size: 40px;
  border-radius: 0;
}

/* !important beats later .product-tags { … !important } in this file (V2 catalog section) */
.product-card-media .product-tags {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  z-index: 2;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  max-width: calc(100% - 52px) !important;
  pointer-events: none;
}

[dir="rtl"] .product-card-media .product-tags {
  right: 8px !important;
  left: auto !important;
}

.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, #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;
  color: inherit;
  line-height: 1.3 !important;
  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-muted);
  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-muted);
  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-muted);
  margin-bottom: 4px;
}

/* Block flow avoids flex anonymous boxes splitting RTL “החל מ” from LTR price */
.product-card .price {
  font-weight: 700;
  color: var(--accent);
  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-muted);
  text-decoration: line-through;
  margin-inline-start: 8px !important;
  display: inline-block;
  font-weight: 400;
  vertical-align: baseline;
}

.product-card .add-to-cart {
  width: 100%;
  margin-top: 0;
  padding: 10px;
  background: var(--accent, var(--primary));
  color: #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);
  box-sizing: border-box;
}

/* Product card layout variants */
.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; }

.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; }

.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; }

.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 tags (sale, new, featured badges) */
.product-tag { display: inline-block; padding: 4px 10px; font-size: 11px; font-weight: 600; border-radius: 4px; background: var(--accent, var(--primary)); color: #fff; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 4px rgba(0,0,0,0.15); pointer-events: auto; }

.product-tag.tag-sale { background: #ef4444; }

.product-tag.tag-new { background: #22c55e; }

.product-tag.tag-featured { background: #f59e0b; }

/* Filter buttons - V2 themed */
.product-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: var(--bg-light, #fff);
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

/* 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-light); margin-bottom: 8px; }

.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 12px; }

.products-count { font-size: 13px; color: var(--text-dark); opacity: 0.7; }

.sidebar-toggle-btn { display: none; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--border-light); border-radius: 8px; background: var(--bg-light, #fff); cursor: pointer; color: var(--text-dark); font-size: 13px; transition: border-color 0.2s; }

.sidebar-toggle-btn:hover { border-color: var(--accent); }

/* Sort dropdown */
.sort-control select { padding: 7px 28px 7px 12px; border: 1px solid var(--border-light); border-radius: 8px; background: var(--bg-light, #fff); color: var(--text-dark); 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(--accent); box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 200,107,125), 0.15); }

/* View toggle */
.view-toggle { display: flex; border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; }

.view-btn { padding: 6px 10px; background: var(--bg-light, #fff); border: none; cursor: pointer; color: var(--text-dark); opacity: 0.6; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }

.view-btn:not(:last-child) { border-right: 1px solid var(--border-light); }

[dir="rtl"] .view-btn:not(:last-child) { border-right: none; border-left: 1px solid var(--border-light); }

.view-btn.active { background: var(--accent); color: #fff; opacity: 1; }

.view-btn:hover:not(.active) { background: rgba(0,0,0,0.05); }

.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-dark); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border-light); }

.product-sidebar .sidebar-item { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: 13px; color: var(--text-dark); transition: color 0.15s; overflow: visible; }

.product-sidebar .sidebar-item:hover { color: var(--accent); }

.product-sidebar .sidebar-item input[type="checkbox"] { accent-color: var(--accent); 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-dark); opacity: 0.5; }

.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-light); border-radius: 6px; font-size: 13px; background: var(--bg-light, #fff); color: var(--text-dark); }

.product-sidebar .price-range-inputs input:focus { outline: none; border-color: var(--accent); }

.product-sidebar .price-filter-btn { margin-top: 8px; padding: 6px 16px; background: var(--accent); color: #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-light); 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-dark); }

.product-sidebar .sidebar-clear-btn { background: none; border: 1px solid var(--border-light); border-radius: 6px; padding: 4px 10px; font-size: 11px; color: var(--text-dark); opacity: 0.6; cursor: pointer; transition: all 0.2s; }

.product-sidebar .sidebar-clear-btn:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }

.product-sidebar .sidebar-item input[type="radio"] { accent-color: var(--accent); 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 !important;
  left: 6px !important;
  right: auto !important;
  max-width: calc(100% - 52px) !important;
}

[dir="rtl"] .product-grid.view-list .product-card .product-tags {
  right: 6px !important;
  left: auto !important;
}

.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(--bg-light); 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: rgba(0,0,0,0.05); border-radius: 50%; cursor: pointer; color: var(--text-dark); font-size: 20px; line-height: 1; flex-shrink: 0; }
  .product-sidebar .sidebar-mobile-close:hover { background: var(--border-light); }
  .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 */
.cart-items { min-height: 200px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-summary {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-light, #fff);
  border-radius: 12px;
}

.cart-total {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.checkout-btn {
  display: block;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  background: var(--accent, var(--primary));
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: filter 0.2s;
}

.checkout-btn:hover { filter: brightness(0.9); }

/* Checkout */
.checkout-section h1 { color: var(--text-dark); }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 730px) 380px;
  gap: 32px;
  align-items: start;
  justify-content: center;
  max-width: 1160px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .checkout-layout { grid-template-columns: 1fr 340px; gap: 24px; }
}

@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr; max-width: 100%; }
}

/* ── Accordion Panels ── */
.checkout-accordion { display: flex; flex-direction: column; gap: 16px; }

.checkout-accordion-panel {
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.checkout-accordion-panel.completed {
  border-left: 3px solid var(--accent);
}

[dir="rtl"] .checkout-accordion-panel.completed {
  border-left: none;
  border-right: 3px solid var(--accent);
}

.checkout-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.checkout-accordion-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout-accordion-icon {
  flex-shrink: 0;
  color: var(--text-dark);
}

.checkout-accordion-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
}

.checkout-items-count {
  font-weight: 400;
  font-size: 18px;
  color: var(--text-muted);
}

.checkout-accordion-chevron {
  flex-shrink: 0;
  color: var(--text-dark);
  stroke: var(--text-dark);
  transition: transform 0.3s ease;
}

.checkout-accordion-panel.expanded .checkout-accordion-chevron {
  transform: rotate(180deg);
}

/* Accordion body - hidden by default */
.checkout-accordion-body {
  display: none;
  padding: 0 24px 24px;
}

.checkout-accordion-panel.expanded .checkout-accordion-body {
  display: block;
}

/* Thumbnail strip (items, visible when collapsed) */
.checkout-accordion-thumbs {
  display: flex;
  gap: 8px;
  padding: 0 24px 16px;
  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;
  color: var(--text-dark);
  flex-shrink: 0;
}

/* ── Form Fields ── */
.checkout-field-label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.checkout-form-fields { display: flex; flex-direction: column; gap: 37px; margin-top: 37px; }

.checkout-form-fields .input-wrapper { margin-bottom: 0; }

.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%;
  padding: 14px 16px;
  border: 1px solid #f5f5f5;
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  font-size: 16px;
  box-shadow: 0px 1px 2px rgba(16,24,40,0.05);
  box-sizing: border-box;
}

[dir="rtl"] .checkout-accordion-panel input { text-align: right; }

[dir="rtl"] .checkout-accordion-panel input::placeholder { text-align: right; }

.checkout-accordion-panel input:focus,
.checkout-accordion-panel select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 200,107,125), 0.08);
}

.checkout-accordion-panel input::placeholder {
  color: rgba(0,0,0,0.35);
}

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

.terms-checkbox-wrapper {
  margin: 16px 0 !important;
  padding: 12px !important;
  background: rgba(0,0,0,0.02) !important;
  border-radius: 8px !important;
}

.terms-checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
}

.terms-link {
  color: var(--accent) !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}

.terms-link:hover {
  opacity: 0.8 !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: rgba(0,0,0,0.6) !important;
}

/* Checkout login prompt */
/* NOTE: Do NOT set display here - inline JS controls visibility via display:none/flex */
.checkout-login-prompt {
  align-items: center !important;
  gap: 4px !important;
  font-size: 16px !important;
  color: var(--text-dark) !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
}

.checkout-login-link {
  color: #0088ff !important;
  font-weight: 400 !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, 200, 107, 125), 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;
}

/* Next button */
.checkout-next-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.checkout-next-btn {
  min-width: 140px;
  height: 48px;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

/* ── Checkout Cart Items (Items accordion) ── */
.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;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.checkout-item-variant {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  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;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-qty-btn:hover {
  background: rgba(0,0,0,0.05);
}

.checkout-qty-value {
  min-width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.checkout-item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.checkout-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s;
}

.checkout-item-remove:hover {
  color: #dc2626;
}

/* ── Order Details Sidebar ── */
.checkout-order-details {
  padding: 24px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  top: 24px;
}

.checkout-order-details-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  margin-bottom: 0 !important;
}

.checkout-order-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 16px 0;
}

.order-summary.checkout-order-details {
  border: 1px solid rgba(0,0,0,0.06) !important;
}

.checkout-order-details .order-totals {
  border-top: none;
  margin-top: 0;
  padding-top: 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;
  color: var(--text-dark);
}

.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;
  font-weight: 600;
}

.checkout-order-details .order-totals-row.vat-row {
  font-size: 13px;
  color: var(--text-muted);
}

.checkout-order-details .order-totals-row.vat-row span:last-child {
  font-weight: 400;
}

.checkout-order-details .discount-value {
  color: var(--accent) !important;
}

.checkout-order-details .order-totals-row.total {
  font-size: 18px;
  font-weight: 600;
  margin-top: 4px;
}

.checkout-order-details .order-totals-row.total span:last-child {
  font-weight: 700;
  color: var(--accent);
}

/* Place Order button */
.checkout-place-order-btn {
  width: 100%;
  height: 48px;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-top: 16px;
}

.checkout-place-order-btn:disabled,
.btn.btn-primary.checkout-place-order-btn:disabled {
  background: #8c8c8c !important;
  color: #fff !important;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Validation error overrides (prevent theme color inheritance) */
.field-error {
  color: #dc2626 !important;
  font-size: 12px !important;
}

.field-error.visible {
  display: block !important;
}

.checkout-accordion-body .input-wrapper input.input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1) !important;
}

/* ── Order Success / Thank You Card ── */
.order-success-card {
  max-width: 677px;
  margin: 0 auto;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 18px 80px 40px;
  text-align: left;
}

[dir="rtl"] .order-success-card { text-align: right; }

.order-success-card .order-success-icon {
  margin-bottom: 24px;
}

.order-success-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #4a4a4a !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
}

.order-number-inline {
  font-weight: 700;
}

.order-success-email {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #4a4a4a !important;
  margin-bottom: 0 !important;
  line-height: 1.3;
}

.order-success-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 28px 0;
}

.order-success-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.order-success-detail-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-success-detail-label {
  font-size: 16px;
  font-weight: 600;
  color: #4a4a4a;
}

.order-success-detail-value {
  font-size: 15px;
  font-weight: 400;
  color: #6b7280;
}

.continue-home-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* Hide old order success elements in V2 */
.order-success-card .order-number-box,
.order-success-card .order-confirmation-message {
  display: none !important;
}

/* Legacy checkout-step still used inside accordion body context */
.checkout-step {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
}

.checkout-step h2 {
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--text-dark);
}

.order-summary {
  padding: 24px;
  background: #fafafa;
  border-radius: 12px;
  height: fit-content;
  position: sticky;
  top: 24px;
  border: 1px solid var(--border-light);
}

.order-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.order-totals > div {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  color: var(--text-dark);
}

.order-totals .vat-row {
  font-size: 13px;
  color: var(--text-muted);
}

.order-totals .total {
  font-size: 20px;
  font-weight: 700;
  margin-top: 12px;
  color: var(--accent);
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-dark);
}

/* Responsive checkout accordion */
@media (max-width: 768px) {
  .checkout-accordion-header { padding: 20px 20px; }
  .checkout-accordion-body { padding: 0 20px 20px; }
  .checkout-accordion-thumbs { padding: 0 20px 16px; }
  .checkout-accordion-title { font-size: 18px; }
  .checkout-accordion-icon { width: 24px; height: 24px; }
  .checkout-order-details { padding: 20px; }
  .checkout-cart-item { gap: 12px; }
  .checkout-item-thumb, .checkout-item-thumb-empty { width: 72px; height: 72px; border-radius: 8px; }
  .checkout-item-name { font-size: 15px; }
  .checkout-item-price { font-size: 15px; }
  .order-success-card { padding: 18px 24px 32px; }
  .order-success-title { font-size: 22px !important; }
  .order-success-email { font-size: 18px !important; }
  .order-success-detail-label { font-size: 15px; }
  .order-success-detail-value { font-size: 14px; }
  .order-success-details { gap: 20px; }
}

/* Login */
.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-light);
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
}

.login-form input:focus,
.otp-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.empty-cart {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

/* 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-muted); stroke: var(--text-muted); }

.account-not-logged-in h1 { font-size: 1.75rem; color: var(--text-dark); margin-bottom: 12px; }

.account-not-logged-in p { color: var(--text-muted); margin-bottom: 24px; }

.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-dark); margin: 0; }

.account-info { display: flex; align-items: center; gap: 16px; }

.account-welcome { color: var(--text-muted); margin: 0; }

.account-welcome span { font-weight: 600; color: var(--text-dark); }

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

.btn-secondary {
  background: var(--bg-light, #fff);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover { background: rgba(0,0,0,0.05); }

/* Orders */
.orders-section h2 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 20px; }

.orders-loading { text-align: center; padding: 40px; color: var(--text-muted); }

.orders-empty {
  text-align: center;
  padding: 40px;
  background: var(--bg-light, #fff);
  border-radius: 12px;
}

.orders-empty p { color: var(--text-muted); margin-bottom: 20px; }

.orders-list { display: flex; flex-direction: column; gap: 16px; }

.order-card {
  background: var(--bg-light, #fff);
  border: 1px solid var(--border-light);
  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-dark); }

.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-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.order-info-row:last-child { border-bottom: none; }

.order-label { color: var(--text-muted); font-size: 0.875rem; }

.order-value { font-weight: 500; color: var(--text-dark); }

.order-items-summary {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-muted);
}

@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 {
  background: var(--bg-light, #fff);
  border: 1px solid var(--border-light);
  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-dark); margin: 0; }

.btn-text {
  background: none;
  border: none;
  color: var(--accent);
  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 #f3f4f6;
}

.profile-field:last-child { border-bottom: none; }

.profile-label { color: var(--text-muted); min-width: 80px; font-size: 0.875rem; }

.profile-value { color: var(--text-dark); 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-muted); font-weight: 500; }

.profile-form .form-group input {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: var(--text-dark);
}

.profile-form .form-group input:focus { outline: none; border-color: var(--accent); }

.form-actions { display: flex; gap: 12px; margin-top: 8px; }

/* Addresses section */
.addresses-section {
  background: var(--bg-light, #fff);
  border: 1px solid var(--border-light);
  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-muted); }

.address-card {
  background: #f9fafb;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
  position: relative;
}

.address-card.default { border-color: var(--accent); 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-dark); font-size: 0.875rem; text-transform: capitalize; }

.address-default-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
}

.address-card-body { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

.address-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.btn-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
}

.btn-icon:hover { color: var(--accent); }

.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(--bg-light);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-light);
}

.address-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.address-modal-header h3 { margin: 0; font-size: 1.25rem; color: var(--text-dark); }

.address-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.address-modal-close:hover { color: var(--text-dark); }

.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-muted); font-weight: 500; }

.address-modal-body .form-group input,
.address-modal-body .form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: var(--text-dark);
}

.address-modal-body .form-group input:focus,
.address-modal-body .form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.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(--accent); }

.address-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  justify-content: flex-end;
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: var(--text-light);
  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; color: #fff; }

.toast.error { background: #dc2626; color: #fff; }

@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: 20px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-success-container { max-width: 600px; margin: 0 auto; text-align: center; }

.order-success-icon { margin-bottom: 24px; }

.order-success-icon svg { color: #10b981; stroke: #10b981; }

.order-success-section h1 { font-size: 2.5rem; color: var(--text-dark); margin-bottom: 8px; }

.order-success-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 32px; }

.order-number-box {
  background: linear-gradient(135deg, var(--accent, var(--secondary)) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 24px 40px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.order-number-label { font-size: 0.875rem; opacity: 0.9; margin-bottom: 8px; }

.order-number-value { font-size: 1.75rem; font-weight: 700; letter-spacing: 1px; }

.order-confirmation-message {
  background: var(--bg-light, #fff);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.order-confirmation-message p { margin: 8px 0; color: var(--text-dark); }

.order-details-section {
  text-align: right;
  background: var(--bg-light, #fff);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.order-details-section h2 { font-size: 1.125rem; margin-bottom: 16px; color: var(--text-dark); }

.order-items-list { margin-bottom: 16px; }

.order-success-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.order-success-item:last-child { border-bottom: none; }

.order-totals-summary {
  padding-top: 16px;
  border-top: 2px solid var(--accent);
}

.order-totals-summary > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--text-dark);
}

.order-totals-summary .order-total-final { font-size: 1.25rem; font-weight: 700; color: var(--accent); }

.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-muted); }

/* 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-light);
  border-top-color: var(--accent);
  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: 8%;
}

@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: cover;
  border-radius: 4px;
  background: var(--bg-light, #fff);
}

.product-gallery-thumbs { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; justify-content: flex-start; }

.product-gallery-thumb {
  width: 166px;
  height: 166px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

@media (max-width: 768px) {
  .product-gallery-thumb { width: 80px; height: 80px; }
  .product-gallery-thumbs { gap: 12px; margin-top: 12px; }
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active { border-color: var(--accent); }

.product-video-thumb { width: 166px; height: 166px; border-radius: 4px; border: 2px solid transparent; overflow: hidden; flex-shrink: 0; background: #1a1a2e; }

@media (max-width: 768px) { .product-video-thumb { width: 80px; height: 80px; } }

.product-video-thumb:hover { border-color: var(--accent); }

.product-info { display: flex; flex-direction: column; gap: 16px; }

.product-info .product-variants { margin-top: 0; }

.product-info .product-add-row { margin-top: 20px; }

.product-info .product-details-accordion { margin-top: 16px; }

.product-info h1 { font-size: 2rem; color: var(--text-dark); margin: 0; line-height: 1.2; }

.product-info .product-price { font-size: 22px; font-weight: 700; color: var(--accent); }

.product-info .product-price .original-price {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-inline-start: 9px;
}

.product-info .product-short-description { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; margin: 4px 0 8px; }

.product-info .product-sku { font-size: 0.875rem; color: var(--text-muted); }

.product-info .product-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-light, #fff);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.product-info .product-stock { display: flex; align-items: center; gap: 8px; font-weight: 500; }

.product-info .product-stock.in-stock { color: #10b981; }

.product-info .product-stock.out-of-stock { color: #ef4444; }

.product-info .product-stock.low-stock { color: #f59e0b; }

.product-stock svg {
  /* Some themes apply global svg { max-width:100%; height:auto; } which can blow this up.
     Clamp explicitly to icon size. */
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
}

.product-info .product-description { color: var(--text-dark); opacity: 0.75; line-height: 1.6; }

.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 add row - quantity + add to cart side by side */
.product-add-row {
  display: flex;
  align-items: center;
  gap: 10px;
  position: static;
}

@media (max-width: 480px) {
  .product-add-row { flex-direction: column; align-items: stretch; }
}

.product-info .product-actions { display: flex; gap: 16px; flex-wrap: wrap; flex: 1; position: static; }

.product-info .product-quantity { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  gap: 8px; 
  width: max-content; 
}

.product-info .product-quantity > label { display: none; }

.product-info .quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.product-info .quantity-selector button {
  width: 48px;
  height: 48px;
  border: none;
  background: var(--bg-light, #fff);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.product-info .quantity-selector button:hover { background: rgba(0,0,0,0.05); }

.product-info .quantity-selector input {
  width: 50px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  text-align: center;
  font-size: 1rem;
  background: transparent;
  color: var(--text-dark);
  padding: 0;
  -moz-appearance: textfield;
}

.product-info .quantity-selector input::-webkit-inner-spin-button,
.product-info .quantity-selector input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-info .add-to-cart-btn,
.product-info .add-to-cart {
  flex: 1;
  min-width: 200px;
  height: 48px;
  padding: 0 28px;
  background: var(--accent, var(--primary));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s;
}

.product-info .add-to-cart-btn:hover,
.product-info .add-to-cart:hover { filter: brightness(0.9); }

.product-info .add-to-cart-btn:disabled,
.product-info .add-to-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Product details accordion */
.product-details-accordion { width: 100%; }

.product-details-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
}

.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-dark);
}

.product-details-header:hover { opacity: 0.8; }

.product-details-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-dark);
  transition: transform 0.2s;
}

.product-details-body {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.product-details-accordion.collapsed .product-details-body {
  max-height: 0 !important;
  opacity: 0;
  overflow: hidden;
}

.related-products-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.related-products-section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}

/* 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.
   The Star Shoes site (and other branded V2 sites) cascade an accent color
   onto descendant links/text inside .product-info, which made the upsell
   product names render in the brand accent (e.g. yellow) instead of body
   text. The selectors below are scoped to .product-upsells and explicitly
   set color: var(--text-dark) so theme accents do NOT bleed into upsell rows.
   List bullets are also suppressed since the rows render their own checkbox. */
.product-upsells {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 16px 0;
}

.product-upsells .upsells-header { margin: 0 0 8px; }

.product-upsells .upsells-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-upsells .upsells-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.product-upsells .upsell-row {
  list-style: none !important;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
  outline: none;
}

.product-upsells .upsell-row::marker { content: '' !important; }

.product-upsells .upsell-row::before { content: none !important; }

.product-upsells .upsell-row:first-child { border-top: none; }

.product-upsells .upsell-row:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent, var(--primary));
  border-radius: 4px;
}

.product-upsells .upsell-row.is-out-of-stock {
  cursor: not-allowed;
  opacity: 0.55;
}

.product-upsells .upsell-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent, var(--primary));
  margin: 0;
}

.product-upsells .upsell-row.is-out-of-stock .upsell-checkbox { cursor: not-allowed; }

.product-upsells .upsell-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.product-upsells .upsell-name {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.3;
  word-break: break-word;
  max-width: 100%;
}

.product-upsells .upsell-name:hover {
  color: var(--accent, var(--primary));
  text-decoration: underline;
}

.product-upsells .upsell-stock-badge {
  display: inline-block;
  font-size: 0.7rem;
  color: #b91c1c;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-upsells .upsell-price {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.product-upsells .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;
}

.product-upsells .upsells-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.product-upsells .upsells-total-amount {
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 700;
}

.product-upsells .upsells-total-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .product-upsells .upsell-row { gap: 8px; }
}

/* Category page */
.category-header { margin-bottom: 32px; }

.category-header-loading { text-align: center; padding: 40px; }

.category-title { font-size: 2rem; color: var(--text-dark); margin-bottom: 8px; }

.category-description { color: var(--text-muted); font-size: 1.1rem; }

.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); 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), #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; }

.category-products-loading { text-align: center; padding: 40px; color: var(--text-muted); }

/* Variant selectors */
.product-variants { display: flex; flex-direction: column; gap: 16px; }

.variant-group { display: flex; flex-direction: column; gap: 8px; }

.variant-group-label { font-weight: 400; color: var(--text-dark); font-size: 18px; }

.variant-selected-value { font-weight: 700; }

.variant-label { font-weight: 500; color: var(--text-dark); font-size: 0.9rem; }

.variant-options { display: flex; flex-wrap: wrap; gap: 7px; }

.variant-option {
  min-width: 72px;
  height: 50px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  background: var(--bg-light, #fff);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-dark);
}

.variant-option:hover { border-color: var(--accent); }

.variant-option.selected {
  border-color: var(--accent);
  border-width: 2px;
}

.variant-option.unavailable {
  opacity: 0.5;
  text-decoration: line-through;
  cursor: not-allowed;
}

.variant-option.color-swatch {
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  border-radius: 50%;
  position: relative;
}

.variant-option.color-swatch.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
}

.variant-price-update {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Coupon styles */
.coupon-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.coupon-toggle-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.coupon-toggle-btn:hover { text-decoration: underline; }

.coupon-input-row {
  display: none;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}

.coupon-input-row.active { display: flex; }

.coupon-input-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text-dark);
}

.coupon-apply-btn {
  padding: 10px 16px;
  background: var(--accent, var(--primary));
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.coupon-apply-btn:hover { filter: brightness(0.9); }

.coupon-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.coupon-applied-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.coupon-badge {
  background: #d1fae5;
  color: #065f46;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.coupon-remove-btn {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 0.85rem;
}

.coupon-remove-btn:hover { text-decoration: underline; }

.coupon-error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 8px;
}

.discount-row { color: #059669; }

/* Cart drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  /* Must be above navbar (100000) and announcement bar (100001) */
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Ensure overlay doesn't block clicks when not active */
.cart-drawer-overlay:not(.active) {
  pointer-events: none !important;
}

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  max-width: 90vw;
  height: 100dvh;
  height: 100vh;
  background: var(--bg-light);
  /* Must be above overlay, navbar, and announcement bar */
  z-index: 9999999 !important;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  box-sizing: border-box;
}

#cart-drawer.cart-drawer.ltr {
  right: 0 !important;
  left: auto !important;
  transform: translateX(100%);
  direction: ltr;
}

#cart-drawer.cart-drawer.rtl {
  left: 0 !important;
  right: auto !important;
  transform: translateX(-100%);
  direction: rtl;
}

@supports (height: 100dvh) { .cart-drawer { height: 100dvh; } }

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-dark);
  flex: 1;
  min-width: 0;
}

.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.cart-drawer-close svg,
#cart-drawer-close svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Mobile: override global button { width:100% } rules */
@media (max-width: 768px) {
  .cart-drawer-close,
  #cart-drawer-close,
  .cart-drawer #cart-drawer-close {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    flex: 0 0 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    line-height: 1 !important;
  }
}

.cart-drawer-close:hover { color: var(--text-dark); }

.cart-drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-drawer-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-drawer-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-drawer-item-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.cart-drawer-item-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.3;
}

.cart-drawer-item-variant {
  font-size: 13px;
  color: var(--text-muted, #6b7280);
  line-height: 1.4;
}

.cart-drawer-item-variant .cart-item-attr-label { font-weight: 500; }

.cart-drawer-item-variant .cart-item-attr-sep { margin: 0 4px; opacity: 0.5; }

.cart-drawer-item-price { color: var(--accent); font-weight: 600; font-size: 15px; margin-top: 2px; }

.cart-drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.cart-drawer-item-qty button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-light);
  background: var(--bg-light, #fff);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-dark);
}

.cart-drawer-item-qty button:hover { background: rgba(0,0,0,0.05); }

.cart-drawer-item-qty span { min-width: 24px; text-align: center; color: var(--text-dark); }

.cart-drawer-item-remove {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 0.8rem;
  margin-top: 8px;
}

.cart-drawer-item-remove:hover { text-decoration: underline; }

/* Cart drawer item controls (legacy markup used by some templates):
   The drawer renders .cart-item / .cart-item-qty / .cart-item-remove (not .cart-drawer-item-*),
   and global button background resets can make +/- and trash invisible on dark theme. */
#cart-drawer .cart-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 20px 24px !important;
}

#cart-drawer .cart-item-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

#cart-drawer .cart-item-name {
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  color: var(--text-dark) !important;
}

#cart-drawer .cart-item-variant {
  font-size: 13px !important;
  color: #6b7280 !important;
  line-height: 1.4 !important;
}

#cart-drawer .cart-item-variant .cart-item-attr-label {
  font-weight: 500 !important;
}

#cart-drawer .cart-item-variant .cart-item-attr-sep {
  margin: 0 4px !important;
  opacity: 0.5 !important;
}

#cart-drawer .cart-item-price {
  font-size: 15px !important;
  margin-top: 2px !important;
  color: var(--accent) !important;
  font-weight: 600 !important;
}

#cart-drawer .cart-item-qty {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: fit-content !important;
  margin-top: 4px !important;
}

#cart-drawer .cart-item-qty button {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  background: rgba(0,0,0,0.05) !important;
  color: var(--text-dark) !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#cart-drawer .cart-item-qty span {
  min-width: 28px !important;
  text-align: center !important;
  font-size: 15px !important;
  color: var(--text-dark) !important;
}

#cart-drawer .cart-item-remove {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  border-radius: 10px !important;
  background: rgba(0,0,0,0.05) !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  color: var(--text-dark) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

#cart-drawer .cart-item-remove svg {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
  display: block !important;
}

#cart-drawer .cart-item-remove svg path {
  stroke: currentColor !important;
  stroke-width: 2 !important;
  fill: none !important;
}

.cart-drawer-footer {
  padding: 20px 24px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.cart-drawer-checkout {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent, var(--primary));
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: filter 0.2s;
}

.cart-drawer-checkout:hover { filter: brightness(0.9); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* E-COMMERCE NAVBAR ICONS & SEARCH BOX - V2 Theme Colors Only                 */
/* NOTE: Layout/positioning is handled by existing websiteGenerationService    */
/* This section ONLY overrides colors for V2 dark/light theme consistency      */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Search box - input text uses nav-text (contrasts with navbar bg where input sits) */
.nav-search-input { 
  border-color: rgba(128,128,128,0.25) !important; 
  background: rgba(128,128,128,0.08) !important; 
  color: var(--nav-text, var(--text-dark)) !important; 
}

.nav-search-input::placeholder {
  color: rgba(128,128,128,0.6) !important;
}

.nav-search-input:focus { 
  border-color: var(--accent) !important; 
  background: rgba(128,128,128,0.12) !important; 
  box-shadow: 0 0 0 3px rgba(128,128,128,0.1) !important; 
}

.nav-search-btn { 
  color: var(--nav-text, var(--text-muted)) !important; 
}

.nav-search-btn:hover { 
  background: rgba(128,128,128,0.12) !important; 
  color: var(--nav-text-hover, var(--accent)) !important; 
}

/* Search results dropdown - uses surface bg with regular text (not nav text) */
.nav-search-results { 
  background: var(--surface, var(--bg-light, #fff)) !important; 
  border-color: rgba(128,128,128,0.2) !important; 
}

.nav-search-result-item { 
  border-bottom-color: rgba(128,128,128,0.15) !important; 
}

.nav-search-result-item:hover { 
  background: rgba(128,128,128,0.1) !important; 
}

.nav-search-result-name { 
  color: var(--text, var(--text-dark)) !important; 
}

.nav-search-result-item a {
  color: var(--text, var(--text-dark)) !important;
}

.nav-search-result-price { 
  color: var(--accent) !important; 
}

.nav-search-no-results { 
  color: rgba(128,128,128,0.6) !important;
}

/* Cart link - uses nav text for icon color */
.cart-link.nav-cart { 
  color: var(--nav-text, var(--text-dark)) !important; 
}

.cart-link.nav-cart:hover { 
  background: rgba(128,128,128,0.12) !important; 
  color: var(--nav-text-hover, var(--accent)) !important; 
}

.cart-link.nav-cart .cart-count { 
  background: var(--accent, #FF2DAA) !important; 
  color: #fff !important; 
}

.cart-link.nav-cart:hover .cart-count { 
  background: #fff !important; 
  color: var(--accent, #FF2DAA) !important; 
}

/* Login link - uses nav text for icon color */
.login-link.nav-login { 
  color: var(--nav-text, var(--text-dark)) !important; 
}

.login-link.nav-login:hover { 
  background: rgba(128,128,128,0.12) !important; 
  color: var(--nav-text-hover, var(--accent)) !important; 
}

/* Search toggle button - uses nav text for icon color */
.nav-search-toggle {
  color: var(--nav-text, var(--text-dark)) !important;
}

.nav-search-toggle:hover {
  background: rgba(128,128,128,0.12) !important;
}

/* Nav cart count (alternate selector) */
.nav-cart-count {
  background: var(--accent) !important;
  color: #fff !important;
}

/* Mobile search panel */
.mobile-search-panel {
  display: none;
  position: fixed;
  /* Open below announcement + navbar (prevents overlap on mobile) */
  top: var(--total-header-height, var(--header-height, 60px));
  left: 0;
  right: 0;
  background: var(--bg-light);
  z-index: 1002;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-bottom: 1px solid var(--border-light);
}

.mobile-search-panel.active { display: block !important; }

.mobile-search-panel .search-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0 16px;
}

.mobile-search-panel input {
  flex: 1 1 auto;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  color: var(--text-dark);
  min-width: 100px;
  height: 44px;
  order: 1; /* Input first (right in RTL) */
}

.mobile-search-panel input:focus { outline: none; border-color: var(--accent); }

/* Close button styling for mobile search panel */
.mobile-search-panel .close-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  flex: 0 0 44px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: inherit;
  flex-shrink: 0;
  order: 3; /* X button last */
  padding: 0;
}

.mobile-search-panel .close-search:hover { 
  background: rgba(0,0,0,0.05);
  color: inherit;
}

.mobile-search-panel .close-search svg {
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  color: inherit;
}

.mobile-search-panel .search-results {
  margin-top: 16px;
  max-height: 60vh;
  overflow-y: auto;
}

.mobile-search-panel .search-result-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
}

.mobile-search-panel .search-result-item:hover { background: rgba(0,0,0,0.05); }

.mobile-search-panel .search-result-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.mobile-search-panel .search-result-info { flex: 1; }

.mobile-search-panel .search-result-name { font-weight: 500; color: var(--text-dark); }

.mobile-search-panel .search-result-price { color: var(--accent); font-size: 0.9rem; }

/* Mobile search submit button */
.mobile-search-panel .search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  background: var(--accent, var(--primary));
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  padding: 0;
  order: 2; /* Search button after input (left in RTL) */
}

.mobile-search-panel .search-submit:hover { opacity: 0.9; }

.mobile-search-panel .search-submit svg { 
  width: 24px; 
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  stroke: #fff;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE SEARCH RTL + PILL INPUT FIX
   ───────────────────────────────────────────────────────────────────────────── */

/* RTL order: input (right) → search → X (left). Force row for RTL sites. */
html[dir="rtl"] .mobile-search-panel .search-wrapper,
html[lang="he"] .mobile-search-panel .search-wrapper,
html[lang="ar"] .mobile-search-panel .search-wrapper,
[dir="rtl"] .mobile-search-panel .search-wrapper {
  flex-direction: row !important;
}

/* Pill-shaped search input */
.mobile-search-panel #mobile-search-input,
.mobile-search-panel input {
  border-radius: 24px !important;
  padding-inline: 20px !important;
  border-color: var(--border-light) !important;
  color: var(--text-dark) !important;
}

.mobile-search-panel input::placeholder {
  color: rgba(0,0,0,0.45) !important;
}

/* Ensure icon buttons stay rounded */
.mobile-search-panel .search-submit,
.mobile-search-panel #mobile-search-submit,
.mobile-search-panel .close-search,
.mobile-search-panel #close-mobile-search {
  border-radius: 50% !important;
}

/* Cart count badge - ensure proper sizing on mobile */
.cart-count {
  position: absolute !important;
  top: -4px !important;
  left: -4px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2px 5px !important;
  border-radius: 10px !important;
  min-width: 16px !important;
  max-width: 24px !important;
  height: auto !important;
  line-height: 1 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Mobile-specific nav styles */
@media (max-width: 768px) {
  /* Mobile nav panel must have an opaque background; the refresh script doesn't
     re-run navbarCssHelper/colorPaletteService which normally sets this.
     When --nav-bg is transparent, we use the solid palette bg instead. */
  .nav-menu,
  .nav-menu.active,
  .nav-menu.nav-menu-active,
  #navMenu,
  #navMenu.active {
    background-color: var(--nav-bg, var(--bg-light));
  }
  .nav-menu.active,
  .nav-menu.nav-menu-active,
  #navMenu.active {
    top: var(--zappy-mobile-menu-top, var(--total-header-height, var(--zappy-navbar-bottom, 70px))) !important;
    bottom: 0 !important;
    max-height: calc(100dvh - 70px) !important;
    max-height: calc(100dvh - var(--zappy-mobile-menu-top, var(--total-header-height, var(--zappy-navbar-bottom, 70px)))) !important;
    overflow-y: auto !important;
  }

  /* Ensure hamburger is visible on mobile e-commerce pages.
     Some generated navbars accidentally ship ".mobile-toggle { display:none; }" without a media query.
     Color is NOT set here — navbarLayoutFixService determines the correct color
     based on the navbar background (which may differ from the page theme). */
  html[data-zappy-site-type="ecommerce"] #mobileToggle,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 6px !important;
    border-radius: 9999px !important;
    background: transparent !important;
  }
  /* Render hamburger icon reliably across templates - SVG base styling */
  html[data-zappy-site-type="ecommerce"] #mobileToggle svg,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle svg {
    color: inherit !important;
    stroke: currentColor !important;
    fill: none !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    flex-shrink: 0 !important;
  }
  
  /* Mobile toggle icons */
  /* Default state: hamburger visible, close hidden */
  html[data-zappy-site-type="ecommerce"] #mobileToggle .hamburger-icon,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle .hamburger-icon {
    display: block !important;
  }
  html[data-zappy-site-type="ecommerce"] #mobileToggle .close-icon,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle .close-icon {
    display: none !important;
  }
  
  /* Active state: hamburger hidden, close visible */
  /* Triggered when button has .active class (set by JS in websiteGenerationService) */
  html[data-zappy-site-type="ecommerce"] #mobileToggle.active .hamburger-icon,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle.active .hamburger-icon {
    display: none !important;
  }
  html[data-zappy-site-type="ecommerce"] #mobileToggle.active .close-icon,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle.active .close-icon {
    display: block !important;
  }
  
  html[data-zappy-site-type="ecommerce"] #mobileToggle svg *,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle svg * {
    stroke: currentColor !important;
    fill: none !important;
    opacity: 1 !important;
  }
  html[data-zappy-site-type="ecommerce"] #mobileToggle svg path,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle svg path,
  html[data-zappy-site-type="ecommerce"] #mobileToggle svg line,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle svg line,
  html[data-zappy-site-type="ecommerce"] #mobileToggle svg polyline,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle svg polyline {
    stroke-width: 2px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
  /* If a template uses an <i> icon instead of svg */
  html[data-zappy-site-type="ecommerce"] #mobileToggle i,
  html[data-zappy-site-type="ecommerce"] .mobile-toggle i {
    display: block !important;
    color: currentColor !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }

  /* Phone CTA should not appear on e-commerce nav.
     NOTE: multiLanguageService injects .phone-header-btn { display:flex !important; } on mobile.
     We must beat it with higher specificity + !important. */
  nav.navbar .phone-header-btn,
  .navbar .phone-header-btn {
    display: none !important;
  }

  /* Mobile search toggle visibility */
  nav.navbar .nav-search-box,
  .navbar .nav-search-box {
    display: none !important;
  }
  .nav-search-toggle { display: flex !important; }
  
  /* Hide catalog menu on mobile */
  .zappy-catalog-menu { display: none !important; }
  
  /* Left icons group (Login, Cart) - positioned at inline-end edge of .nav-container */
  .nav-icons-left {
    order: 2 !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;
  }

  /* Ensure login/cart never stack vertically */
  .navbar .nav-ecommerce-icons.nav-icons-left,
  .navbar .nav-icons-left,
  .nav-ecommerce-icons.nav-icons-left,
  .nav-icons-left {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
  }
  
  /* Right icons group (Search) - positioned after hamburger menu.
     Hamburger is 36px at 12px from .navbar edge → ends at 48px from .navbar edge.
     Use 52px from .navbar edge to guarantee clearance regardless of navbar padding.
     Since .nav-icons-right is positioned within .nav-container, subtract any
     nav-container offset, but 52px is safe for all known navbar padding values. */
  .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;
  }

  /* Logo: constrain width so it doesn't get squeezed by icon groups */
  .logo,
  .nav-brand img,
  .nav-brand svg {
    max-width: 110px !important;
  }
  
  /* Make header relative for absolute children */
  header, .navbar, nav:first-of-type {
    position: relative !important;
  }
  
  /* Mobile nav icon buttons - sized to match desktop e-commerce standard (36px).
     ALWAYS use solid bg-light background so icons are visible over any hero (dark or light).
     Paired with text-dark color below for guaranteed contrast. */
  .cart-link,
  .nav-cart,
  .nav-search-toggle,
  .login-link,
  .nav-login {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: visible !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(128,128,128,0.2) !important;
    background: var(--bg-light, #fff) !important;
  }

  /* Icon color: always use text-dark on mobile since circles are always bg-light.
     --nav-text may be white (for transparent navbars) which is invisible on light circles. */
  .cart-link.nav-cart,
  .login-link.nav-login,
  .nav-search-toggle {
    color: var(--text-dark, #1a1a1a) !important;
  }
  .cart-link.nav-cart svg,
  .login-link.nav-login svg,
  .nav-search-toggle svg {
    stroke: var(--text-dark, #1a1a1a) !important;
  }

  /* Mobile nav icon hover */
  .cart-link.nav-cart:hover,
  .login-link.nav-login:hover,
  .nav-search-toggle:hover {
    background: rgba(128,128,128,0.15) !important;
    color: var(--text-dark, #1a1a1a) !important;
  }
  
  /* Mobile nav SVG icons - consistent size */
  .cart-link svg,
  .nav-cart svg,
  .nav-search-toggle svg,
  .login-link svg,
  .nav-login svg,
  .cart-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    flex-shrink: 0 !important;
  }
  
  /* Cart count badge - positioned at outer corner */
  .cart-count {
    position: absolute !important;
    top: -6px !important;
    left: -6px !important;
    right: auto !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    background: var(--accent, #FF2DAA) !important;
    color: #fff !important;
  }
}

@media (min-width: 769px) {
  .nav-search-toggle { display: none !important; }
  .mobile-search-panel { display: none !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;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  
  /* Ensure all nav icon containers use horizontal flex layout with proper spacing */
  .nav-ecommerce-icons,
  .nav-icons-left,
  .nav-ecommerce-icons.nav-icons-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  
  /* Desktop icon order: Search first (rightmost in RTL), then Login, then Cart (leftmost in RTL) */
  .nav-ecommerce-icons .nav-search-box { order: 1 !important; }
  .nav-ecommerce-icons .login-link.nav-login { order: 2 !important; }
  .nav-ecommerce-icons .cart-link.nav-cart { order: 3 !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 */
  /* NOTE: Removed :has() to avoid performance issues */
  .nav-right-group {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    justify-content: space-between !important;
  }
  
  /* Keep nav-brand and nav-menu together */
  .nav-right-group .nav-brand {
    flex-shrink: 0 !important;
  }
  
  .nav-right-group .nav-menu {
    flex-grow: 1 !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }
  
  /* Prevent nav-menu items from wrapping */
  .nav-menu,
  .nav-links {
    flex-wrap: nowrap !important;
  }
  
  /* Desktop icon buttons: keep circular + centered (fix square icons regression) */
  .navbar .nav-ecommerce-icons.nav-icons-left a.login-link.nav-login,
  .navbar .nav-ecommerce-icons.nav-icons-left a.cart-link.nav-cart {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(128,128,128,0.2) !important;
    background: var(--bg-light, #fff) !important;
    color: var(--text-dark, #1a1a1a) !important;
    padding: 0 !important;
    position: relative !important; /* anchor cart badge */
    box-sizing: border-box !important;
  }
  .navbar .nav-ecommerce-icons.nav-icons-left a.login-link.nav-login svg,
  .navbar .nav-ecommerce-icons.nav-icons-left a.cart-link.nav-cart svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Cart badge: position at icon outer corner (avoid huge right value in RTL) */
  .navbar .nav-ecommerce-icons.nav-icons-left .cart-link.nav-cart .cart-count {
    position: absolute !important;
    top: -6px !important;
    inset-inline-end: -6px !important;
    inset-inline-start: auto !important;
    background: var(--accent, #FF2DAA) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    height: 16px !important;
    min-width: 18px !important;
    padding: 0 5px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  html[dir="rtl"] .navbar .nav-ecommerce-icons.nav-icons-left .cart-link.nav-cart .cart-count,
  html[lang="he"] .navbar .nav-ecommerce-icons.nav-icons-left .cart-link.nav-cart .cart-count,
  html[lang="ar"] .navbar .nav-ecommerce-icons.nav-icons-left .cart-link.nav-cart .cart-count,
  [dir="rtl"] .navbar .nav-ecommerce-icons.nav-icons-left .cart-link.nav-cart .cart-count {
    inset-inline-start: -6px !important;
    inset-inline-end: auto !important;
  }

  /* Desktop search: pill container with focus animation */
  .navbar .nav-search-box {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    height: 36px !important;
    border-radius: 9999px !important;
    border: 1px solid var(--border-light) !important;
    background: var(--bg-light, #fff) !important;
    /* Anchor dropdown + keep pill stable when results render */
    position: relative !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    /* Smooth transition for focus state */
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
  }
  /* Focus state on container - wraps entire search box including button */
  .navbar .nav-search-box:focus-within {
    border-color: var(--primary, #6D28D9) !important;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.15) !important;
  }
  .navbar .nav-search-box .nav-search-input {
    /* Compact width with expand animation on focus */
    flex: 0 0 auto !important;
    width: 180px !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--text-dark) !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    transition: width 0.2s ease !important;
  }
  .navbar .nav-search-box .nav-search-input:focus {
    width: 240px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
  .navbar .nav-search-box .nav-search-btn {
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important;
    box-sizing: border-box !important;
  }

  /* Desktop search results dropdown:
     "#nav-search-results" is injected as a child of ".nav-search-box" and becomes a flex item by default.
     Make it absolutely positioned so it can't corrupt the pill layout while typing. */
  .navbar .nav-search-results,
  .navbar #nav-search-results {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    inset-inline-start: 0 !important;
    inset-inline-end: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
  .navbar .nav-search-results:not(.active),
  .navbar #nav-search-results:not(.active) {
    display: none !important;
  }
  .navbar .nav-search-results.active,
  .navbar #nav-search-results.active {
    display: block !important;
    z-index: 100000 !important;
    background: var(--bg-light, #fff) !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 44px rgba(0,0,0,0.45) !important;
    max-height: 320px !important;
    overflow: auto !important;
    padding: 8px !important;
  }

  /* Products menu: normalize link height so dropdown item doesn't look like “two rows” */
  .navbar, .nav-container, .nav-menu, .nav-menu > li { overflow: visible !important; }
  .navbar .nav-menu { align-items: center !important; }
  .navbar .nav-menu > li { display: flex !important; align-items: center !important; }
  .navbar .nav-menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 10px !important;
  }
  .navbar .nav-menu > li.menu-item-has-children > a { gap: 6px !important; }

  /* Products dropdown: keep submenu hidden until hover/focus (prevents “second row” look) */
  .navbar .zappy-products-dropdown { position: relative !important; }
  .navbar .zappy-products-dropdown > .sub-menu {
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(6px) !important;
    transition: opacity .15s ease, transform .15s ease !important;
    max-height: calc(100vh - 150px) !important;
    overflow-y: auto !important;
  }
  .navbar .zappy-products-dropdown:hover > .sub-menu,
  .navbar .zappy-products-dropdown:focus-within > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* 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) - desktop only */
/* NOTE: Mobile visibility is handled via @media (max-width: 768px) { .zappy-catalog-menu { display: none !important; } } */
/* Catalog menu always inherits navbar colors, NOT ecommerce pages bg */
@media (min-width: 769px) {
  .zappy-catalog-menu {
    background: var(--nav-bg, var(--background, #fff)) !important;
    border-bottom: 1px solid rgba(128,128,128,0.15) !important;
    padding: 0;
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    display: block !important;
    visibility: visible !important;
  }
}

.catalog-menu-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  overflow: visible;
  flex-direction: row; /* With direction:rtl, flex-direction:row naturally flows right-to-left */
  justify-content: center !important;
  width: 100% !important;
}

.catalog-menu-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center !important;
}

.catalog-menu-item,
.catalog-menu-all {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-text, var(--text, #333)) !important;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

.catalog-menu-item:hover,
.catalog-menu-all:hover {
  color: var(--nav-text-hover, var(--accent)) !important;
  background: rgba(128,128,128,0.1);
}

.catalog-menu-categories {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center !important;
}

.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-categories,
.zappy-catalog-menu.rtl .catalog-menu-categories {
  direction: rtl !important;
}

/* Catalog menu parent dropdowns (categories with children) */
.catalog-menu-parent {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.catalog-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.catalog-menu-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.catalog-menu-parent:hover .catalog-menu-chevron {
  transform: rotate(180deg);
}

/* Use .zappy-catalog-menu ancestor for specificity 0-3-0+ to beat githubService injected rules */
.zappy-catalog-menu .catalog-menu-parent > .sub-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  min-width: 200px !important;
  max-width: min(280px, calc(100vw - 32px)) !important;
  max-height: calc(100vh - 200px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !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;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  margin-top: 0 !important;
}

.catalog-menu-parent::after {
  content: '' !important;
  position: absolute !important;
  bottom: -8px !important;
  left: 0 !important;
  right: 0 !important;
  height: 8px !important;
}

.zappy-catalog-menu .catalog-menu-parent:hover > .sub-menu,
.zappy-catalog-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));
}

/* Dropdown in catalog menu - desktop only */
.zappy-products-dropdown { position: relative; }

@media (min-width: 769px) {
  .zappy-products-dropdown .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    max-width: min(280px, calc(100vw - 32px));
    max-height: calc(100vh - 150px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: var(--bg-light, #fff) !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 100001;
    list-style: none;
    margin: 0;
    padding-top: 12px;
  }
  /* Bridge element to prevent submenu from disappearing on hover */
  .zappy-products-dropdown::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
  }
  .zappy-products-dropdown:hover .sub-menu,
  .zappy-products-dropdown:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .zappy-products-dropdown .sub-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark, #1a1a1a);
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s ease;
  }
  .zappy-products-dropdown .sub-menu a:hover {
    background: rgba(128,128,128,0.1) !important;
    color: var(--nav-text-hover, var(--accent)) !important;
  }
}

/* V2 Navbar positioning for e-commerce - DO NOT include generic 'header' as it matches content headers */
nav#navbar,
nav.navbar,
.navbar:not(.zappy-catalog-menu) {
  z-index: 100000 !important;
  overflow: visible !important;
}

/* Announcement bar should be above everything */
.zappy-announcement-bar {
  z-index: 100001 !important;
  /* CRITICAL: must be fixed so it stays ABOVE fixed navbar.
     If it's relative, body padding-top pushes it below the navbar on live sites. */
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* Catalog menu should have high z-index but below navbar */
.zappy-catalog-menu,
#zappy-catalog-menu {
  z-index: 99998 !important;
  background: var(--nav-bg, var(--background, #fff)) !important;
}

/* Ensure content sections and their headers don't overlap navigation */
section header:not(.navbar),
header.lookbook-gallery-header,
.lookbook-gallery-header,
[class*="gallery"] header:not(.navbar),
[class*="section"] header:not(.navbar):not(.zappy-announcement-bar) {
  position: relative !important;
  z-index: 1 !important;
}

/* All content sections should be below navigation */
/* CRITICAL: Exclude .zappy-section-controls which uses position:absolute for editor toolbar positioning */
section:not(.navbar),
main,
.page-container,
/* IMPORTANT:
   Use "-section" block matching and exclude BEM elements (class*="__").
   This prevents breaking hero background wrappers like:
   - .home-hero-section__background
   which MUST remain position:absolute for full-bleed hero media.
   Also exclude divider-wrapper elements which MUST remain position:absolute
   at the bottom of their parent section for seamless section transitions. */
[class*="-section"]:not([class*="__"]):not([class*="divider-wrapper"]):not([class*="divider_wrapper"]):not(.navbar):not(.zappy-announcement-bar):not(.zappy-catalog-menu):not(.zappy-section-controls):not([class*="zappy-"]) {
  position: relative !important;
  z-index: 1 !important;
}

/* Mobile hamburger and search toggle protection */
.mobile-toggle,
#mobileToggle,
.nav-search-toggle {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 1001 !important;
}

/* Primary button styles */
.btn-primary {
  background: var(--accent, var(--primary));
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s;
}

.btn-primary:hover { filter: brightness(0.9); }

/* ─────────────────────────────────────────────────────────────────────────────
   THEME-AWARE ACCENT COLOR VISIBILITY FIXES
   ───────────────────────────────────────────────────────────────────────────── */

/* Product card Add to Cart button */
.product-card .add-to-cart {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* Product info Add to Cart button (product detail page) */
.product-info .add-to-cart-btn {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* Product detail Add to Cart button (some templates use #add-to-cart-btn + .add-to-cart) */
.product-actions #add-to-cart-btn,
.product-actions .add-to-cart,
.product-actions .add-to-cart-btn,
#add-to-cart-btn,
.add-to-cart-btn {
  background: var(--accent, var(--primary)) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  min-height: 44px !important;
  line-height: 1 !important;
}

.product-actions #add-to-cart-btn:hover,
.product-actions .add-to-cart:hover,
.product-actions .add-to-cart-btn:hover,
#add-to-cart-btn:hover,
.add-to-cart-btn:hover {
  filter: brightness(0.95) !important;
}

/* Variant option selected state */
.variant-option.selected {
  border-color: var(--accent, var(--primary)) !important;
  border-width: 2px !important;
}

.variant-option:hover {
  border-color: var(--accent, var(--primary)) !important;
}

/* Cart drawer checkout button */
.cart-drawer-checkout {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* Checkout button in cart page */
.checkout-btn {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* Coupon apply button */
.coupon-apply-btn {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* Quantity buttons */
.quantity-btn {
  border-color: var(--accent, var(--primary)) !important;
  color: var(--accent, var(--primary)) !important;
}

.quantity-btn:hover {
  background: var(--accent, var(--primary)) !important;
  color: var(--text-light) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SUBMENU VISIBILITY FIXES (desktop only)
   ───────────────────────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  /* Navbar submenu - always uses solid bg-light background (not nav-bg which may be transparent) */
  .navbar .sub-menu,
  .navbar ul.sub-menu,
  nav.navbar .sub-menu {
    background: var(--bg-light, #fff) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    margin: 0 !important;
    padding-top: 12px !important;
    z-index: 100001 !important;
    overflow: visible !important;
  }
  .navbar .sub-menu li a,
  nav.navbar .sub-menu li a {
    color: var(--text-dark, #1a1a1a) !important;
  }
  .navbar .sub-menu li a:hover,
  nav.navbar .sub-menu li a:hover {
    background: rgba(128,128,128,0.1) !important;
    color: var(--nav-text-hover, var(--accent, var(--primary))) !important;
  }

  /* Bridge element to prevent submenu from disappearing on hover */
  .navbar .menu-item-has-children,
  nav.navbar .menu-item-has-children,
  .zappy-products-dropdown {
    position: relative !important;
    overflow: visible !important;
  }
  .navbar .menu-item-has-children::after,
  nav.navbar .menu-item-has-children::after,
  .zappy-products-dropdown::after {
    content: '' !important;
    position: absolute !important;
    bottom: -10px !important;
    left: 0 !important;
    right: 0 !important;
    height: 10px !important;
  }

  /* Catalog dropdown submenu */
  .zappy-products-dropdown .sub-menu {
    background: var(--bg-light, #fff) !important;
    margin: 0 !important;
    padding-top: 12px !important;
  }
  .zappy-products-dropdown .sub-menu a {
    color: var(--text-dark, #1a1a1a) !important;
  }
  .zappy-products-dropdown .sub-menu a:hover {
    background: rgba(128,128,128,0.1) !important;
    color: var(--nav-text-hover, var(--accent, var(--primary))) !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE NAV ICON FIXES
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  /* Phone CTA should not appear on e-commerce nav (mobile) */
  nav.navbar .phone-header-btn,
  .navbar .phone-header-btn {
    display: none !important;
  }

  /* Ensure ecommerce icons container stays horizontal */
  .navbar .nav-ecommerce-icons.nav-icons-left,
  .navbar .nav-icons-left,
  .nav-ecommerce-icons.nav-icons-left,
  .nav-icons-left {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
  }

  /* Force-hide desktop search box on mobile (some templates keep it visible) */
  nav.navbar .nav-search-box,
  .navbar .nav-search-box {
    display: none !important;
  }

  .cart-link,
  .nav-cart,
  .nav-search-toggle,
  .login-link,
  .nav-login {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: visible !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(128,128,128,0.2) !important;
    background: var(--bg-light, #fff) !important;
  }

  /* Icon color: always use text-dark on mobile since circles are always bg-light. */
  .cart-link.nav-cart,
  .login-link.nav-login,
  .nav-search-toggle {
    color: var(--text-dark, #1a1a1a) !important;
  }
  .cart-link.nav-cart svg,
  .login-link.nav-login svg,
  .nav-search-toggle svg {
    stroke: var(--text-dark, #1a1a1a) !important;
  }
  
  .cart-link svg,
  .nav-cart svg,
  .nav-search-toggle svg,
  .login-link svg,
  .nav-login svg,
  .cart-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    flex-shrink: 0 !important;
  }
  
  /* Cart count badge RTL positioning */
  html[dir='rtl'] .cart-count,
  [dir='rtl'] .cart-count {
    left: -6px !important;
    right: auto !important;
  }
  
  html:not([dir='rtl']) .cart-count {
    right: -6px !important;
    left: auto !important;
  }

  /* Ensure cart badge uses accent (some sites have --primary == bg) */
  .cart-count {
    background: var(--accent, #FF2DAA) !important;
    color: #fff !important;
  }

  /* Disable hover-triggered sub-menus on mobile — only toggle via click */
  .navbar .zappy-products-dropdown:hover > .sub-menu,
  .navbar .zappy-products-dropdown:focus-within > .sub-menu,
  .navbar .menu-item-has-children:hover > .sub-menu,
  .zappy-products-dropdown:hover > .sub-menu,
  .zappy-products-dropdown:focus-within > .sub-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: 0 !important;
  }
  /* Re-enable when explicitly expanded via toggle click */
  .navbar .zappy-products-dropdown .sub-menu.mobile-expanded,
  .navbar .zappy-products-dropdown > .sub-menu.mobile-expanded,
  .zappy-products-dropdown .sub-menu.mobile-expanded,
  .navbar .menu-item-has-children > .sub-menu.mobile-expanded {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  /* Mobile sub-menu: displayed inline inside dark nav panel, NOT as a floating dropdown.
     Override the desktop rules that force bg-light + text-dark on sub-menus. */
  .navbar .sub-menu,
  .navbar ul.sub-menu,
  nav.navbar .sub-menu,
  .zappy-products-dropdown .sub-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
    transition: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    z-index: auto !important;
  }
  .navbar .sub-menu li a,
  nav.navbar .sub-menu li a,
  .zappy-products-dropdown .sub-menu a {
    color: inherit;
    padding: 10px 16px !important;
    border-radius: 0 !important;
    white-space: normal !important;
  }
  .navbar .sub-menu li a:hover,
  nav.navbar .sub-menu li a:hover,
  .zappy-products-dropdown .sub-menu a:hover {
    background: transparent !important;
    color: inherit;
  }

  /* Mobile submenu toggle arrow: flex child that stretches to match the nav-link height
     via align-self:stretch, so the arrow centers automatically via align-items:center. */
  .navbar .nav-menu .mobile-submenu-toggle,
  .navbar .mobile-submenu-toggle,
  .mobile-submenu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: auto !important;
    position: static !important;
    flex-shrink: 0 !important;
    align-self: stretch !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 2 !important;
    color: inherit;
  }
  .mobile-submenu-toggle::after {
    content: '' !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-top: 7px solid currentColor !important;
    transition: transform 0.3s ease !important;
  }
  .mobile-submenu-toggle.expanded::after {
    transform: rotate(180deg) !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   HOMEPAGE: FEATURED SECTIONS (PRODUCTS + CATEGORIES)
   These used to be styled by V1 base CSS; must live in V2 generateCss()
   Background uses hero-divider-aware theme: #F7F3E9 (LIGHT)
   ───────────────────────────────────────────────────────────────────────────── */

/* Featured Products Section (Home Page) */
.featured-products-section {
  padding: 60px 24px !important;
  background: #F7F3E9 !important;
}

.featured-products-section .section-title {
  text-align: center !important;
  font-size: 2rem !important;
  margin-bottom: 40px !important;
  color: var(--text-dark) !important;
}

.featured-grid {
  max-width: 1440px !important;
  margin: 0 auto !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 320px)) !important;
  justify-content: center !important;
}

.view-all-products {
  text-align: center !important;
  margin-top: 40px !important;
}

.view-all-products .btn {
  display: inline-block !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: filter 0.3s ease !important;
}

.view-all-products .btn-primary,
.btn.btn-primary {
  background: var(--accent, var(--primary)) !important;
  color: #fff !important;
  border: none !important;
}

.view-all-products .btn-primary:hover,
.btn.btn-primary:hover {
  filter: brightness(0.9) !important;
}

.no-featured-products {
  text-align: center !important;
  padding: 40px 20px !important;
  color: rgba(0,0,0,0.6) !important;
  font-size: 1rem !important;
  background: var(--bg-light, #fff) !important;
  border-radius: 12px !important;
  margin: 0 auto !important;
  max-width: 600px !important;
  grid-column: 1 / -1 !important;
}

/* Featured Categories Section (Home Page) */
.featured-categories-section {
  padding: 60px 24px !important;
  background: #F7F3E9 !important;
}

.featured-categories-section .section-title {
  text-align: center !important;
  font-size: 2rem !important;
  margin-bottom: 40px !important;
  color: var(--text-dark) !important;
}

.category-blocks {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
}

.category-block {
  position: relative !important;
  height: 200px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: block !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.category-block:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.category-block-bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: filter 0.3s ease, transform 0.3s ease !important;
}

.category-block:hover .category-block-bg {
  transform: scale(1.05) !important;
}

.category-block-overlay {
  position: absolute !important;
  inset: 0 !important;
  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%) !important;
}

.category-block-content {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 24px !important;
}

.category-block-name {
  color: #fff !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
  text-align: center !important;
}

@media (max-width: 768px) {
  .category-blocks {
    grid-template-columns: 1fr !important;
  }
  .category-block {
    height: 160px !important;
  }
  .category-block-name {
    font-size: 1.25rem !important;
  }
}

.loading-categories {
  text-align: center !important;
  padding: 40px 20px !important;
  color: rgba(0,0,0,0.6) !important;
  font-size: 1rem !important;
}

/* Shipping Methods - V2 theme */
#shipping-methods { 
  display: flex !important; 
  flex-direction: column !important; 
  gap: 37px !important; 
}

.shipping-method-block {
  display: flex !important;
  flex-direction: column !important;
}

.shipping-option { 
  display: flex !important; 
  align-items: flex-start !important; 
  gap: 24px !important; 
  padding: 0 !important; 
  border: none !important; 
  border-radius: 0 !important; 
  cursor: pointer !important; 
  transition: none !important; 
  background: transparent !important; 
}

.shipping-option:hover { 
  background: transparent !important; 
}

.shipping-option.selected { 
  background: transparent !important; 
}

.shipping-option input[type="radio"] { 
  width: 20px !important; 
  height: 20px !important; 
  margin-top: 7px !important; 
  accent-color: var(--accent) !important; 
  cursor: pointer !important; 
  flex-shrink: 0 !important;
}

.shipping-info { 
  flex: 1 !important;
  min-width: 0 !important;
}

.shipping-name-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.shipping-name { 
  font-weight: 600 !important; 
  color: var(--text-dark) !important; 
  font-size: 20px !important; 
}

.shipping-icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  color: var(--text-dark) !important;
}

.shipping-option.selected .shipping-icon {
  color: var(--text-dark) !important;
}

.shipping-desc { 
  color: rgba(0,0,0,0.6) !important; 
  font-size: 16px !important; 
  margin-top: 8px !important;
  line-height: 1.4 !important;
}

.shipping-address { 
  color: var(--accent) !important; 
  font-size: 14px !important; 
  margin-top: 6px !important; 
  font-weight: 500 !important; 
}

.shipping-option.selected .shipping-address { 
  color: var(--text-dark) !important; 
}

.shipping-free-note { 
  color: #10b981 !important; 
  font-size: 14px !important; 
  margin-top: 4px !important; 
  font-weight: 500 !important; 
}

.shipping-price { 
  font-weight: 600 !important; 
  font-size: 20px !important; 
  color: var(--text-dark) !important; 
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.shipping-price.free { 
  color: #10b981 !important; 
}

.no-shipping, #shipping-methods .error { 
  text-align: center !important; 
  padding: 20px !important; 
  color: rgba(0,0,0,0.6) !important; 
  background: var(--bg-light, #fff) !important; 
  border-radius: 8px !important;
}

/* Checkout form rows and selects - V2 */
.checkout-form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

@media (max-width: 480px) { .checkout-form-row { grid-template-columns: 1fr !important; } }

.input-full { width: 100% !important; }

.checkout-select-wrapper { position: relative !important; }

.checkout-select {
  width: 100% !important;
  padding: 12px 40px 12px 16px !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 8px !important;
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
  font-size: 16px !important;
  font-family: inherit !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  box-shadow: 0px 1px 2px rgba(16,24,40,0.05) !important;
}

.checkout-select:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 200, 107, 125), 0.2) !important;
}

.checkout-select-chevron {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  color: rgba(0,0,0,0.4) !important; 
}

/* Payment Methods - V2 theme */
#payment-container { 
  display: flex !important; 
  flex-direction: column !important; 
  gap: 37px !important; 
}

.payment-option { 
  display: flex !important; 
  align-items: center !important; 
  gap: 24px !important; 
  padding: 0 !important; 
  border: none !important; 
  border-radius: 0 !important; 
  cursor: pointer !important; 
  transition: none !important; 
  background: transparent !important; 
}

.payment-option:hover { 
  background: transparent !important; 
}

.payment-option.selected { 
  background: transparent !important; 
}

.payment-option input[type="radio"] { 
  width: 20px !important; 
  height: 20px !important; 
  accent-color: var(--accent) !important; 
  cursor: pointer !important; 
  flex-shrink: 0 !important;
}

.payment-name { 
  font-weight: 600 !important; 
  color: var(--text-dark) !important; 
  font-size: 20px !important; 
  flex: 1 !important;
}

.payment-icon { 
  color: var(--text-dark) !important; 
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.payment-icon svg { 
  display: block !important;
  width: auto !important;
  height: auto !important;
}

.payment-icon img {
  height: 24px !important;
  width: auto !important;
}

.payment-not-configured { 
  display: flex !important; 
  align-items: center !important; 
  gap: 12px !important; 
  padding: 20px !important; 
  background: var(--bg-light, #fff) !important; 
  border-radius: 8px !important; 
  color: rgba(0,0,0,0.6) !important; 
  font-size: 14px !important; 
}

.payment-not-configured svg { 
  flex-shrink: 0 !important; 
}

#payment-container .error { 
  text-align: center !important; 
  padding: 20px !important; 
  color: rgba(0,0,0,0.6) !important; 
  background: var(--bg-light, #fff) !important; 
  border-radius: 8px !important; 
}

/* Product Specifications - V2 theme */
.product-specifications { 
  margin: 24px 0 !important; 
  padding: 20px !important; 
  background: var(--bg-light, #fff) !important; 
  border-radius: 12px !important; 
  border: 1px solid var(--border-light) !important;
}

.product-specifications h3 { 
  font-size: 1.1rem !important; 
  font-weight: 600 !important; 
  margin: 0 0 16px 0 !important; 
  color: var(--text-dark) !important; 
}

.specs-table { 
  width: 100% !important; 
  border-collapse: collapse !important; 
}

.specs-table tr:not(:last-child) { 
  border-bottom: 1px solid var(--border-light) !important; 
}

.specs-table th, .specs-table td { 
  padding: 12px 0 !important; 
  text-align: start !important; 
  vertical-align: top !important; 
}

.specs-table th { 
  font-weight: 500 !important; 
  color: rgba(0,0,0,0.6) !important; 
  width: 40% !important; 
  padding-left: 16px !important; 
}

.specs-table td { 
  font-weight: 500 !important; 
  color: var(--text-dark) !important; 
}

@media (max-width: 480px) { 
  .specs-table th, .specs-table td { 
    display: block !important; 
    width: 100% !important; 
    padding: 6px 0 !important; 
  } 
  .specs-table th { padding-bottom: 2px !important; } 
  .specs-table td { padding-bottom: 12px !important; } 
}

/* Breadcrumb navigation - V2 theme */
.product-breadcrumb { 
  display: flex !important; 
  align-items: center !important; 
  gap: 8px !important; 
  margin-bottom: 16px !important; 
  font-size: 14px !important; 
  color: rgba(0,0,0,0.5) !important; 
}

.product-breadcrumb a { 
  color: rgba(0,0,0,0.6) !important; 
  text-decoration: none !important; 
}

.product-breadcrumb a:hover { 
  color: var(--text-dark) !important; 
  text-decoration: underline !important; 
}

.product-breadcrumb .breadcrumb-separator { 
  color: rgba(0,0,0,0.3) !important; 
}

.product-breadcrumb .breadcrumb-current { 
  color: var(--text-dark) !important; 
  font-weight: 500 !important; 
}

/* Related products section - V2 theme */
.related-products-section { 
  padding: 40px 0 !important; 
  border-top: 1px solid var(--border-light) !important; 
  margin-top: 40px !important; 
}

.related-products-section h2 { 
  text-align: center !important; 
  margin-bottom: 24px !important; 
  font-size: 1.5rem !important; 
  color: var(--text-dark) !important; 
}

/* Category page - V2 theme */
.category-page-section { 
  padding: 20px 0 !important; 
}

.category-header { 
  margin-bottom: 32px !important; 
}

.category-banner { 
  width: 100% !important; 
  height: 200px !important; 
  background-size: cover !important; 
  background-position: center !important; 
  border-radius: 12px !important; 
  margin-bottom: 24px !important; 
}

.category-info h1 { 
  font-size: 2rem !important; 
  color: var(--text-dark) !important; 
  margin: 0 0 12px 0 !important; 
}

.category-description { 
  color: rgba(0,0,0,0.6) !important; 
  font-size: 1rem !important; 
  line-height: 1.6 !important; 
  margin: 0 !important; 
}

.subcategory-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-top: 24px !important;
  justify-content: center !important;
}

.subcategory-card {
  position: relative !important;
  width: 140px !important;
  height: 90px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  flex-shrink: 0 !important;
  border: 2px solid transparent !important;
}

.subcategory-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

.subcategory-card.active {
  border-color: var(--accent) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

.subcategory-card-bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.3s ease !important;
}

.subcategory-card-bg-empty {
  background: linear-gradient(135deg, var(--accent), #6366f1) !important;
}

.subcategory-card:hover .subcategory-card-bg {
  transform: scale(1.08) !important;
}

.subcategory-card-overlay {
  position: absolute !important;
  inset: 0 !important;
  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%) !important;
}

.subcategory-card-name {
  position: relative !important;
  z-index: 1 !important;
  color: #fff !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
  padding: 8px 10px !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

@media (max-width: 640px) {
  .subcategory-card { width: 110px !important; height: 75px !important; }
  .subcategory-card-name { font-size: 0.78rem !important; }
}

.no-products { 
  text-align: center !important; 
  padding: 40px 20px !important; 
  color: rgba(0,0,0,0.6) !important; 
}

/* Catalog mode - inquiry/contact buttons - V2 theme */
.product-actions.catalog-mode { 
  flex-direction: row !important; 
  gap: 12px !important; 
  max-width: 600px !important; 
  margin: 0 auto !important; 
  width: 100% !important; 
}

.product-actions.catalog-mode .btn { 
  display: flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  gap: 8px !important; 
  padding: 14px 24px !important; 
  border-radius: 8px !important; 
  font-size: 16px !important; 
  font-weight: 600 !important; 
  text-decoration: none !important; 
  cursor: pointer !important; 
  transition: all 0.2s ease !important; 
  flex: 1 !important; 
  border: none !important; 
}

/* ==END ZAPPY V2 E-COMMERCE THEME CSS== */

/* Added Component Styles */
/* =============================================
   ROKOLAN FEATURES SECTION
   ============================================= */

.rks-features {
  background: var(--surface-color, #f8f9fa);
  padding: 90px 20px;
  font-family: 'Poppins', sans-serif;
  direction: rtl;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative background shapes */
.rks-features::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,138,60,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.rks-features::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,125,166,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Container */
.rks-features__container {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- Header ---- */
.rks-features__header {
  text-align: center;
  margin-bottom: 64px;
}

.rks-features__badge {
  display: inline-block;
  background: rgba(79, 138, 60, 0.12);
  color: var(--primary-color, #4F8A3C);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(79, 138, 60, 0.25);
  margin-bottom: 16px;
}

.rks-features__title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin: 0 0 18px 0;
  line-height: 1.25;
}

.rks-features__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary-color, #707070);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Grid ---- */
.rks-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

/* ---- Card ---- */
.rks-features__card {
  background: #ffffff;
  border: 1px solid rgba(79, 138, 60, 0.15);
  border-radius: 18px;
  padding: 36px 28px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.055);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rks-features__card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  border-radius: 18px 18px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rks-features__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(79, 138, 60, 0.14);
  border-color: rgba(79, 138, 60, 0.35);
}

.rks-features__card:hover::before {
  opacity: 1;
}

/* ---- Icon ---- */
.rks-features__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79,138,60,0.12) 0%, rgba(79,138,60,0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.rks-features__card:hover .rks-features__icon-wrap {
  background: linear-gradient(135deg, rgba(79,138,60,0.22) 0%, rgba(79,138,60,0.09) 100%);
  transform: scale(1.08) rotate(-3deg);
}

.rks-features__icon {
  width: 34px;
  height: 34px;
  color: var(--primary-color, #4F8A3C);
  stroke: var(--primary-color, #4F8A3C);
  display: block;
}

/* ---- Card Text ---- */
.rks-features__card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin: 0;
  line-height: 1.3;
}

.rks-features__card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary-color, #707070);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

/* ---- Card Footer / Tag ---- */
.rks-features__card-footer {
  margin-top: 6px;
}

.rks-features__tag {
  display: inline-block;
  background: rgba(196, 122, 44, 0.1);
  color: var(--accent-color, #C47A2C);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(196, 122, 44, 0.25);
  letter-spacing: 0.03em;
}

/* ---- CTA Strip ---- */
.rks-features__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  border-radius: 20px;
  padding: 36px 48px;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(79, 138, 60, 0.28);
}

.rks-features__cta-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

.rks-features__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--primary-color, #4F8A3C);
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.rks-features__cta-btn:hover,
.rks-features__cta-btn:focus-visible {
  background: var(--accent-color, #C47A2C);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  outline: none;
}

.rks-features__cta-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.rks-features__cta-arrow {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
  /* Mirror arrow for RTL — pointing left */
  transform: scaleX(-1);
  transition: transform 0.25s ease;
}

.rks-features__cta-btn:hover .rks-features__cta-arrow {
  transform: scaleX(-1) translateX(-4px);
}

/* =============================================
   RESPONSIVE — TABLET (2 columns)
   ============================================= */
@media (max-width: 960px) {
  .rks-features {
    padding: 70px 20px;
  }

  .rks-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .rks-features__header {
    margin-bottom: 48px;
  }

  .rks-features__cta {
    padding: 30px 32px;
    gap: 20px;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (1 column)
   ============================================= */
@media (max-width: 600px) {
  .rks-features {
    padding: 56px 16px;
  }

  .rks-features__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 44px;
  }

  .rks-features__card {
    padding: 28px 22px 22px;
  }

  .rks-features__header {
    margin-bottom: 36px;
  }

  .rks-features__title {
    font-size: 1.75rem;
  }

  .rks-features__subtitle {
    font-size: 0.95rem;
  }

  .rks-features__cta {
    padding: 28px 24px;
    flex-direction: column;
    gap: 18px;
    text-align: center;
    border-radius: 16px;
  }

  .rks-features__cta-text {
    font-size: 1.05rem;
  }

  .rks-features__cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Added Component Styles */
/* ===========================
   RKS FEATURES SECTION
   =========================== */

.rks-features {
  background: var(--surface-color, #f8f9fa);
  padding: 90px 20px;
  font-family: 'Poppins', sans-serif;
  direction: rtl;
  text-align: right;
  position: relative;
  overflow: hidden;
}

/* Subtle background decoration */
.rks-features::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(79,138,60,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.rks-features::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(76,125,166,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Container */
.rks-features__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- Header ---- */
.rks-features__header {
  text-align: center;
  margin-bottom: 60px;
}

.rks-features__badge {
  display: inline-block;
  background: rgba(79,138,60,0.12);
  color: var(--primary-color, #4F8A3C);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(79,138,60,0.25);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.rks-features__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.rks-features__title span {
  color: var(--primary-color, #4F8A3C);
}

.rks-features__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary-color, #707070);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Grid ---- */
.rks-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

/* ---- Card ---- */
.rks-features__card {
  background: var(--background-color, #ffffff);
  border: 1px solid rgba(79,138,60,0.15);
  border-radius: 16px;
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.rks-features__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(79,138,60,0.14);
  border-color: rgba(79,138,60,0.35);
}

/* Accent bar at top of card */
.rks-features__card-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.rks-features__card:hover .rks-features__card-accent {
  transform: scaleX(1);
}

/* Icon Wrapper */
.rks-features__card-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: rgba(79,138,60,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.rks-features__card:hover .rks-features__card-icon-wrap {
  background: rgba(79,138,60,0.15);
  transform: scale(1.05);
}

.rks-features__icon {
  width: 44px;
  height: 44px;
  display: block;
}

/* Card Content */
.rks-features__card-content {
  flex: 1;
}

.rks-features__card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.rks-features__card-desc {
  font-size: 0.93rem;
  color: var(--text-secondary-color, #707070);
  line-height: 1.75;
  margin: 0;
}

/* ---- CTA ---- */
.rks-features__cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rks-features__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  color: #ffffff;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 6px 22px rgba(79,138,60,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.rks-features__cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(79,138,60,0.45);
  opacity: 0.93;
}

.rks-features__cta-btn:focus-visible {
  outline: 3px solid var(--primary-color, #4F8A3C);
  outline-offset: 4px;
}

.rks-features__cta-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.rks-features__cta-btn:hover .rks-features__cta-arrow {
  transform: translateX(-4px);
}

/* ===========================
   RESPONSIVE
   =========================== */

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .rks-features {
    padding: 70px 24px;
  }

  .rks-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
  .rks-features {
    padding: 56px 16px;
  }

  .rks-features__header {
    margin-bottom: 40px;
  }

  .rks-features__title {
    font-size: 1.6rem;
  }

  .rks-features__subtitle {
    font-size: 0.95rem;
  }

  .rks-features__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rks-features__card {
    padding: 28px 22px 24px;
  }

  .rks-features__card-icon-wrap {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
  }

  .rks-features__icon {
    width: 36px;
    height: 36px;
  }

  .rks-features__card-title {
    font-size: 1.05rem;
  }

  .rks-features__card-desc {
    font-size: 0.9rem;
  }

  .rks-features__cta-btn {
    font-size: 0.95rem;
    padding: 13px 28px;
    width: 100%;
    justify-content: center;
  }
}

/* Added Component Styles */
/* ===================================
   ROKOSAN ROKOACTIVE SECTION
   =================================== */

.rokosan-rokoactive-section {
  background: var(--background-color, #ffffff);
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  direction: rtl;
  color: var(--text-color, #4a4a4a);
  overflow: hidden;
}

.rokosan-rokoactive-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Header --- */
.rokosan-rokoactive-header {
  text-align: center;
  margin-bottom: 60px;
}

.rokosan-rokoactive-badge {
  display: inline-block;
  background: rgba(79, 138, 60, 0.12);
  color: var(--primary-color, #4F8A3C);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(79, 138, 60, 0.3);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.rokosan-rokoactive-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-color, #4F8A3C);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.rokosan-rokoactive-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary-color, #707070);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.rokosan-rokoactive-divider {
  width: 70px;
  height: 4px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  border-radius: 2px;
  margin: 0 auto;
}

/* --- Hero Block --- */
.rokosan-rokoactive-hero {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  background: var(--surface-color, #f8f9fa);
  border-radius: 20px;
  padding: 50px 50px;
  box-shadow: 0 4px 30px rgba(79, 138, 60, 0.08);
  border: 1px solid rgba(79, 138, 60, 0.1);
}

.rokosan-rokoactive-hero-image-wrap {
  flex: 0 0 380px;
  position: relative;
}

.rokosan-rokoactive-hero-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.rokosan-rokoactive-hero-badge-organic {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-color, #4F8A3C);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(79, 138, 60, 0.4);
}

.rokosan-rokoactive-hero-content {
  flex: 1;
}

.rokosan-rokoactive-hero-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-color, #4F8A3C);
  margin: 0 0 18px 0;
}

.rokosan-rokoactive-hero-desc {
  font-size: 1rem;
  color: var(--text-color, #4a4a4a);
  line-height: 1.8;
  margin-bottom: 14px;
}

.rokosan-rokoactive-hero-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rokosan-rokoactive-hero-list li {
  font-size: 0.97rem;
  color: var(--text-color, #4a4a4a);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rokosan-rokoactive-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary-color, #4F8A3C);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.rokosan-rokoactive-cta-btn {
  display: inline-block;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(79, 138, 60, 0.35);
}

.rokosan-rokoactive-cta-btn:hover,
.rokosan-rokoactive-cta-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(79, 138, 60, 0.5);
  outline: none;
}

/* --- Benefits Grid --- */
.rokosan-rokoactive-benefits-header {
  text-align: center;
  margin-bottom: 36px;
}

.rokosan-rokoactive-benefits-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin: 0;
  position: relative;
  display: inline-block;
}

.rokosan-rokoactive-benefits-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-color, #4F8A3C);
  border-radius: 2px;
  margin: 10px auto 0;
}

.rokosan-rokoactive-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.rokosan-rokoactive-benefit-card {
  background: #ffffff;
  border: 1px solid rgba(79, 138, 60, 0.18);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(79, 138, 60, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rokosan-rokoactive-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(79, 138, 60, 0.15);
  border-color: rgba(79, 138, 60, 0.4);
}

.rokosan-rokoactive-benefit-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.rokosan-rokoactive-benefit-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color, #4F8A3C);
  margin: 0 0 12px 0;
}

.rokosan-rokoactive-benefit-desc {
  font-size: 0.93rem;
  color: var(--text-secondary-color, #707070);
  line-height: 1.7;
  margin: 0;
}

/* --- Usage Section --- */
.rokosan-rokoactive-usage-section {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  background: linear-gradient(135deg, rgba(79, 138, 60, 0.04) 0%, rgba(76, 125, 166, 0.04) 100%);
  border-radius: 20px;
  padding: 50px;
  border: 1px solid rgba(79, 138, 60, 0.1);
}

.rokosan-rokoactive-usage-image-wrap {
  flex: 0 0 360px;
}

.rokosan-rokoactive-usage-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.rokosan-rokoactive-usage-content {
  flex: 1;
}

.rokosan-rokoactive-usage-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-color, #4F8A3C);
  margin: 0 0 30px 0;
}

.rokosan-rokoactive-usage-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.rokosan-rokoactive-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.rokosan-rokoactive-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(79, 138, 60, 0.3);
}

.rokosan-rokoactive-step-text {
  flex: 1;
  padding-top: 4px;
}

.rokosan-rokoactive-step-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin-bottom: 4px;
}

.rokosan-rokoactive-step-text p {
  font-size: 0.93rem;
  color: var(--text-secondary-color, #707070);
  line-height: 1.65;
  margin: 0;
}

/* --- Crops Section --- */
.rokosan-rokoactive-crops-section {
  margin-bottom: 70px;
  text-align: center;
}

.rokosan-rokoactive-crops-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin: 0 0 36px 0;
}

.rokosan-rokoactive-crops-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.rokosan-rokoactive-crop-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid rgba(79, 138, 60, 0.2);
  border-radius: 14px;
  padding: 22px 28px;
  min-width: 110px;
  box-shadow: 0 2px 10px rgba(79, 138, 60, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  cursor: default;
}

.rokosan-rokoactive-crop-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(79, 138, 60, 0.15);
  border-color: var(--primary-color, #4F8A3C);
  background: rgba(79, 138, 60, 0.04);
}

.rokosan-rokoactive-crop-icon {
  font-size: 2rem;
  line-height: 1;
}

.rokosan-rokoactive-crop-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color, #4a4a4a);
}

/* --- CTA Banner --- */
.rokosan-rokoactive-cta-banner {
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  border-radius: 20px;
  padding: 60px 50px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(79, 138, 60, 0.3);
  position: relative;
  overflow: hidden;
}

.rokosan-rokoactive-cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.rokosan-rokoactive-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.rokosan-rokoactive-cta-content {
  position: relative;
  z-index: 1;
}

.rokosan-rokoactive-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px 0;
}

.rokosan-rokoactive-cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.rokosan-rokoactive-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.rokosan-rokoactive-cta-phone,
.rokosan-rokoactive-cta-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.rokosan-rokoactive-cta-phone {
  background: #ffffff;
  color: var(--primary-color, #4F8A3C);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.rokosan-rokoactive-cta-phone:hover,
.rokosan-rokoactive-cta-phone:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  outline: none;
}

.rokosan-rokoactive-cta-email {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.7);
}

.rokosan-rokoactive-cta-email:hover,
.rokosan-rokoactive-cta-email:focus {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}

/* ===================================
   RESPONSIVE – TABLET (max-width: 1024px)
   =================================== */
@media (max-width: 1024px) {
  .rokosan-rokoactive-hero {
    gap: 40px;
    padding: 40px;
  }

  .rokosan-rokoactive-hero-image-wrap {
    flex: 0 0 300px;
  }

  .rokosan-rokoactive-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rokosan-rokoactive-usage-section {
    gap: 40px;
    padding: 40px;
  }

  .rokosan-rokoactive-usage-image-wrap {
    flex: 0 0 280px;
  }
}

/* ===================================
   RESPONSIVE – MOBILE (max-width: 768px)
   =================================== */
@media (max-width: 768px) {
  .rokosan-rokoactive-section {
    padding: 60px 16px;
  }

  .rokosan-rokoactive-title {
    font-size: 2rem;
  }

  .rokosan-rokoactive-subtitle {
    font-size: 1rem;
  }

  .rokosan-rokoactive-hero {
    flex-direction: column;
    gap: 30px;
    padding: 28px 22px;
  }

  .rokosan-rokoactive-hero-image-wrap {
    flex: 0 0 auto;
    width: 100%;
  }

  .rokosan-rokoactive-hero-img {
    height: 220px;
  }

  .rokosan-rokoactive-hero-title {
    font-size: 1.5rem;
  }

  .rokosan-rokoactive-benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rokosan-rokoactive-benefit-card {
    padding: 24px 20px;
  }

  .rokosan-rokoactive-usage-section {
    flex-direction: column;
    gap: 28px;
    padding: 28px 22px;
  }

  .rokosan-rokoactive-usage-image-wrap {
    flex: 0 0 auto;
    width: 100%;
  }

  .rokosan-rokoactive-usage-img {
    height: 220px;
  }

  .rokosan-rokoactive-usage-title {
    font-size: 1.5rem;
  }

  .rokosan-rokoactive-crops-grid {
    gap: 12px;
  }

  .rokosan-rokoactive-crop-item {
    min-width: 90px;
    padding: 16px 18px;
  }

  .rokosan-rokoactive-cta-banner {
    padding: 40px 24px;
  }

  .rokosan-rokoactive-cta-title {
    font-size: 1.5rem;
  }

  .rokosan-rokoactive-cta-desc {
    font-size: 0.97rem;
  }

  .rokosan-rokoactive-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .rokosan-rokoactive-cta-phone,
  .rokosan-rokoactive-cta-email {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .rokosan-rokoactive-benefits-title {
    font-size: 1.6rem;
  }

  .rokosan-rokoactive-crops-title {
    font-size: 1.5rem;
  }
}

/* ===================================
   RESPONSIVE – SMALL MOBILE (max-width: 480px)
   =================================== */
@media (max-width: 480px) {
  .rokosan-rokoactive-title {
    font-size: 1.7rem;
  }

  .rokosan-rokoactive-hero {
    padding: 20px 16px;
  }

  .rokosan-rokoactive-usage-section {
    padding: 20px 16px;
  }

  .rokosan-rokoactive-step-num {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
}

/* Added Component Styles */
/* ===== ROKOSAN FEATURES SECTION ===== */
.rks-features {
  background: var(--surface-color, #f8f9fa);
  padding: 90px 20px;
  font-family: 'Poppins', sans-serif;
  direction: rtl;
  position: relative;
  overflow: hidden;
}

/* Decorative background blobs */
.rks-features::before,
.rks-features::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.rks-features::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 138, 60, 0.07) 0%, transparent 70%);
  top: -120px;
  right: -120px;
}

.rks-features::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76, 125, 166, 0.06) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

/* Container */
.rks-features__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.rks-features__header {
  text-align: center;
  margin-bottom: 60px;
}

.rks-features__badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(79, 138, 60, 0.12), rgba(79, 138, 60, 0.06));
  color: var(--primary-color, #4F8A3C);
  border: 1px solid rgba(79, 138, 60, 0.3);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.rks-features__title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  line-height: 1.3;
  margin: 0 auto 18px;
  max-width: 700px;
}

.rks-features__title span {
  color: var(--primary-color, #4F8A3C);
}

.rks-features__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary-color, #707070);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

/* Grid */
.rks-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.rks-features__card {
  background: #ffffff;
  border: 1px solid rgba(79, 138, 60, 0.15);
  border-radius: 18px;
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.rks-features__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(79, 138, 60, 0.14);
  border-color: rgba(79, 138, 60, 0.4);
}

.rks-features__card:hover .rks-features__card-accent {
  opacity: 1;
  transform: scaleX(1);
}

/* Card accent bar at bottom */
.rks-features__card-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  border-radius: 0 0 18px 18px;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.35s ease;
}

/* Icon wrap */
.rks-features__card-icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(79, 138, 60, 0.1), rgba(79, 138, 60, 0.04));
  border: 1.5px solid rgba(79, 138, 60, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.rks-features__card:hover .rks-features__card-icon-wrap {
  background: linear-gradient(135deg, rgba(79, 138, 60, 0.18), rgba(79, 138, 60, 0.08));
  transform: rotate(-4deg) scale(1.06);
}

/* Icon SVG */
.rks-features__icon {
  width: 34px;
  height: 34px;
  color: var(--primary-color, #4F8A3C);
  display: block;
}

/* Card body */
.rks-features__card-body {
  flex: 1;
}

/* Card title */
.rks-features__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin: 0 0 12px;
  line-height: 1.4;
}

/* Card description */
.rks-features__card-desc {
  font-size: 0.93rem;
  color: var(--text-secondary-color, #707070);
  line-height: 1.75;
  margin: 0;
}

/* CTA */
.rks-features__cta-wrap {
  text-align: center;
  margin-top: 56px;
}

.rks-features__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  color: #ffffff;
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 24px rgba(79, 138, 60, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  border: none;
  cursor: pointer;
}

.rks-features__cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(79, 138, 60, 0.45);
  opacity: 0.95;
}

.rks-features__cta-btn:focus-visible {
  outline: 3px solid var(--primary-color, #4F8A3C);
  outline-offset: 4px;
}

.rks-features__cta-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.rks-features__cta-btn:hover .rks-features__cta-arrow {
  transform: translateX(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .rks-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .rks-features {
    padding: 70px 24px;
  }
}

@media (max-width: 640px) {
  .rks-features {
    padding: 56px 16px;
  }

  .rks-features__header {
    margin-bottom: 40px;
  }

  .rks-features__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rks-features__card {
    padding: 28px 22px 26px;
  }

  .rks-features__card-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 18px;
  }

  .rks-features__icon {
    width: 28px;
    height: 28px;
  }

  .rks-features__card-title {
    font-size: 1rem;
  }

  .rks-features__cta-wrap {
    margin-top: 40px;
  }

  .rks-features__cta-btn {
    padding: 13px 28px;
    font-size: 0.93rem;
  }
}

.rks-features-section {
  font-family: 'Poppins', sans-serif;
  direction: rtl;
  background: var(--surface-color, #f8f9fa);
  padding: 117px 20px 104px;
  position: relative;
  overflow: hidden;
}

.rks-features-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(79,138,60,0.08) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.rks-features-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(76,125,166,0.07) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

/* Container */
.rks-features-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.rks-features-header {
  text-align: center;
  margin-bottom: 60px;
}

.rks-features-badge {
  display: inline-block;
  background: rgba(79, 138, 60, 0.12);
  color: var(--primary-color, #4F8A3C);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(79, 138, 60, 0.25);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.rks-features-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin: 0 0 16px;
  line-height: 1.3;
}

.rks-features-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary-color, #707070);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Grid */
.rks-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.rks-feature-card {
  background: var(--background-color, #ffffff);
  border: 1px solid rgba(79, 138, 60, 0.14);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.rks-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(79, 138, 60, 0.14);
  border-color: rgba(79, 138, 60, 0.32);
}

/* Icon wrap */
.rks-feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  margin: 24px 24px 0;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.rks-feature-card:hover .rks-feature-icon-wrap {
  transform: scale(1.08) rotate(-3deg);
}

.rks-icon-green {
  background: rgba(79, 138, 60, 0.12);
  color: var(--primary-color, #4F8A3C);
}

.rks-icon-blue {
  background: rgba(76, 125, 166, 0.12);
  color: var(--secondary-color, #4C7DA6);
}

.rks-icon-accent {
  background: rgba(196, 122, 44, 0.12);
  color: var(--accent-color, #C47A2C);
}

.rks-feature-icon {
  width: 30px;
  height: 30px;
}

/* Image */
.rks-feature-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  margin-top: 16px;
}

.rks-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.rks-feature-card:hover .rks-feature-img {
  transform: scale(1.05);
}

/* Content */
.rks-feature-content {
  padding: 20px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rks-feature-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin: 0 0 10px;
  line-height: 1.4;
}

.rks-feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary-color, #707070);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

/* CTA */
.rks-features-cta {
  text-align: center;
  margin-top: 56px;
}

.rks-features-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(79, 138, 60, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  outline: none;
}

.rks-features-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(79, 138, 60, 0.45);
  opacity: 0.93;
}

.rks-features-btn:focus-visible {
  outline: 3px solid var(--primary-color, #4F8A3C);
  outline-offset: 4px;
}

.rks-btn-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transform: scaleX(-1); /* flip arrow for RTL */
}

/* =========================================
   Responsive – Tablet
   ========================================= */
@media (max-width: 1024px) {
  .rks-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

/* =========================================
   Responsive – Mobile
   ========================================= */
@media (max-width: 640px) {
  .rks-features-section {
    padding: 60px 16px 56px;
  }

  .rks-features-header {
    margin-bottom: 40px;
  }

  .rks-features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rks-features-title {
    font-size: 1.5rem;
  }

  .rks-features-subtitle {
    font-size: 0.97rem;
  }

  .rks-feature-img-wrap {
    height: 180px;
  }

  .rks-features-btn {
    font-size: 0.95rem;
    padding: 13px 28px;
  }
}

/* Added Component Styles */
/* =============================================
   ROKOSAN – Features Section (rks-features)
   ============================================= */

.rks-features-section {
  background: var(--surface-color, #f8f9fa);
  padding: 90px 20px 80px;
  font-family: 'Poppins', sans-serif;
  direction: rtl;
  text-align: right;
  position: relative;
  overflow: hidden;
}

/* Subtle background decoration */
.rks-features-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,138,60,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.rks-features-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,125,166,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Container */
.rks-features-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- Header ---- */
.rks-features-header {
  text-align: center;
  margin-bottom: 60px;
}

.rks-features-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(79,138,60,0.12) 0%, rgba(79,138,60,0.06) 100%);
  color: var(--primary-color, #4F8A3C);
  border: 1.5px solid rgba(79,138,60,0.3);
  border-radius: 50px;
  padding: 6px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.rks-features-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  line-height: 1.3;
  margin: 0 0 18px;
}

.rks-features-title span {
  color: var(--primary-color, #4F8A3C);
}

.rks-features-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-secondary-color, #707070);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---- Grid ---- */
.rks-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

/* ---- Feature Card ---- */
.rks-feature-card {
  background: #ffffff;
  border: 1px solid rgba(79,138,60,0.15);
  border-radius: 16px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.rks-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.rks-feature-card:hover,
.rks-feature-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(79,138,60,0.14);
  border-color: rgba(79,138,60,0.35);
  outline: none;
}

.rks-feature-card:hover::before,
.rks-feature-card:focus::before {
  opacity: 1;
}

.rks-feature-card:focus-visible {
  outline: 2px solid var(--primary-color, #4F8A3C);
  outline-offset: 3px;
}

/* ---- Icon Wrapper ---- */
.rks-feature-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

.rks-feature-card:hover .rks-feature-icon-wrap {
  transform: scale(1.08) rotate(-2deg);
}

.rks-icon-green {
  background: linear-gradient(135deg, rgba(79,138,60,0.14) 0%, rgba(56,98,43,0.08) 100%);
  color: var(--primary-color, #4F8A3C);
}

.rks-icon-blue {
  background: linear-gradient(135deg, rgba(76,125,166,0.14) 0%, rgba(76,125,166,0.06) 100%);
  color: var(--secondary-color, #4C7DA6);
}

.rks-icon-accent {
  background: linear-gradient(135deg, rgba(196,122,44,0.14) 0%, rgba(196,122,44,0.06) 100%);
  color: var(--accent-color, #C47A2C);
}

.rks-feature-icon {
  width: 36px;
  height: 36px;
}

/* ---- Content ---- */
.rks-feature-content {
  flex: 1;
}

.rks-feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color, #4a4a4a);
  margin: 0 0 12px;
  line-height: 1.4;
}

.rks-feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary-color, #707070);
  line-height: 1.75;
  margin: 0;
}

/* ---- Tag ---- */
.rks-feature-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--surface-color, #f8f9fa);
  color: var(--text-secondary-color, #707070);
  border: 1px solid rgba(0,0,0,0.08);
  letter-spacing: 0.02em;
  align-self: flex-start;
  transition: background 0.22s ease, color 0.22s ease;
}

.rks-feature-card:hover .rks-feature-tag {
  background: rgba(79,138,60,0.1);
  color: var(--primary-color, #4F8A3C);
  border-color: rgba(79,138,60,0.25);
}

/* ---- CTA Block ---- */
.rks-features-cta {
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, rgba(79,138,60,0.04) 100%);
  border: 1.5px solid rgba(79,138,60,0.2);
  border-radius: 20px;
  padding: 44px 32px;
  box-shadow: 0 4px 24px rgba(79,138,60,0.08);
}

.rks-features-cta-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--text-color, #4a4a4a);
  margin: 0 0 24px;
}

.rks-features-cta-btn {
  display: inline-block;
  background: var(--gradient-primary, linear-gradient(180deg, #498038 0%, #38622B 100%));
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 42px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(79,138,60,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.rks-features-cta-btn:hover,
.rks-features-cta-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(79,138,60,0.42);
  filter: brightness(1.08);
  outline: none;
}

.rks-features-cta-btn:focus-visible {
  outline: 2px solid var(--primary-color, #4F8A3C);
  outline-offset: 4px;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .rks-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .rks-features-section {
    padding: 70px 24px 60px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .rks-features-section {
    padding: 56px 16px 48px;
  }

  .rks-features-header {
    margin-bottom: 40px;
  }

  .rks-features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rks-feature-card {
    padding: 28px 22px 22px;
  }

  .rks-feature-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .rks-feature-icon {
    width: 30px;
    height: 30px;
  }

  .rks-features-cta {
    padding: 32px 20px;
  }

  .rks-features-cta-btn {
    padding: 13px 32px;
    font-size: 0.95rem;
  }
}

.contact-contact-section .contact-details-list.zappy-inline-grid-active {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: unset !important;
}

.contact-contact-section .contact-details-list .contact-detail-item {
  display: grid !important;
  grid-template-columns: 44px 1fr !important;
  align-items: flex-start !important;
  gap: 0px !important;
  width: 100% !important;
}

#layout-1778241938257 .awards-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px;
  margin-top: 0;
  justify-content: center;
  align-items: center;
}

#layout-1778241938257 .awards-photo-item {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  aspect-ratio: 3 / 4;
}

#layout-1778241938257 .awards-photo-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-elevated);
}

#layout-1778241938257 .awards-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
#layout-1778241938257 .awards-photo-grid {
  grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 600px) {
#layout-1778241938257 .awards-photo-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
}

#layout-1778241938257 .awards-photo-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

#layout-1778241938257 .awards-photo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

#layout-1778241938257 .awards-photo-item [data-zappy-zoom-wrapper] {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

#layout-1778241938257 .awards-photo-item [data-zappy-zoom-wrapper="true"] {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#layout-1778241938257 .awards-photo-item {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* ZAPPY_MOBILE_NAV_ICON_ALIGNMENT_FIX */
/* ZAPPY_MOBILE_NAV_ICON_ALIGNMENT_FIX_V2 */
/* Keep mobile hamburger / phone buttons vertically centered even when the
   generated navbar's children are all absolute/fixed and the navbar would
   otherwise collapse to the top edge. */
@media (max-width: 768px) {
  .navbar,
  nav.navbar {
    min-height: 70px !important;
  }

  .navbar > .mobile-toggle,
  nav.navbar > .mobile-toggle,
  .navbar .mobile-toggle,
  nav.navbar .mobile-toggle,
  #mobileToggle,
  .navbar > .phone-header-btn,
  nav.navbar > .phone-header-btn,
  .navbar .phone-header-btn,
  nav.navbar .phone-header-btn {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
  }

  .navbar > .mobile-toggle,
  nav.navbar > .mobile-toggle,
  .navbar .mobile-toggle,
  nav.navbar .mobile-toggle,
  #mobileToggle {
    display: flex !important;
  }

  html:not([data-zappy-site-type="ecommerce"]) .navbar > .phone-header-btn,
  html:not([data-zappy-site-type="ecommerce"]) nav.navbar > .phone-header-btn,
  html:not([data-zappy-site-type="ecommerce"]) .navbar .phone-header-btn,
  html:not([data-zappy-site-type="ecommerce"]) nav.navbar .phone-header-btn {
    display: flex !important;
  }

  html[data-zappy-site-type="ecommerce"] .phone-header-btn,
  body[data-zappy-site-type="ecommerce"] .phone-header-btn,
  html[data-zappy-site-type="ecommerce"] header .phone-header-btn,
  html[data-zappy-site-type="ecommerce"] nav .phone-header-btn {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
}

.services-cta-section .services-cta-badge span,
.services-cta-section .services-cta-heading,
.services-cta-section .services-cta-subtext,
.services-cta-section .services-cta-feature-content strong,
.services-cta-section .services-cta-feature-content span,
.services-cta-section .services-cta-contact-item,
.services-cta-section .services-cta-contact-item span,
.services-cta-section .services-cta-contact-sep,
.services-cta-section .services-cta-btn-ghost,
.services-cta-section .services-cta-btn-ghost span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-subtext {
  color: rgba(255, 255, 255, 0.85) !important;
}

.services-cta-section .services-cta-feature-content span {
  color: rgba(255, 255, 255, 0.75) !important;
}

.services-cta-section .services-cta-contact-item {
  color: rgba(255, 255, 255, 0.75) !important;
}

.services-cta-section .services-cta-contact-item span {
  color: rgba(255, 255, 255, 0.75) !important;
}

#zappy-section-1 p, #zappy-section-1 h2, #zappy-section-1 span, #zappy-section-1 div {
  color: var(--text-dark) !important;
}

.services-cta-section .services-cta-badge span,
.services-cta-section .services-cta-heading,
.services-cta-section .services-cta-subtext,
.services-cta-section .services-cta-feature-content strong,
.services-cta-section .services-cta-feature-content span,
.services-cta-section .services-cta-contact-item,
.services-cta-section .services-cta-contact-item span,
.services-cta-section .services-cta-contact-sep,
.services-cta-section .services-cta-btn-ghost,
.services-cta-section .services-cta-btn-ghost span,
.services-cta-section .services-cta-contact-static {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-subtext {
  color: rgba(255, 255, 255, 0.85) !important;
}

.services-cta-section .services-cta-feature-content span {
  color: rgba(255, 255, 255, 0.75) !important;
}

.services-cta-section .services-cta-contact-item,
.services-cta-section .services-cta-contact-item span {
  color: rgba(255, 255, 255, 0.75) !important;
}

.services-cta-section .services-cta-feature-content strong {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-feature-content span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-item span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-btn-ghost span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-badge span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-subtext {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-item {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-sep {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-btn-ghost {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-heading {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-badge span,
.services-cta-section .services-cta-heading,
.services-cta-section .services-cta-subtext,
.services-cta-section .services-cta-feature-content strong,
.services-cta-section .services-cta-feature-content span,
.services-cta-section .services-cta-btn-ghost,
.services-cta-section .services-cta-btn-ghost span,
.services-cta-section .services-cta-contact-item,
.services-cta-section .services-cta-contact-item span,
.services-cta-section .services-cta-contact-sep {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-feature-content strong {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-feature-content span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-item span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-btn-ghost span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-badge span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-subtext {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-item {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-sep {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-btn-ghost {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-static {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-heading {
  color: var(--background-color) !important;
}

#services-cta-section .services-cta-contact-strip a.services-cta-contact-item,
#services-cta-section .services-cta-contact-strip a.services-cta-contact-item span,
#services-cta-section .services-cta-contact-strip span.services-cta-contact-item,
#services-cta-section .services-cta-contact-strip span.services-cta-contact-item span,
#services-cta-section .services-cta-contact-strip .services-cta-contact-sep {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-item,
.services-cta-section .services-cta-contact-item a,
.services-cta-section .services-cta-contact-item span,
.services-cta-section .services-cta-contact-item svg {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-badge span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-heading {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-subtext {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-feature-content strong {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-feature-content span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-item span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-sep {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-btn-ghost {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-btn-ghost span {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-contact-static {
  color: var(--background-color) !important;
}

.services-hero-section,
.services-hero-section .services-hero-title,
.services-hero-section .services-hero-subtitle,
.services-hero-section .services-hero-breadcrumb,
.services-hero-section .services-hero-breadcrumb-sep,
.services-hero-section .services-hero-breadcrumb span {
  color: var(--background-color) !important;
}

#zappy-section-1 p,
#zappy-section-1 h2,
#zappy-section-1 span,
#zappy-section-1 div,
#zappy-section-1 h1,
#zappy-section-1 h3,
#zappy-section-1 h4,
#zappy-section-1 a,
#zappy-section-1 strong,
#zappy-section-1 li {
  color: var(--background-color) !important;
}

.services-cta-section .services-cta-badge,
.services-cta-section .services-cta-badge svg,
.services-cta-section .services-cta-heading,
.services-cta-section .services-cta-subtext,
.services-cta-section .services-cta-feature-content strong,
.services-cta-section .services-cta-feature-content span,
.services-cta-section .services-cta-btn-primary,
.services-cta-section .services-cta-btn-primary:hover,
.services-cta-section .services-cta-btn-ghost,
.services-cta-section .services-cta-btn-ghost:hover,
.services-cta-section .services-cta-btn-ghost svg,
.services-cta-section .services-cta-contact-item,
.services-cta-section .services-cta-contact-item span,
.services-cta-section .services-cta-contact-item svg,
.services-cta-section .services-cta-contact-sep,
.services-cta-section a,
.services-cta-section p,
.services-cta-section span,
.services-cta-section strong {
  color: var(--background-color) !important;
}

#services-hero-section h1,
#services-hero-section h2,
#services-hero-section h3,
#services-hero-section h4,
#services-hero-section p,
#services-hero-section span,
#services-hero-section a,
#services-hero-section div {
color: var(--background-color) !important;
}

#zappy-section-1 h1,
#zappy-section-1 h2,
#zappy-section-1 h3,
#zappy-section-1 h4,
#zappy-section-1 p,
#zappy-section-1 span,
#zappy-section-1 a,
#zappy-section-1 div,
#zappy-section-1 strong {
color: var(--background-color) !important;
}

#services-cta-section h1,
#services-cta-section h2,
#services-cta-section h3,
#services-cta-section h4,
#services-cta-section p,
#services-cta-section span,
#services-cta-section a,
#services-cta-section div,
#services-cta-section strong,
#services-cta-section button {
color: var(--background-color) !important;
}
/* 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 html[dir="rtl"] 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 */
  html[dir="rtl"] .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 */
  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,
  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 */
  html[dir="rtl"] .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 ========== */


/* ========== PRODUCT ICON STYLES (product-icon-styles) ========== */
.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; }
.profile-section, .addresses-section, .favorites-section, .orders-section { border: 1px solid var(--border-color, rgba(128,128,128,0.2)); border-radius: 12px; padding: 24px; margin-bottom: 24px; background: transparent; }
.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; }
.favorite-card-body { padding: 12px; }
.favorite-card-body h4 { font-size: 0.875rem; font-weight: 500; color: var(--text-color, #1f2937); margin: 0 0 6px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.favorite-price { font-weight: 600; color: var(--primary-color, #ff0083); font-size: 0.9rem; }
.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; } }
/* ========== END PRODUCT ICON STYLES ========== */

/* ========== 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_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: clip !important;
    box-sizing: border-box !important;
  }
  #navMenu,
  .nav-menu,
  html[dir="rtl"] .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;
}
html[dir="rtl"] #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;
  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,
html[dir="rtl"] #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;
  }
  html[dir="rtl"] .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: #4f8a3c;
  --cc-btn-primary-color: #ffffff;
  --cc-btn-primary-border: #4f8a3c;
  --cc-btn-primary-hover-bg: #367123;
  --cc-btn-primary-hover-border: #367123;
  --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: #4f8a3c;
}

#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(79, 138, 60, 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: #4f8a3c !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: #367123 !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;
}
html[dir="rtl"] .whatsapp-float { right: 20px !important; left: auto !important; }
html[dir="ltr"] .whatsapp-float, html:not([dir]) .whatsapp-float { left: 20px !important; right: auto !important; }

html[dir="rtl"] #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; }

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