

/* 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');
}
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #2F6B4F;
  --secondary: #C98E5B;
  --accent: #C98E5B;
  --bg-light: #FFFFFF;
  --bg-dark: #202124;
  --text-dark: #202124;
  --text-light: #FFFFFF;
  --text-muted: #6F6A63;
  --border-light: #E6E0D7;
  --border-dark: #3A3C3F;
  --nav-bg: transparent;
  --nav-text: #FFFFFF;
  --nav-text-hover: #C98E5B;

  --radius-sm: 4px;
  --radius-card: 8px;
  --radius-btn: 6px;
  --radius-img: 8px;
  --radius-badge: 4px;
  --radius-input: 6px;
  --shadow-subtle: 0 2px 6px rgba(71,54,34,0.12);
  --shadow-card: 0 8px 20px rgba(71,54,34,0.14);
  --shadow-elevated: 0 18px 40px rgba(71,54,34,0.18);
  --shadow-btn-hover: 0 8px 18px rgba(47,107,85,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: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;

  --gradient-primary: linear-gradient(180deg, #3B785F 0%, #2F6B55 100%);
  --gradient-gold-shine: linear-gradient(90deg, #C9913B 0%, #E7C372 50%, #C9913B 100%);
  --gradient-secondary: linear-gradient(180deg, #DC8A39 0%, #D7812E 100%);
  --gradient-gold-accent: linear-gradient(180deg, #E2B15C 0%, #C9913B 100%);
  --gradient-dark-section: linear-gradient(180deg, #F7F3EC 0%, #EEE6DB 100%);
  --gradient-overlay-dark: linear-gradient(90deg, rgba(247,243,236,0.9) 0%, rgba(247,243,236,0.78) 44%, rgba(247,243,236,0.18) 100%);
  --gradient-light-section: linear-gradient(180deg, #FFFDF8 0%, #F3EEE5 100%);
  --gradient-overlay-light: linear-gradient(180deg, rgba(255,253,248,0.92) 0%, rgba(255,253,248,0.82) 100%);
}

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

html {
  font-size: 16px !important;
  scroll-behavior: smooth;
  direction: rtl;
  -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;
  direction: rtl;
  unicode-bidi: embed;
}

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

ul,
ol {
  list-style: none;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

fieldset {
  border: none;
}

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

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 !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 0.75rem !important;
  margin-top: 0.5rem !important;
}

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

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

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

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,
figcaption,
blockquote,
cite,
address {
  font-family: 'Rubik', sans-serif;
}

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

a:hover {
  color: var(--primary);
  opacity: 0.85;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  opacity: 0.8;
}

blockquote {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-muted);
  border-right: 3px solid var(--accent);
  padding-right: 1.25rem;
  margin: 1.5rem 0;
}

code,
pre {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  background-color: var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
}

pre {
  padding: 1rem;
  overflow-x: auto;
}

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

@media (max-width: 1024px) {
  h1 {
    font-size: 36px !important;
  }

  h2 {
    font-size: 28px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  p {
    font-size: 15px !important;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.btn-ghost:hover {
  background: rgba(47, 107, 79, 0.08);
  box-shadow: none;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

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

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--text-light) !important; }
.text-dark { color: var(--text-dark) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-light { background-color: var(--bg-light) !important; }
.bg-dark { background-color: var(--bg-dark) !important; }

.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }

.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }
.d-inline-flex { display: inline-flex !important; }

.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-col { flex-direction: column !important; }

.gap-sm { gap: 8px !important; }
.gap-md { gap: var(--spacing-element-gap) !important; }
.gap-lg { gap: var(--spacing-card-gap) !important; }
.gap-xl { gap: var(--spacing-card-padding) !important; }

.w-full { width: 100% !important; }
.h-full { height: 100% !important; }

.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-card { border-radius: var(--radius-card) !important; }
.rounded-btn { border-radius: var(--radius-btn) !important; }
.rounded-full { border-radius: 9999px !important; }

.shadow-subtle { box-shadow: var(--shadow-subtle) !important; }
.shadow-card { box-shadow: var(--shadow-card) !important; }
.shadow-elevated { box-shadow: var(--shadow-elevated) !important; }

.overflow-hidden { overflow: hidden !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.pt-section { padding-top: var(--spacing-section) !important; }
.pb-section { padding-bottom: var(--spacing-section) !important; }

.card {
  background: var(--bg-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-card-padding);
  transition: var(--transition-hover);
  border: 1px solid var(--border-light);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-badge);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Rubik', sans-serif;
  line-height: 1;
}

.badge-primary {
  background: rgba(47, 107, 79, 0.12);
  color: var(--primary);
}

.badge-secondary {
  background: rgba(201, 142, 91, 0.15);
  color: var(--secondary);
}

.input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select {
  display: block;
  width: 100%;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-light);
  padding: 11px 14px;
  font-size: 15px;
  font-family: 'Rubik', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition-default);
  direction: rtl;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 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;
  opacity: 1;
}

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

@media (max-width: 768px) {
  .section {
    padding-top: var(--spacing-section-mobile);
    padding-bottom: var(--spacing-section-mobile);
  }

  .container {
    padding: 0 16px;
  }

  .card {
    padding: 20px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }

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

  .d-md-none {
    display: none !important;
  }

  .d-md-block {
    display: block !important;
  }

  .d-md-flex {
    display: flex !important;
  }

  .text-md-center {
    text-align: center !important;
  }
}

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

  .btn {
    padding: 11px 18px;
    font-size: 13px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1025px) {
  .d-lg-flex {
    display: flex !important;
  }

  .d-lg-none {
    display: none !important;
  }
}

/* Navbar Styles */
:root {
  --nav-bg: transparent;
  --nav-text: #FFFFFF;
  --nav-text-hover: #C98E5B;
  --primary: #2F6B4F;
  --secondary: #C98E5B;
  --accent: #C98E5B;
  --bg-light: #FFFFFF;
  --bg-dark: #202124;
  --text-dark: #202124;
  --text-light: #FFFFFF;
  --text-muted: #6F6A63;
  --border-light: #E6E0D7;
  --border-dark: #3A3C3F;
}

.navbar {
  background: var(--nav-bg);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 0;
  direction: rtl;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(32, 33, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 0;
  direction: rtl;
}

.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;
  align-items: center;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 6px;
  position: relative;
  transition: color 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}

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

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

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

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

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, background 0.22s ease;
  text-transform: none;
  line-height: 1;
}

.nav-cta-btn:hover {
  background: #245a40;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(47, 107, 85, 0.22);
  opacity: 0.97;
}

.nav-cta-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--nav-text);
  padding: 8px;
  border-radius: 6px;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  transition: color 0.22s ease, background 0.22s ease;
}

.mobile-toggle:hover {
  color: var(--nav-text-hover);
  background: rgba(255, 255, 255, 0.1);
}

.phone-header-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--nav-text);
  padding: 8px;
  border-radius: 6px;
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  transition: color 0.22s ease, background 0.22s ease;
}

.phone-header-btn:hover {
  color: var(--nav-text-hover);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .navbar {
    background: rgba(32, 33, 36, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-toggle {
    display: flex;
  }

  .phone-header-btn {
    display: flex;
  }

  .nav-container {
    padding: 0 16px;
    justify-content: center;
    position: relative;
    height: 64px;
  }

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

  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: rgba(32, 33, 36, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 16px;
    margin: 0;
    border-top: 1px solid var(--border-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }

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

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .nav-cta-container {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 12px;
  }
}
:root {
  --nav-bg: transparent;
  --nav-text: #FFFFFF;
  --nav-text-hover: #C98E5B;
  --primary: #2F6B4F;
  --secondary: #C98E5B;
  --accent: #C98E5B;
  --bg-light: #FFFFFF;
  --bg-dark: #202124;
  --text-dark: #202124;
  --text-light: #FFFFFF;
  --text-muted: #6F6A63;
  --border-light: #E6E0D7;
  --border-dark: #3A3C3F;
}

.navbar {
  background: var(--nav-bg);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 0;
  direction: rtl;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(32, 33, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 0;
  direction: rtl;
}

.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;
  align-items: center;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 6px;
  position: relative;
  transition: color 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}

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

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

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

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

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, background 0.22s ease;
  text-transform: none;
  line-height: 1;
}

.nav-cta-btn:hover {
  background: #245a40;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(47, 107, 85, 0.22);
  opacity: 0.97;
}

.nav-cta-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--nav-text);
  padding: 8px;
  border-radius: 6px;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  transition: color 0.22s ease, background 0.22s ease;
}

.mobile-toggle:hover {
  color: var(--nav-text-hover);
  background: rgba(255, 255, 255, 0.1);
}

.phone-header-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--nav-text);
  padding: 8px;
  border-radius: 6px;
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  transition: color 0.22s ease, background 0.22s ease;
}

.phone-header-btn:hover {
  color: var(--nav-text-hover);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .navbar {
    background: rgba(32, 33, 36, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-toggle {
    display: flex;
  }

  .phone-header-btn {
    display: flex;
  }

  .nav-container {
    padding: 0 16px;
    justify-content: center;
    position: relative;
    height: 64px;
  }

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

  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: rgba(32, 33, 36, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 16px;
    margin: 0;
    border-top: 1px solid var(--border-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }

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

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .nav-cta-container {
    display: none;
  }
}

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


/* ============================================
   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, #2F6B4F));
  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-light)) !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-light)) !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-light)) !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-light)) !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-dark, #1a1a1a) !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-light)) !important;
    white-space: normal !important;
  }
  .mobile-submenu-toggle {
    color: var(--nav-text, var(--text-light)) !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: 100% !important;
  max-width: none !important;
  overflow-x: hidden !important;
}

/* iOS Safari fix: When the page has hidden horizontal overflow (which iOS
   does not clip on the <html> element), width: 100% / 100vw on a fixed
   element resolves to the visual viewport width, which can exceed the
   actual layout viewport. This pushes children positioned with right:0
   off-screen to the right.

   Two-part fix:
   1. Navbar — left:0 + right:0 + width:auto + overflow-x:hidden anchors
      the navbar to the real layout viewport on all mobile browsers.
   2. Mobile dropdown menu — position:fixed + right:0 on the menu still
      anchors to the iOS visual viewport (regardless of its navbar parent).
      We use a CSS variable --ios-viewport-gap, set by a runtime JS snippet
      (see ensureIOSNavbarGapFix in githubService) to
      (window.innerWidth - document.documentElement.clientWidth). Shifting
      the menu's 'right' by that gap lands it on the real layout-viewport
      right edge on iOS, and is a no-op on every other browser (gap=0).  */
@media (max-width: 768px) {
  .navbar,
  nav.navbar {
    width: auto !important;
    max-width: none !important;
    left: 0 !important;
    right: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  /* Selector list mirrors the RTL selectors used elsewhere in Zappy CSS so
     this rule wins the cascade via equal-or-higher specificity. */
  #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 {
    position: fixed !important;
    top: var(--zappy-navbar-bottom, 70px) !important;
    right: var(--ios-viewport-gap, 0px) !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 {
  --footer-bg: #1a2e24;
  --footer-bg-bottom: #141f1a;
  --footer-text: #FFFFFF;
  --footer-muted: rgba(255, 255, 255, 0.62);
  --footer-link: rgba(255, 255, 255, 0.82);
  --footer-link-hover: #C98E5B;
  --footer-border: rgba(255, 255, 255, 0.1);
  --footer-accent: #C98E5B;
  --footer-heading-color: #FFFFFF;
  --footer-social-bg: rgba(255, 255, 255, 0.08);
  --footer-social-hover: #C98E5B;
  --radius: 6px;
  --radius-card: 8px;
  --shadow: 0 2px 6px rgba(71, 54, 34, 0.12);
  --transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;

  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-family: 'Rubik', sans-serif;
  direction: rtl;
  text-align: right;
}

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

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

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

/* ── Brand Column ── */
.footer-col--brand .footer-logo-wrap {
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
}

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

.footer-tagline {
  color: var(--footer-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0 0 1.4rem;
  max-width: 260px;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--footer-social-bg);
  color: var(--footer-text);
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--footer-border);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--footer-social-hover);
  border-color: var(--footer-social-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ── Column Headings ── */
.footer-heading {
  color: var(--footer-heading-color);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--footer-accent);
  display: inline-block;
}

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

.footer-nav li a {
  color: var(--footer-link);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.22s ease, opacity 0.22s ease;
  border-radius: var(--radius);
}

.footer-nav li a::before {
  content: '←';
  font-size: 0.75rem;
  color: var(--footer-accent);
  
  transform: translateX(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  display: inline-block;
}

.footer-nav li a:hover {
  color: var(--footer-link-hover);
}

.footer-nav li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ── 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 {
  color: var(--footer-accent);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.contact-text {
  color: var(--footer-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-text a {
  color: var(--footer-link);
  text-decoration: none;
  transition: color 0.22s ease;
}

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

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

.footer-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.87rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--footer-border);
}

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

.hours-day {
  color: var(--footer-muted);
}

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

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

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

.footer-copyright {
  color: var(--footer-muted);
  font-size: 0.82rem;
  margin: 0;
}

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

.footer-legal a {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.22s ease;
  border-radius: var(--radius);
  padding: 2px 4px;
}

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

.footer-divider {
  color: var(--footer-border);
  font-size: 0.8rem;
  user-select: none;
}

.zappy-attribution {
  color: var(--footer-accent) !important;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: opacity 0.22s ease !important;
}

.zappy-attribution:hover {
  opacity: 0.8;
  color: var(--footer-accent) !important;
}

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

  .footer-col--brand {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 100%;
  }

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

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

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

  .footer-col--brand {
    grid-column: auto;
  }

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

  .footer-legal {
    gap: 0.3rem;
  }

  .footer-hours li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
}

/* 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 */
.index-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 90px;
  background-color: #1a2a22;
  color: var(--text-light);
  direction: rtl;
}

/* Background Image Layer */
.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 40%;
  border-radius: 0;
  box-shadow: none;
}

/* Scrim Overlay */
.index-hero-section .index-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(
      to top,
      rgba(15, 28, 20, 0.82) 0%,
      rgba(15, 28, 20, 0.55) 38%,
      rgba(15, 28, 20, 0.18) 65%,
      rgba(15, 28, 20, 0.06) 100%
    );
}

/* Content Positioning Wrapper */
.index-hero-section .index-hero-content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 32px;
}

/* Frosted Glass Card */
.index-hero-section .index-hero-card {
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(230, 224, 215, 0.7);
  border-radius: 8px;
  padding: 40px 44px 36px;
  max-width: 620px;
  width: 100%;
  box-shadow: 0 18px 40px rgba(71, 54, 34, 0.18);
  text-align: right;
  direction: rtl;
}

/* Eyebrow Label */
.index-hero-section .index-hero-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  text-align: right;
}

/* H1 */
.index-hero-section .index-hero-h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--text-dark);
  margin: 0 0 14px 0;
  text-align: right;
}

/* H3 Subtitle */
.index-hero-section .index-hero-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: #3C3A35;
  margin: 0 0 28px 0;
  text-align: right;
}

/* CTA Row */
.index-hero-section .index-hero-ctas {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Primary CTA */
.index-hero-section .index-hero-btn-primary {
  display: inline-block;
  background: #2F6B55;
  color: #FFFDF8;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  border-radius: 6px;
  border: 1px solid #275947;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(47, 107, 85, 0.28);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  white-space: nowrap;
}

.index-hero-section .index-hero-btn-primary:hover {
  background: #245a44;
  box-shadow: 0 8px 18px rgba(47, 107, 85, 0.32);
  transform: translateY(-2px);
}

/* Secondary CTA */
.index-hero-section .index-hero-btn-secondary {
  display: inline-block;
  background: #D7812E;
  color: #FFFDF8;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  border-radius: 6px;
  border: 1px solid #C26F20;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(215, 129, 46, 0.28);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  white-space: nowrap;
}

.index-hero-section .index-hero-btn-secondary:hover {
  background: #c47228;
  box-shadow: 0 8px 18px rgba(215, 129, 46, 0.35);
  transform: translateY(-2px);
}

/* Bottom Divider Wrapper */
.index-hero-section .index-hero-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 5;
}

.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;
    align-items: flex-end;
    padding-bottom: 70px;
    padding-top: 100px;
  }

  .index-hero-section .index-hero-content-wrap {
    padding: 0 16px 20px;
    justify-content: center;
  }

  .index-hero-section .index-hero-card {
    padding: 28px 22px 26px;
    max-width: 100%;
    border-radius: 8px;
  }

  .index-hero-section .index-hero-h1 {
    font-size: 2.1rem;
    margin-bottom: 12px;
  }

  .index-hero-section .index-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .index-hero-section .index-hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .index-hero-section .index-hero-btn-primary,
  .index-hero-section .index-hero-btn-secondary {
    text-align: center;
    width: 100%;
    padding: 13px 20px;
  }

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

/* ── DESKTOP ─────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  .index-hero-section .index-hero-content-wrap {
    justify-content: center;
    padding-bottom: 48px;
  }
}

/* index-services */
.index-services-section {
  position: relative;
  background: #FFFFFF;
  color: var(--text-dark);
  padding: 96px 24px 0;
  overflow: visible;
  direction: rtl;
}

.index-services-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.index-services-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.index-services-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}

.index-services-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 18px;
  max-width: none !important;
}

.index-services-subtext {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

.index-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  direction: rtl;
}

.index-service-card {
  background: #FFFDF8;
  border: 1px solid #D9CFC2;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(71, 54, 34, 0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  min-width: 0;
}

.index-service-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  flex-shrink: 0;
}

.index-service-card-icon-badge {
  position: absolute;
  bottom: -18px;
  inset-inline-end: 24px;
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid #D9CFC2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(71, 54, 34, 0.12);
  color: var(--primary);
  z-index: 2;
}

.index-service-card-body {
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  text-align: right;
}

.index-service-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-dark);
  margin: 0;
}

.index-service-card-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.index-service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: 4px;
  transition: color 0.22s ease, gap 0.18s ease;
  align-self: flex-start;
}

.index-services-divider-wrapper {
  position: relative;
  width: 100%;
  margin-top: 80px;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.index-services-ribbon-green {
  width: 100%;
  height: 10px;
  background: var(--primary);
  position: relative;
  z-index: 2;
}

.index-services-ribbon-stone {
  width: 100%;
  height: 36px;
  background: #EEE6DB;
  position: relative;
  z-index: 1;
}

.index-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

.index-services-section {
    padding: 56px 16px 0;
  }

.index-services-intro {
    margin-bottom: 36px;
  }

.index-services-heading {
    font-size: 1.6rem;
  }

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

.index-service-card-body {
    padding: 32px 20px 22px;
  }

.index-service-card-icon-badge {
    bottom: -16px;
    inset-inline-end: 18px;
    width: 38px;
    height: 38px;
  }

.index-services-divider-wrapper {
    margin-top: 48px;
  }

.index-services-ribbon-green {
    height: 8px;
  }

.index-services-ribbon-stone {
    height: 28px;
  }

.index-services-heading {
    font-size: 2.2rem;
  }

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

/* ── Container ── */
.index-standards-section .index-standards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
  direction: rtl;
}

/* ── Content Column ── */
.index-standards-section .index-standards-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.index-standards-section .index-standards-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  border-inline-start: 3px solid var(--secondary);
  padding-inline-start: 12px;
  line-height: 1.4;
}

.index-standards-section .index-standards-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: 0.01em;
}

.index-standards-section .index-standards-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  max-width: 520px;
}

.index-standards-section .index-standards-intro strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ── Trust List ── */
.index-standards-section .index-standards-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.index-standards-section .index-standards-trust-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-default, all 0.22s ease);
}

.index-standards-section .index-standards-trust-item:first-child {
  border-top: 1px solid var(--border-light);
}

.index-standards-section .index-standards-trust-icon {
  width: 44px;
  height: 44px;
  background: rgba(47, 107, 79, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.index-standards-section .index-standards-trust-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.index-standards-section .index-standards-trust-body h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
}

.index-standards-section .index-standards-trust-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ── Image Column ── */
.index-standards-section .index-standards-image-col {
  position: relative;
}

.index-standards-section .index-standards-image-wrapper {
  position: relative;
}

/* Decorative backplate — peeks from END-bottom corner */
.index-standards-section .index-standards-backplate {
  position: absolute;
  bottom: -28px;
  inset-inline-end: -28px;
  width: 72%;
  height: 72%;
  background-color: #D9CFC2;
  border-radius: var(--radius-card, 8px);
  z-index: 0;
  opacity: 0.55;
}

.index-standards-section .index-standards-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--radius-img, 8px);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(71, 54, 34, 0.14);
}

.index-standards-section .index-standards-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-img, 8px);
  aspect-ratio: 3/4;
  min-height: 480px;
}

/* ── Bottom Diagonal Divider ── */
.index-standards-section .index-standards-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 5;
}

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

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .index-standards-section .index-standards-container {
    grid-template-columns: 1fr 380px;
    gap: 48px;
    padding: 0 28px;
  }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
  .index-standards-section {
    padding: 56px 0 64px;
  }

  .index-standards-section .index-standards-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }

  .index-standards-section .index-standards-heading {
    font-size: 1.65rem;
  }

  .index-standards-section .index-standards-intro {
    max-width: 100%;
  }

  /* Image column stacks below content on mobile */
  .index-standards-section .index-standards-image-col {
    
  }

  .index-standards-section .index-standards-figure img {
    min-height: 280px;
    aspect-ratio: 4/3;
  }

  /* Backplate: keep it visible but reduce offset so it doesn't clip off-screen */
  .index-standards-section .index-standards-backplate {
    bottom: -16px;
    inset-inline-end: -14px;
    width: 60%;
    height: 60%;
  }

  .index-standards-section .index-standards-trust-item {
    gap: 14px;
    padding: 18px 0;
  }

  .index-standards-section .index-standards-trust-body h3 {
    font-size: 1.15rem;
  }
}
/* ZAPPY_POSTGEN_GUARD_RTL_ORDER:בית-standards — stripped 1 order declaration(s) conflicting with RTL grid */


/* index-testimonials */
.index-testimonials-section {
  position: relative;
  overflow: visible;
  background-color: #202124;
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(47,107,79,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(201,142,91,0.10) 0%, transparent 50%),
    linear-gradient(180deg, #202124 0%, #1a1c1f 100%);
  color: var(--text-light);
  padding: 96px 24px 110px;
  direction: rtl;
}

.index-testimonials-section .index-testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.index-testimonials-section .index-testimonials-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.index-testimonials-section .index-testimonials-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-light);
  margin: 0 0 16px;
  max-width: none !important;
}

.index-testimonials-section .index-testimonials-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  margin: 0 auto;
  max-width: 560px;
  text-align: center;
}

/* ── GRID ── */
.index-testimonials-section .index-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  direction: rtl;
  align-items: stretch;
}

@media (min-width: 768px) {
  .index-testimonials-section .index-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── CARD ── */
.index-testimonials-section .index-testimonials-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  min-width: 0;
}

.index-testimonials-section .index-testimonials-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
}

/* ── QUOTE MARK ── */
.index-testimonials-section .index-testimonials-quote-mark {
  font-family: 'Rubik', sans-serif;
  font-size: 72px;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
  text-align: start;
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
}

/* ── BLOCKQUOTE ── */
.index-testimonials-section .index-testimonials-quote {
  margin: 0 0 24px;
  padding: 0;
  border: none;
  flex: 1;
}

.index-testimonials-section .index-testimonials-quote p {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.84);
  text-align: start;
  margin: 0;
}

/* ── CARD FOOTER ── */
.index-testimonials-section .index-testimonials-card-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* ── STARS ── */
.index-testimonials-section .index-testimonials-stars {
  display: flex;
  flex-direction: row;
  gap: 3px;
  justify-content: flex-start;
}

.index-testimonials-section .index-testimonials-stars .fa-star {
  color: var(--accent);
  font-size: 13px;
}

/* ── AUTHOR ── */
.index-testimonials-section .index-testimonials-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.index-testimonials-section .index-testimonials-author-name {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  text-align: start;
}

.index-testimonials-section .index-testimonials-author-context {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.48);
  text-align: start;
  letter-spacing: 0.01em;
}

/* ── BOTTOM DIVIDER ── */
.index-testimonials-section .index-testimonials-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 5;
}

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

/* ── MOBILE ── */
@media (max-width: 767px) {
  .index-testimonials-section {
    padding: 56px 16px 100px;
  }

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

  .index-testimonials-section .index-testimonials-title {
    font-size: 1.6rem;
  }

  .index-testimonials-section .index-testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

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

  .index-testimonials-section .index-testimonials-quote-mark {
    font-size: 56px;
    margin-bottom: 14px;
  }
}

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

.index-cta-section .index-cta-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.index-cta-section .index-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.index-cta-section .index-cta-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: none !important;
}

.index-cta-section .index-cta-subtext {
  font-family: 'Rubik', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0;
  max-width: 580px;
  text-align: center;
}

.index-cta-section .index-cta-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.index-cta-section .index-btn-primary {
  display: inline-block;
  background: #2F6B55;
  color: #FFFDF8;
  padding: 13px 30px;
  border-radius: 6px;
  border: 1px solid #275947;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(47, 107, 85, 0.28);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  white-space: nowrap;
}

.index-cta-section .index-btn-primary:hover {
  background: #275947;
  box-shadow: 0 8px 18px rgba(47, 107, 85, 0.22);
  transform: translateY(-2px);
}

.index-cta-section .index-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--secondary);
  padding: 12px 28px;
  border-radius: 6px;
  border: 1.5px solid var(--secondary);
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease, color 0.22s ease;
  white-space: nowrap;
}

.index-cta-section .index-btn-secondary:hover {
  background: var(--secondary);
  color: #FFFDF8;
  box-shadow: 0 8px 18px rgba(201, 142, 91, 0.22);
  transform: translateY(-2px);
}

.index-cta-section .index-cta-footnote {
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  max-width: 480px;
  border-top: 1px solid #D9CFC2;
  padding-top: 20px;
  width: 100%;
}

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

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

  .index-cta-section .index-cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .index-cta-section .index-btn-primary,
  .index-cta-section .index-btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .index-cta-section .index-cta-subtext {
    font-size: 1rem;
  }
}

/* boarding-intro */
.boarding-intro-section {
  direction: rtl;
  position: relative;
  overflow: visible;
  background-color: #F3EEE5;
  background-image: linear-gradient(180deg, #F7F3EC 0%, #EEE6DB 100%);
  color: var(--text-dark);
  padding: 120px 24px 80px;
}

.boarding-intro-section .boarding-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
  direction: rtl;
}

/* ── Content Column ── */
.boarding-intro-section .boarding-intro-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: right;
}

.boarding-intro-section .boarding-intro-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(47, 107, 79, 0.1);
  color: var(--primary);
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(47, 107, 79, 0.2);
}

.boarding-intro-section .boarding-intro-heading {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: 0.01em;
}

.boarding-intro-section .boarding-intro-body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  max-width: 520px;
}

/* ── Reassurance Items ── */
.boarding-intro-section .boarding-intro-reassurances {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.boarding-intro-section .boarding-intro-reassurance-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 14px;
  align-items: start;
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(217, 207, 194, 0.8);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 6px rgba(71, 54, 34, 0.12);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.boarding-intro-section .boarding-intro-reassurance-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(71, 54, 34, 0.14);
}

.boarding-intro-section .boarding-intro-icon-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
  color: var(--primary);
  width: 44px;
}

.boarding-intro-section .boarding-intro-reassurance-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.boarding-intro-section .boarding-intro-reassurance-text strong {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.boarding-intro-section .boarding-intro-reassurance-text span {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Image Column ── */
.boarding-intro-section .boarding-intro-figure {
  position: relative;
  margin: 0;
  flex-shrink: 0;
}

.boarding-intro-section .boarding-intro-image {
  display: block;
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(71, 54, 34, 0.14);
}

.boarding-intro-section .boarding-intro-figure-badge {
  position: absolute;
  bottom: 28px;
  inset-inline-start: -20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: 0 8px 20px rgba(71, 54, 34, 0.14);
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  z-index: 10;
}

.boarding-intro-section .boarding-intro-figure-badge i {
  color: var(--secondary);
  font-size: 15px;
}

/* ── Bottom Divider ── */
.boarding-intro-section .boarding-intro-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
  z-index: 5;
}

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

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

  .boarding-intro-section .boarding-intro-image {
    height: 380px;
  }

  .boarding-intro-section .boarding-intro-figure-badge {
    inset-inline-start: 16px;
    bottom: 16px;
  }

  .boarding-intro-section .boarding-intro-body {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .boarding-intro-section {
    padding: 100px 16px 72px;
  }

  .boarding-intro-section .boarding-intro-container {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .boarding-intro-section .boarding-intro-heading {
    font-size: 2rem;
  }

  .boarding-intro-section .boarding-intro-image {
    height: 300px;
  }

  .boarding-intro-section .boarding-intro-figure-badge {
    position: static;
    margin-top: 12px;
    display: inline-flex;
    inset-inline-start: unset;
    bottom: unset;
  }

  .boarding-intro-section .boarding-intro-reassurance-item {
    padding: 14px 16px;
  }
}

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

.boarding-accommodations-section .boarding-accommodations-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 80px;
}

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

.boarding-accommodations-section .boarding-accommodations-label {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background-color: rgba(47, 107, 79, 0.08);
  border: 1px solid rgba(47, 107, 79, 0.18);
  border-radius: 4px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.boarding-accommodations-section .boarding-accommodations-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

.boarding-accommodations-section .boarding-accommodations-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

.boarding-accommodations-section .boarding-accommodations-subtitle strong {
  color: var(--primary);
  font-weight: 600;
}

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

/* ── Cards ── */
.boarding-accommodations-section .boarding-card {
  background: #FFFDF8;
  border-radius: 8px;
  border: 1px solid #D9CFC2;
  box-shadow: 0 8px 20px rgba(71, 54, 34, 0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  padding: 0;
}

.boarding-accommodations-section .boarding-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(71, 54, 34, 0.18);
}

/* ── Card Figure / Image ── */
.boarding-accommodations-section .boarding-card-figure {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  aspect-ratio: 3/2;
  flex-shrink: 0;
}

.boarding-accommodations-section .boarding-card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  transition: transform 0.3s ease;
}

.boarding-accommodations-section .boarding-card:hover .boarding-card-figure img {
  transform: scale(1.03);
}

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

.boarding-accommodations-section .boarding-card-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 48px;
  height: 48px;
  background-color: rgba(47, 107, 79, 0.09);
  border-radius: 8px;
  color: var(--primary);
  flex-shrink: 0;
  padding: 10px;
  margin-bottom: 4px;
}

.boarding-accommodations-section .boarding-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
}

.boarding-accommodations-section .boarding-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
  text-align: right;
}

.boarding-accommodations-section .boarding-card-text {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── Bottom Edge Decoration ── */
.boarding-accommodations-section .boarding-accommodations-bottom-edge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--primary) 70%, transparent 100%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 2px 12px rgba(47, 107, 79, 0.18);
}

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

  .boarding-accommodations-section .boarding-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-inline-start: auto;
    margin-inline-end: auto;
  }
}

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

  .boarding-accommodations-section .boarding-accommodations-container {
    padding-bottom: 56px;
  }

  .boarding-accommodations-section .boarding-accommodations-header {
    margin-bottom: 36px;
  }

  .boarding-accommodations-section .boarding-accommodations-title {
    font-size: 1.6rem;
  }

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

  .boarding-accommodations-section .boarding-card:last-child {
    grid-column: auto !important;
    max-width: 100%;
    margin-inline-start: 0;
    margin-inline-end: 0;
  }

  .boarding-accommodations-section .boarding-card-body {
    padding: 20px 20px 24px;
  }
}

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

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

/* ── Layout ── */
.boarding-routine-section .boarding-routine-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  direction: rtl;
}

/* ── Image Column ── */
.boarding-routine-section .boarding-routine-image-col {
  position: relative;
  margin: 0;
  flex-shrink: 0;
}

.boarding-routine-section .boarding-routine-image-col img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-img, 8px);
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
}

.boarding-routine-section .boarding-routine-image-badge {
  position: absolute;
  bottom: 28px;
  inset-inline-start: -24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #FFFDF8;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 12px 18px;
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
  direction: rtl;
}

.boarding-routine-section .boarding-routine-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #3B785F 0%, #2F6B55 100%);
  border-radius: 50%;
  color: #FFFDF8;
  font-size: 15px;
  flex-shrink: 0;
}

.boarding-routine-section .boarding-routine-badge-text {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

/* ── Text Column ── */
.boarding-routine-section .boarding-routine-text-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: right;
}

.boarding-routine-section .boarding-routine-eyebrow {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
  text-align: right;
}

.boarding-routine-section .boarding-routine-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 18px 0;
  text-align: right;
}

.boarding-routine-section .boarding-routine-intro {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 36px 0;
  text-align: right;
}

/* ── Moments ── */
.boarding-routine-section .boarding-routine-moments {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.boarding-routine-section .boarding-routine-moment {
  position: relative;
  padding: 0 0 0 0;
}

.boarding-routine-section .boarding-routine-moment-content {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: flex-start;
  direction: rtl;
  padding: 20px 0;
}

.boarding-routine-section .boarding-routine-moment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(47,107,79,0.10);
  border-radius: 50%;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.boarding-routine-section .boarding-routine-moment-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.boarding-routine-section .boarding-routine-moment-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-dark);
  margin: 0;
  text-align: right;
}

.boarding-routine-section .boarding-routine-moment-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── Dividers between moments ── */
.boarding-routine-section .boarding-routine-divider {
  height: 1px;
  background: var(--border-light);
  border: none;
  margin: 0;
  width: 100%;
}

/* ── Bottom Arc Divider ── */
.boarding-routine-section .boarding-routine-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 5;
}

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

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .boarding-routine-section .boarding-routine-layout {
    gap: 48px;
  }

  .boarding-routine-section .boarding-routine-image-badge {
    inset-inline-start: 0;
    bottom: 16px;
  }
}

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

  .boarding-routine-section .boarding-routine-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .boarding-routine-section .boarding-routine-image-col img {
    height: 300px;
  }

  .boarding-routine-section .boarding-routine-image-badge {
    position: static;
    display: inline-flex;
    margin-top: 12px;
    inset-inline-start: unset;
  }

  .boarding-routine-section .boarding-routine-heading {
    font-size: 1.6rem;
  }

  .boarding-routine-section .boarding-routine-moment-content {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .boarding-routine-section .boarding-routine-moment-icon {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

/* boarding-faq */
.boarding-faq-section {
  position: relative;
  overflow: visible;
  background-color: #202124;
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(47,107,79,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(201,142,91,0.07) 0%, transparent 50%),
    linear-gradient(180deg, #202124 0%, #1a1b1e 100%);
  color: var(--text-light);
  padding: 96px 24px 120px;
  direction: rtl;
}

.boarding-faq-section .boarding-faq-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── HEADER ── */
.boarding-faq-section .boarding-faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.boarding-faq-section .boarding-faq-label {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(201,142,91,0.12);
  border: 1px solid rgba(201,142,91,0.25);
  border-radius: 4px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.boarding-faq-section .boarding-faq-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-light);
  margin: 0 0 16px;
  max-width: 680px;
  margin-inline: auto;
}

.boarding-faq-section .boarding-faq-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* ── GRID ── */
.boarding-faq-section .boarding-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 56px;
}

/* ── FAQ ITEM ── */
.boarding-faq-section .boarding-faq-item {
  padding: 32px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  border-inline-end: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.025);
  transition: background 0.22s ease;
  position: relative;
}

.boarding-faq-section .boarding-faq-item:nth-child(even) {
  border-inline-end: none;
}

.boarding-faq-section .boarding-faq-item:nth-last-child(1),
.boarding-faq-section .boarding-faq-item:nth-last-child(2) {
  border-bottom: none;
}

.boarding-faq-section .boarding-faq-item:hover {
  background: rgba(255,255,255,0.05);
}

/* ── QUESTION ── */
.boarding-faq-section .boarding-faq-question {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-light);
  margin: 0 0 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-direction: row;
  text-align: right;
}

.boarding-faq-section .boarding-faq-q-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(201,142,91,0.18);
  border: 1px solid rgba(201,142,91,0.35);
  color: var(--secondary);
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

/* ── ANSWER ── */
.boarding-faq-section .boarding-faq-answer {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.68);
  margin: 0;
  text-align: right;
}

/* ── CTA ── */
.boarding-faq-section .boarding-faq-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.boarding-faq-section .boarding-faq-cta-text {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  margin: 0;
  text-align: center;
}

.boarding-faq-section .boarding-faq-btn {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FFFDF8;
  background: #2F6B4F;
  border: 1px solid #275947;
  border-radius: 6px;
  padding: 13px 30px;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(47,107,85,0.28);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

.boarding-faq-section .boarding-faq-btn:hover {
  background: #245a40;
  box-shadow: 0 8px 18px rgba(47,107,85,0.38);
  transform: translateY(-2px);
}

/* ── DIVIDER ── */
.boarding-faq-section .boarding-faq-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 5;
}

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

/* ── RESPONSIVE: TABLET ── */
@media (max-width: 1024px) {
  .boarding-faq-section .boarding-faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .boarding-faq-section .boarding-faq-item {
    padding: 28px 24px;
  }
}

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 768px) {
  .boarding-faq-section {
    padding: 56px 16px 100px;
  }

  .boarding-faq-section .boarding-faq-header {
    margin-bottom: 40px;
  }

  .boarding-faq-section .boarding-faq-title {
    font-size: 1.6rem;
  }

  .boarding-faq-section .boarding-faq-grid {
    grid-template-columns: 1fr !important;
  }

  .boarding-faq-section .boarding-faq-item {
    border-inline-end: none !important;
    padding: 24px 20px;
  }

  .boarding-faq-section .boarding-faq-item:nth-last-child(1) {
    border-bottom: none;
  }

  .boarding-faq-section .boarding-faq-item:nth-last-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.09);
  }

  .boarding-faq-section .boarding-faq-question {
    font-size: 1.15rem;
  }

  .boarding-faq-section .boarding-faq-cta {
    gap: 16px;
  }
}

/* boarding-cta */
.boarding-cta-section {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 96px 24px;
  direction: rtl;
  text-align: center;
}

.boarding-cta-section .boarding-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.boarding-cta-section .boarding-cta-inner {
  max-width: 620px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.boarding-cta-section .boarding-cta-accent-line {
  width: 48px;
  height: 2px;
  background: var(--secondary);
  border-radius: 999px;
  margin-bottom: 28px;
}

.boarding-cta-section .boarding-cta-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 20px 0;
  letter-spacing: 0.01em;
}

.boarding-cta-section .boarding-cta-text {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 36px 0;
  max-width: none !important;
}

.boarding-cta-section .boarding-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.boarding-cta-section .boarding-cta-btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 36px;
  border-radius: 6px;
  border: 1px solid #275947;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(47,107,85,0.28);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  cursor: pointer;
}

.boarding-cta-section .boarding-cta-btn-primary:hover {
  background: #275947;
  box-shadow: 0 8px 18px rgba(47,107,85,0.22);
  transform: translateY(-2px);
  color: var(--text-light);
}

.boarding-cta-section .boarding-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary);
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  transition: color 0.22s ease, opacity 0.22s ease;
  cursor: pointer;
}

.boarding-cta-section .boarding-cta-btn-ghost:hover {
  color: var(--secondary);
  opacity: 0.85;
}

.boarding-cta-section .boarding-cta-btn-ghost span {
  font-size: 14px;
  display: inline-block;
}

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

  .boarding-cta-section .boarding-cta-heading {
    font-size: 1.6rem;
  }

  .boarding-cta-section .boarding-cta-inner {
    gap: 0;
  }

  .boarding-cta-section .boarding-cta-actions {
    gap: 12px;
  }

  .boarding-cta-section .boarding-cta-btn-primary {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }
}

/* puppies-intro */
.puppies-intro-section {
  direction: rtl;
  background-color: #FFFFFF;
  background: linear-gradient(180deg, #FFFDF8 0%, #F7F3EC 100%);
  color: var(--text-dark);
  position: relative;
  overflow: visible;
  padding-bottom: 72px;
}

/* ── Image Band ── */
.puppies-intro-section .puppies-intro-image-band {
  width: 100%;
  height: 420px;
  overflow: hidden;
  position: relative;
}

.puppies-intro-section .puppies-intro-image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  border-radius: 0;
}

/* ── Container ── */
.puppies-intro-section .puppies-intro-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  text-align: center;
}

/* ── Eyebrow ── */
.puppies-intro-section .puppies-intro-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 18px;
  padding: 5px 14px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: rgba(201, 142, 91, 0.07);
}

/* ── Heading ── */
.puppies-intro-section .puppies-intro-heading {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-dark);
  margin: 0 0 24px;
  letter-spacing: 0.01em;
  max-width: none !important;
}

/* ── Paragraph ── */
.puppies-intro-section .puppies-intro-paragraph {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #3C3A35;
  margin: 0 0 48px;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 48px;
  text-align: center;
}

.puppies-intro-section .puppies-intro-paragraph strong {
  color: var(--primary);
  font-weight: 600;
}

/* ── Trust Row ── */
.puppies-intro-section .puppies-trust-row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.puppies-intro-section .puppies-trust-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 14px;
  align-items: flex-start;
  background: #FFFDF8;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 22px 20px;
  box-shadow: 0 2px 6px rgba(71, 54, 34, 0.12);
  flex: 1 1 280px;
  max-width: 340px;
  text-align: right;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.puppies-intro-section .puppies-trust-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(71, 54, 34, 0.14);
}

.puppies-intro-section .puppies-trust-icon {
  width: 44px;
  height: 44px;
  background: rgba(47, 107, 79, 0.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.puppies-intro-section .puppies-trust-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.puppies-intro-section .puppies-trust-text strong {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  display: block;
}

.puppies-intro-section .puppies-trust-text span {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  display: block;
}

/* ── Bottom Curve Divider ── */
.puppies-intro-section .puppies-intro-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 5;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .puppies-intro-section .puppies-intro-image-band {
    height: 240px;
  }

  .puppies-intro-section .puppies-intro-container {
    padding: 40px 16px 24px;
  }

  .puppies-intro-section .puppies-intro-heading {
    font-size: 1.75rem;
  }

  .puppies-intro-section .puppies-trust-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .puppies-intro-section .puppies-trust-item {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .puppies-intro-section .puppies-intro-paragraph {
    margin-bottom: 32px;
  }
}

@media (min-width: 769px) {
  .puppies-intro-section .puppies-trust-row {
    flex-wrap: nowrap;
  }
}

/* puppies-philosophy */
.puppies-philosophy-section {
  direction: rtl;
  background: linear-gradient(180deg, #FFFDF8 0%, #F7F3EC 100%);
  background-color: #FFFDF8;
  color: var(--text-dark);
  padding: 96px 24px 110px;
  position: relative;
  overflow: visible;
}

.puppies-philosophy-section .puppies-philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 72px;
  align-items: start;
  direction: rtl;
}

/* ── Text Column ── */
.puppies-philosophy-section .puppies-philosophy-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.puppies-philosophy-section .puppies-philosophy-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.puppies-philosophy-section .puppies-philosophy-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 22px 0;
  letter-spacing: 0;
}

.puppies-philosophy-section .puppies-philosophy-intro {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 44px 0;
  max-width: 560px;
  text-align: right;
}

/* ── Value Items ── */
.puppies-philosophy-section .puppies-philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.puppies-philosophy-section .puppies-philosophy-value-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  direction: rtl;
}

.puppies-philosophy-section .puppies-philosophy-value-icon {
  width: 52px;
  height: 52px;
  background: #FFFDF8;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(71,54,34,0.12);
}

.puppies-philosophy-section .puppies-philosophy-value-content h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 8px 0;
  text-align: right;
}

.puppies-philosophy-section .puppies-philosophy-value-content p {
  font-family: 'Rubik', sans-serif;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── Image Column ── */
.puppies-philosophy-section .puppies-philosophy-image-col {
  position: relative;
}

.puppies-philosophy-section .puppies-philosophy-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.puppies-philosophy-section .puppies-philosophy-image-wrapper img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
}

.puppies-philosophy-section .puppies-philosophy-image-badge {
  position: absolute;
  bottom: 28px;
  inset-inline-start: -24px;
  background: #FFFDF8;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px 22px;
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 130px;
  z-index: 10;
}

.puppies-philosophy-section .puppies-philosophy-badge-number {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}

.puppies-philosophy-section .puppies-philosophy-badge-label {
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* ── Diagonal Divider ── */
.puppies-philosophy-section .puppies-philosophy-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  pointer-events: none;
  z-index: 5;
}

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

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .puppies-philosophy-section .puppies-philosophy-container {
    grid-template-columns: 1fr 380px;
    gap: 48px;
  }

  .puppies-philosophy-section .puppies-philosophy-image-wrapper img {
    height: 560px;
  }

  .puppies-philosophy-section .puppies-philosophy-image-badge {
    inset-inline-start: -12px;
  }
}

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

  .puppies-philosophy-section .puppies-philosophy-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .puppies-philosophy-section .puppies-philosophy-image-col {
    
  }

  .puppies-philosophy-section .puppies-philosophy-image-wrapper img {
    height: 340px;
  }

  .puppies-philosophy-section .puppies-philosophy-image-badge {
    position: static;
    margin-top: 16px;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
    min-width: unset;
    width: 100%;
    border-radius: 8px;
  }

  .puppies-philosophy-section .puppies-philosophy-intro {
    max-width: 100%;
  }

  .puppies-philosophy-section .puppies-philosophy-value-item {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .puppies-philosophy-section .puppies-philosophy-value-icon {
    width: 44px;
    height: 44px;
  }

  .puppies-philosophy-section .puppies-philosophy-values {
    gap: 28px;
  }
}
/* ZAPPY_POSTGEN_GUARD_RTL_ORDER:גורים ורבייה-philosophy — stripped 1 order declaration(s) conflicting with RTL grid */


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

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

.puppies-journey-section .puppies-journey-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 56px;
}

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

.puppies-journey-section .puppies-journey-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

.puppies-journey-section .puppies-journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  direction: rtl;
}

.puppies-journey-section .puppies-journey-card {
  background: #FFFDF8;
  border: 1px solid #D9CFC2;
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  min-width: 0;
}

.puppies-journey-section .puppies-journey-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(71,54,34,0.18);
}

.puppies-journey-section .puppies-journey-step-num {
  font-family: 'Rubik', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--secondary);
  opacity: 0.55;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  display: block;
}

.puppies-journey-section .puppies-journey-step-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 14px 0;
  text-align: right;
}

.puppies-journey-section .puppies-journey-step-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
  flex: 1;
}

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

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

@media (max-width: 1024px) {
  .puppies-journey-section .puppies-journey-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .puppies-journey-section {
    padding: 56px 16px 96px;
  }

  .puppies-journey-section .puppies-journey-header {
    margin-bottom: 36px;
  }

  .puppies-journey-section .puppies-journey-title {
    font-size: 1.6rem;
  }

  .puppies-journey-section .puppies-journey-steps {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .puppies-journey-section .puppies-journey-card {
    padding: 24px 20px;
  }

  .puppies-journey-section .puppies-journey-step-num {
    font-size: 2.2rem;
    margin-bottom: 14px;
  }
}

/* puppies-showcase */
.puppies-showcase-section {
  position: relative;
  overflow: visible;
  background-color: #202124;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(47,107,79,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(201,142,91,0.09) 0%, transparent 50%),
    linear-gradient(180deg, #202124 0%, #1a1b1e 100%);
  color: var(--text-light);
  padding: var(--spacing-section, 96px) 24px calc(var(--spacing-section, 96px) + 90px);
  direction: rtl;
}

.puppies-showcase-section .puppies-showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.puppies-showcase-section .puppies-showcase-header {
  text-align: center;
  margin-bottom: 56px;
}

.puppies-showcase-section .puppies-showcase-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(201,142,91,0.35);
  border-radius: var(--radius-badge, 4px);
}

.puppies-showcase-section .puppies-showcase-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-light);
  margin: 0 auto 20px;
  max-width: 640px;
  white-space: pre-line;
}

.puppies-showcase-section .puppies-showcase-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* ── Image Grid ── */
.puppies-showcase-section .puppies-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-card-gap, 24px);
  align-items: stretch;
  direction: rtl;
}

/* Large tile */
.puppies-showcase-section .puppies-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-img, 8px);
  box-shadow: var(--shadow-card, 0 8px 20px rgba(71,54,34,0.14));
}

.puppies-showcase-section .puppies-tile-large {
  height: 100%;
  min-height: 440px;
}

.puppies-showcase-section .puppies-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-img, 8px);
  transition: transform 0.5s ease;
}

.puppies-showcase-section .puppies-tile:hover .puppies-img {
  transform: scale(1.03);
}

/* Stacked tiles column */
.puppies-showcase-section .puppies-tile-stack {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-card-gap, 24px);
}

.puppies-showcase-section .puppies-tile-small {
  flex: 1;
  min-height: 200px;
}

.puppies-showcase-section .puppies-tile-small .puppies-img {
  height: 100%;
  min-height: 200px;
}

/* Badges / Labels on tiles */
.puppies-showcase-section .puppies-tile-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(32,33,36,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-badge, 4px);
  border: 1px solid rgba(201,142,91,0.3);
  letter-spacing: 0.02em;
  pointer-events: none;
}

.puppies-showcase-section .puppies-tile-label {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(47,107,79,0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-badge, 4px);
  letter-spacing: 0.02em;
  pointer-events: none;
}

/* ── CTA ── */
.puppies-showcase-section .puppies-showcase-cta {
  text-align: center;
  margin-top: 48px;
}

.puppies-showcase-section .puppies-cta-btn {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: var(--radius-btn, 6px);
  background: var(--primary);
  color: var(--text-light);
  border: 1px solid #275947;
  box-shadow: 0 8px 18px rgba(47,107,85,0.22);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

.puppies-showcase-section .puppies-cta-btn:hover {
  background: #3B785F;
  box-shadow: 0 12px 28px rgba(47,107,85,0.32);
  transform: translateY(-2px);
}

/* ── Bottom Wave Divider ── */
.puppies-showcase-section .puppies-showcase-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 5;
}

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

/* ── Responsive ── */
@media (min-width: 768px) {
  .puppies-showcase-section .puppies-showcase-title {
    font-size: 2.4rem;
  }

  .puppies-showcase-section .puppies-tile-large {
    min-height: 520px;
  }

  .puppies-showcase-section .puppies-tile-small {
    min-height: 240px;
  }

  .puppies-showcase-section .puppies-tile-small .puppies-img {
    min-height: 240px;
  }
}

@media (max-width: 767px) {
  .puppies-showcase-section {
    padding: 56px 16px calc(56px + 90px);
  }

  .puppies-showcase-section .puppies-showcase-header {
    margin-bottom: 36px;
  }

  .puppies-showcase-section .puppies-showcase-title {
    font-size: 1.75rem;
  }

  .puppies-showcase-section .puppies-showcase-desc {
    font-size: 15px;
  }

  .puppies-showcase-section .puppies-showcase-grid {
    grid-template-columns: 1fr !important;
  }

  .puppies-showcase-section .puppies-tile-large {
    min-height: 300px;
    height: 300px;
  }

  .puppies-showcase-section .puppies-tile-small {
    min-height: 180px;
  }

  .puppies-showcase-section .puppies-tile-small .puppies-img {
    min-height: 180px;
  }

  .puppies-showcase-section .puppies-tile-badge,
  .puppies-showcase-section .puppies-tile-label {
    font-size: 11px;
    padding: 5px 10px;
  }

  .puppies-showcase-section .puppies-showcase-cta {
    margin-top: 32px;
  }
}

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

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

.puppies-cta-section .puppies-cta-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(201, 142, 91, 0.12);
  border: 1px solid rgba(201, 142, 91, 0.3);
  border-radius: 4px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.puppies-cta-section .puppies-cta-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 20px 0;
  max-width: none !important;
  text-align: center;
}

.puppies-cta-section .puppies-cta-body {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 28px 0;
  max-width: 560px;
  text-align: center;
}

.puppies-cta-section .puppies-cta-divider {
  width: 56px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 0 auto 32px auto;
  opacity: 0.6;
}

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

.puppies-cta-section .puppies-btn-primary {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #FFFDF8;
  background: #2F6B55;
  border: 1px solid #275947;
  border-radius: 6px;
  padding: 13px 30px;
  box-shadow: 0 3px 8px rgba(47, 107, 85, 0.28);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  display: inline-block;
  cursor: pointer;
}

.puppies-cta-section .puppies-btn-primary:hover {
  background: #245a45;
  box-shadow: 0 8px 18px rgba(47, 107, 85, 0.22);
  transform: translateY(-2px);
}

.puppies-cta-section .puppies-btn-secondary {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--secondary);
  background: transparent;
  border: 1.5px solid var(--secondary);
  border-radius: 6px;
  padding: 13px 30px;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease, color 0.22s ease;
  display: inline-block;
  cursor: pointer;
}

.puppies-cta-section .puppies-btn-secondary:hover {
  background: rgba(201, 142, 91, 0.1);
  box-shadow: 0 8px 18px rgba(201, 142, 91, 0.16);
  transform: translateY(-2px);
}

.puppies-cta-section .puppies-cta-note {
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-direction: row;
}

.puppies-cta-section .puppies-cta-note .fa-paw {
  color: var(--secondary);
  font-size: 0.875rem;
  flex-shrink: 0;
}

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

  .puppies-cta-section .puppies-cta-heading {
    font-size: 1.6rem;
  }

  .puppies-cta-section .puppies-cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .puppies-cta-section .puppies-btn-primary,
  .puppies-cta-section .puppies-btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .puppies-cta-section .puppies-cta-note {
    flex-direction: column;
    gap: 6px;
  }
}

/* store-experience-intro */
.store-experience-intro-section {
  position: relative;
  overflow: visible;
  background-color: #F7F3EC;
  background-image:
    linear-gradient(180deg, #F3EEE5 0%, #E9E0D4 100%);
  color: var(--text-dark);
  padding: 120px 0 80px;
  direction: rtl;
}

.store-experience-intro-section .sei-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.store-experience-intro-section .sei-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  direction: rtl;
}

/* ── TEXT COLUMN ───────────────────────────────────────── */
.store-experience-intro-section .sei-text-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
}

.store-experience-intro-section .sei-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  border-inline-start: 3px solid var(--secondary);
  padding-inline-start: 10px;
  line-height: 1.4;
}

.store-experience-intro-section .sei-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -0.01em;
}

.store-experience-intro-section .sei-heading-accent {
  display: block;
  color: var(--primary);
}

.store-experience-intro-section .sei-body {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
  max-width: 520px;
}

.store-experience-intro-section .sei-support {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--border-light);
  max-width: 480px;
}

.store-experience-intro-section .sei-cta-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
  justify-content: flex-start;
}

.store-experience-intro-section .sei-btn-primary {
  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;
  padding: 13px 30px;
  border-radius: 6px;
  border: 1px solid #275947;
  box-shadow: 0 3px 8px rgba(47,107,85,0.28);
  text-decoration: none;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

.store-experience-intro-section .sei-btn-primary:hover {
  background: #275947;
  box-shadow: 0 8px 18px rgba(47,107,85,0.32);
  transform: translateY(-2px);
}

/* ── IMAGE COLUMN ──────────────────────────────────────── */
.store-experience-intro-section .sei-image-col {
  position: relative;
}

.store-experience-intro-section .sei-image-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
}

.store-experience-intro-section .sei-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}

.store-experience-intro-section .sei-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(217,207,194,0.8);
  border-radius: 6px;
  padding: 10px 16px;
  box-shadow: 0 4px 12px rgba(71,54,34,0.14);
  color: var(--text-dark);
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
}

.store-experience-intro-section .sei-image-badge i {
  color: var(--primary);
  font-size: 1rem;
}

.store-experience-intro-section .sei-image-badge span {
  color: var(--text-dark);
}

/* ── BOTTOM DIVIDER ────────────────────────────────────── */
.store-experience-intro-section .sei-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  pointer-events: none;
  z-index: 5;
}

.store-experience-intro-section .sei-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── RESPONSIVE: TABLET ────────────────────────────────── */
@media (max-width: 1024px) {
  .store-experience-intro-section .sei-grid {
    gap: 40px;
  }

  .store-experience-intro-section .sei-heading {
    font-size: 2.4rem;
  }
}

/* ── RESPONSIVE: MOBILE ────────────────────────────────── */
@media (max-width: 768px) {
  .store-experience-intro-section {
    padding: 100px 0 72px;
  }

  .store-experience-intro-section .sei-container {
    padding: 0 16px;
  }

  .store-experience-intro-section .sei-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .store-experience-intro-section .sei-text-col {
    gap: 16px;
  }

  .store-experience-intro-section .sei-heading {
    font-size: 2rem;
  }

  .store-experience-intro-section .sei-body,
  .store-experience-intro-section .sei-support {
    max-width: 100%;
  }

  .store-experience-intro-section .sei-image-badge {
    bottom: 12px;
    right: 12px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .store-experience-intro-section .sei-cta-row {
    justify-content: flex-start;
  }
}

/* store-experience-categories */
.store-experience-categories-section {
  position: relative;
  overflow: visible;
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFDF8 0%, #F7F3EC 100%);
  color: var(--text-dark);
  padding: 96px 24px 144px;
  direction: rtl;
}

.store-experience-categories-section .sec-categories-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* ── Header ── */
.store-experience-categories-section .sec-categories-header {
  text-align: center;
  margin-bottom: 56px;
}

.store-experience-categories-section .sec-categories-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text-dark);
  margin: 0 0 14px 0;
  max-width: none !important;
}

.store-experience-categories-section .sec-categories-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* ── Grid ── */
.store-experience-categories-section .sec-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  direction: rtl;
}

/* ── Card ── */
.store-experience-categories-section .sec-cat-card {
  background: #FFFDF8;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  min-width: 260px;
}

.store-experience-categories-section .sec-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(71,54,34,0.18);
}

/* ── Image ── */
.store-experience-categories-section .sec-cat-img-wrap {
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  flex-shrink: 0;
}

.store-experience-categories-section .sec-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: all 0.22s ease;
}

.store-experience-categories-section .sec-cat-card:hover .sec-cat-img-wrap img {
  transform: scale(1.03);
}

/* ── Card Body ── */
.store-experience-categories-section .sec-cat-body {
  padding: 28px 24px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.store-experience-categories-section .sec-cat-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
}

.store-experience-categories-section .sec-cat-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ── Accent bar on card top ── */
.store-experience-categories-section .sec-cat-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  width: 0;
  transition: width 0.3s ease;
  border-radius: 0;
}

.store-experience-categories-section .sec-cat-card:hover::before {
  width: 100%;
}

/* ── Bottom Diagonal Divider ── */
.store-experience-categories-section .sec-categories-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 5;
}

.store-experience-categories-section .sec-categories-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

  .store-experience-categories-section .sec-categories-header {
    margin-bottom: 36px;
  }

  .store-experience-categories-section .sec-categories-title {
    font-size: 1.6rem;
  }

  .store-experience-categories-section .sec-categories-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .store-experience-categories-section .sec-cat-body {
    padding: 20px 18px 24px;
  }

  .store-experience-categories-section .sec-categories-divider-wrapper {
    height: 48px;
  }
}

/* store-experience-benefits */
.store-experience-benefits-section {
  position: relative;
  overflow: visible;
  background-color: #F7F3EC;
  background-image: linear-gradient(180deg, #F7F3EC 0%, #EEE6DB 100%);
  color: var(--text-dark);
  padding: 96px 0 72px;
  direction: rtl;
}

/* ── Container ───────────────────────────────────────────────── */
.store-experience-benefits-section .seb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  direction: rtl;
}

/* ── Image tile (RIGHT / START in RTL) ───────────────────────── */
.store-experience-benefits-section .seb-image-tile {
  position: relative;
  border-radius: var(--radius-card, 8px);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
  min-height: 480px;
  margin-inline-end: 56px;
  align-self: stretch;
}

.store-experience-benefits-section .seb-image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-card, 8px);
}

/* ── Text side (LEFT / END in RTL) ───────────────────────────── */
.store-experience-benefits-section .seb-text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 48px 16px;
}

/* ── Eyebrow label ───────────────────────────────────────────── */
.store-experience-benefits-section .seb-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
  text-align: right;
}

/* ── Heading ─────────────────────────────────────────────────── */
.store-experience-benefits-section .seb-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 16px 0;
  text-align: right;
}

/* ── Intro paragraph ─────────────────────────────────────────── */
.store-experience-benefits-section .seb-intro {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 36px 0;
  text-align: right;
  max-width: 480px;
}

/* ── Benefits list ───────────────────────────────────────────── */
.store-experience-benefits-section .seb-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Single benefit item ─────────────────────────────────────── */
.store-experience-benefits-section .seb-benefit-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 18px;
  align-items: start;
  padding: 24px 0;
  direction: rtl;
}

/* ── Benefit icon ────────────────────────────────────────────── */
.store-experience-benefits-section .seb-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(47, 107, 79, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

/* ── Benefit content wrapper ─────────────────────────────────── */
.store-experience-benefits-section .seb-benefit-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Benefit title ───────────────────────────────────────────── */
.store-experience-benefits-section .seb-benefit-title {
  font-family: 'Rubik', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-dark);
  margin: 0;
  text-align: right;
}

/* ── Benefit description ─────────────────────────────────────── */
.store-experience-benefits-section .seb-benefit-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── Separator ───────────────────────────────────────────────── */
.store-experience-benefits-section .seb-separator {
  height: 1px;
  background-color: #D9CFC2;
  width: 100%;
  opacity: 0.7;
}

/* ── Bottom divider ──────────────────────────────────────────── */
.store-experience-benefits-section .seb-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 5;
}

.store-experience-benefits-section .seb-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ══════════════════════════════════════════════════════════════ */
/*  TABLET (≤ 1024px)                                             */
/* ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .store-experience-benefits-section .seb-container {
    gap: 0;
    padding: 0 24px;
  }

  .store-experience-benefits-section .seb-image-tile {
    margin-inline-end: 32px;
  }

  .store-experience-benefits-section .seb-heading {
    font-size: 28px;
  }
}

/* ══════════════════════════════════════════════════════════════ */
/*  MOBILE (≤ 768px)                                              */
/* ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .store-experience-benefits-section {
    padding: 56px 0 72px;
  }

  .store-experience-benefits-section .seb-container {
    grid-template-columns: 1fr !important;
    padding: 0 16px;
    gap: 32px;
  }

  .store-experience-benefits-section .seb-image-tile {
    margin-inline-end: 0;
    min-height: 260px;
    max-height: 320px;
    border-radius: var(--radius-card, 8px);
  }

  .store-experience-benefits-section .seb-image-tile img {
    height: 100%;
    max-height: 320px;
  }

  .store-experience-benefits-section .seb-text-side {
    padding: 0;
  }

  .store-experience-benefits-section .seb-heading {
    font-size: 26px;
  }

  .store-experience-benefits-section .seb-intro {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .store-experience-benefits-section .seb-benefit-item {
    padding: 20px 0;
  }

  .store-experience-benefits-section .seb-benefit-title {
    font-size: 19px;
  }
}

/* store-experience-gallery */
.store-experience-gallery-section {
  position: relative;
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFDF8 0%, #F7F3EC 100%);
  color: var(--text-dark);
  padding: 96px 24px 80px;
  overflow: visible;
  direction: rtl;
}

.store-experience-gallery-section .seg-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.store-experience-gallery-section .seg-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 680px;
  margin-inline-start: auto;
  margin-inline-end: auto;
}

.store-experience-gallery-section .seg-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 20px 0;
  letter-spacing: 0.01em;
}

.store-experience-gallery-section .seg-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

.store-experience-gallery-section .seg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  direction: rtl;
}

.store-experience-gallery-section .seg-gallery-item {
  margin: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFDF8;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.store-experience-gallery-section .seg-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(71,54,34,0.18);
}

.store-experience-gallery-section .seg-gallery-item img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}

.store-experience-gallery-section .seg-caption {
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: right;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--border-light);
  background: #FFFDF8;
}

.store-experience-gallery-section .seg-ribbon-divider {
  position: relative;
  margin-top: 72px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-experience-gallery-section .seg-ribbon-line {
  width: 100%;
  max-width: 1200px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 20%, var(--primary) 80%, transparent 100%);
  border-radius: 2px;
  opacity: 0.55;
}

@media (max-width: 900px) {
  .store-experience-gallery-section .seg-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-experience-gallery-section .seg-gallery-item:last-child {
    grid-column: span 2;
  }
  .store-experience-gallery-section .seg-gallery-item:last-child img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .store-experience-gallery-section {
    padding: 56px 16px 56px;
  }
  .store-experience-gallery-section .seg-header {
    margin-bottom: 36px;
  }
  .store-experience-gallery-section .seg-title {
    font-size: 1.6rem;
  }
  .store-experience-gallery-section .seg-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .store-experience-gallery-section .seg-gallery-item:last-child {
    grid-column: span 1 !important;
  }
  .store-experience-gallery-section .seg-gallery-item img {
    height: 220px;
  }
  .store-experience-gallery-section .seg-gallery-item:last-child img {
    height: 220px;
  }
  .store-experience-gallery-section .seg-ribbon-divider {
    margin-top: 40px;
  }
}

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

.store-experience-cta-section .store-experience-cta-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.store-experience-cta-section .store-experience-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.store-experience-cta-section .store-experience-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47, 107, 79, 0.10);
  color: var(--primary);
  border: 1px solid rgba(47, 107, 79, 0.18);
  border-radius: 4px;
  padding: 6px 16px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-experience-cta-section .store-experience-cta-badge i {
  font-size: 0.8rem;
  color: var(--secondary);
}

.store-experience-cta-section .store-experience-cta-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  text-align: center;
  margin: 0;
  max-width: none !important;
}

.store-experience-cta-section .store-experience-cta-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  max-width: 580px;
  max-width: none !important;
}

.store-experience-cta-section .store-experience-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2F6B55;
  color: #FFFDF8;
  padding: 13px 30px;
  border-radius: 6px;
  border: 1px solid #275947;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(47, 107, 85, 0.28);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  cursor: pointer;
  margin-block-start: 8px;
}

.store-experience-cta-section .store-experience-cta-btn:hover {
  background: #245c47;
  box-shadow: 0 8px 18px rgba(47, 107, 85, 0.32);
  transform: translateY(-2px);
  color: #FFFDF8;
}

.store-experience-cta-section .store-experience-cta-btn i {
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}

.store-experience-cta-section .store-experience-cta-btn:hover i {
  transform: translateX(-3px);
}

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

  .store-experience-cta-section .store-experience-cta-inner {
    gap: 18px;
  }

  .store-experience-cta-section .store-experience-cta-heading {
    font-size: 1.6rem;
  }

  .store-experience-cta-section .store-experience-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
}

/* contact-intro */
.contact-intro-section {
  position: relative;
  overflow: visible;
  background-color: #EEE6DB;
  background-image: linear-gradient(180deg, #F3EEE5 0%, #EEE6DB 100%);
  color: var(--text-dark);
  padding: 140px 24px 80px;
  text-align: center;
  direction: rtl;
}

.contact-intro-section .contact-intro-container {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-intro-section .contact-intro-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-intro-section .contact-intro-eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--secondary);
  opacity: 0.7;
}

.contact-intro-section .contact-intro-eyebrow-text {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.contact-intro-section .contact-intro-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0 0 24px;
  letter-spacing: 0.01em;
}

.contact-intro-section .contact-intro-lead {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0 auto 20px;
  max-width: 560px;
  text-align: center;
}

.contact-intro-section .contact-intro-reassurance {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 460px;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid #D9CFC2;
}

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

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

@media (max-width: 768px) {
  .contact-intro-section {
    padding: 110px 16px 72px;
  }

  .contact-intro-section .contact-intro-heading {
    font-size: 2.2rem;
  }

  .contact-intro-section .contact-intro-lead {
    font-size: 16px;
    max-width: 100%;
  }

  .contact-intro-section .contact-intro-reassurance {
    max-width: 100%;
    font-size: 13px;
  }

  .contact-intro-section .contact-intro-eyebrow-line {
    width: 28px;
  }
}

/* contact-contact-methods */
.contact-contact-methods-section {
  direction: rtl;
  background-color: #FFFFFF;
  background-image: linear-gradient(180deg, #FFFDF8 0%, #F7F3EC 100%);
  color: var(--text-dark);
  padding: 96px 24px 120px;
  position: relative;
  overflow: visible;
}

.contact-contact-methods-section .ccm-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-contact-methods-section .ccm-header {
  text-align: center;
  margin-bottom: 56px;
}

.contact-contact-methods-section .ccm-title {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

.contact-contact-methods-section .ccm-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 560px;
}

.contact-contact-methods-section .ccm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  direction: rtl;
}

.contact-contact-methods-section .ccm-card {
  background: #FFFDF8;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.contact-contact-methods-section .ccm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(71,54,34,0.18);
}

.contact-contact-methods-section .ccm-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(47,107,79,0.10) 0%, rgba(201,142,91,0.10) 100%);
  color: var(--primary);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.contact-contact-methods-section .ccm-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.contact-contact-methods-section .ccm-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 12px;
}

.contact-contact-methods-section .ccm-card-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 20px;
  flex: 1;
}

.contact-contact-methods-section .ccm-contact-link {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.22s ease, color 0.22s ease;
  direction: ltr;
  display: inline-block;
}

.contact-contact-methods-section .ccm-contact-link:hover {
  border-bottom-color: var(--primary);
  color: var(--secondary);
}

.contact-contact-methods-section .ccm-address {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: normal;
  margin: 0 0 14px;
}

.contact-contact-methods-section .ccm-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 7px 14px;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  letter-spacing: 0.02em;
}

.contact-contact-methods-section .ccm-map-link svg {
  flex-shrink: 0;
  transform: rotate(45deg);
}

.contact-contact-methods-section .ccm-map-link:hover {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 8px 18px rgba(47,107,85,0.22);
}

/* Bottom diagonal divider */
.contact-contact-methods-section .ccm-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 5;
}

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

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

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

  .contact-contact-methods-section .ccm-header {
    margin-bottom: 36px;
  }

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

  .contact-contact-methods-section .ccm-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .contact-contact-methods-section .ccm-card {
    padding: 24px;
  }

  .contact-contact-methods-section .ccm-divider-wrapper {
    height: 48px;
  }
}

/* contact-form */
.contact-form-section {
  position: relative;
  overflow: visible;
  background-color: #F7F3EC;
  background-image: linear-gradient(180deg, #F3EEE5 0%, #E9E0D4 100%);
  color: var(--text-dark);
  padding: 96px 24px 104px;
  direction: rtl;
}

.contact-form-section__container {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-form-section__intro {
  text-align: center;
  margin-bottom: 40px;
}

.contact-form-section__heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text-dark);
  margin: 0 0 12px 0;
}

.contact-form-section__subtext {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
}

.contact-form-section__form {
  background: #FFFDF8;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px 36px;
  box-shadow: 0 8px 20px rgba(71,54,34,0.14);
}

.contact-form-section__row {
  margin-bottom: 20px;
}

.contact-form-section__row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form-section__row--full {
  display: block;
}

.contact-form-section__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form-section__label {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: right;
  line-height: 1.6;
}

.contact-form-section__input {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: #FFFDF8;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 11px 14px;
  text-align: right;
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: inset 0 1px 2px rgba(71,54,34,0.06);
  outline: none;
  appearance: none;
}

.contact-form-section__input::placeholder {
  color: #B0A898;
  font-size: 14px;
}

.contact-form-section__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,107,85,0.12), inset 0 1px 2px rgba(71,54,34,0.06);
}

.contact-form-section__textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form-section .privacy-consent {
  margin-bottom: 24px;
  color: var(--text-dark);
}

.contact-form-section .privacy-consent-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  text-align: right;
}

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

.contact-form-section .privacy-consent-label a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.22s ease;
}

.contact-form-section .privacy-consent-label a:hover {
  color: var(--secondary);
}

.contact-form-section__submit-row {
  display: flex;
  justify-content: flex-start;
}

.contact-form-section__submit {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--primary);
  color: #FFFDF8;
  border: 1px solid #275947;
  border-radius: 6px;
  padding: 13px 32px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(47,107,85,0.28);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  line-height: 1;
}

.contact-form-section__submit:hover {
  background: #275947;
  box-shadow: 0 8px 18px rgba(47,107,85,0.32);
  transform: translateY(-1px);
}

.contact-form-section__submit:active {
  transform: translateY(0);
}

/* Bottom divider */
.contact-form-section__divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 5;
}

.contact-form-section__divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-form-section {
    padding: 80px 16px 96px;
  }

  .contact-form-section__container {
    max-width: 100%;
  }

  .contact-form-section__heading {
    font-size: 1.6rem;
  }

  .contact-form-section__form {
    padding: 28px 20px;
  }

  .contact-form-section__row--two {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form-section__submit {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .contact-form-section__submit-row {
    justify-content: stretch;
  }
}

/* contact-visit-info */
.contact-visit-info-section {
  background-color: #202124;
  background-image:
    radial-gradient(ellipse at 80% 0%, rgba(47, 107, 79, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(201, 142, 91, 0.09) 0%, transparent 50%),
    linear-gradient(180deg, #202124 0%, #1a1c1f 100%);
  color: var(--text-light);
  padding: 96px 24px;
  direction: rtl;
  position: relative;
  overflow: visible;
}

.contact-visit-info-section .cvis-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Header */
.contact-visit-info-section .cvis-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.contact-visit-info-section .cvis-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-light);
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.contact-visit-info-section .cvis-intro {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  text-align: center;
}

/* Divider */
.contact-visit-info-section .cvis-divider-line {
  width: 56px;
  height: 1px;
  background: var(--secondary);
  margin: 0 auto 48px;
  opacity: 0.55;
}

/* Two-column layout */
.contact-visit-info-section .cvis-columns {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 40px;
  align-items: start;
  margin-bottom: 48px;
}

.contact-visit-info-section .cvis-col-separator {
  width: 1px;
  background: var(--border-dark);
  align-self: stretch;
  min-height: 200px;
  opacity: 0.6;
}

.contact-visit-info-section .cvis-col {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.contact-visit-info-section .cvis-col-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(47, 107, 79, 0.18);
  border: 1px solid rgba(47, 107, 79, 0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-top: 2px;
}

.contact-visit-info-section .cvis-col-content {
  flex: 1;
}

.contact-visit-info-section .cvis-col-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-light);
  margin: 0 0 20px;
  text-align: right;
}

/* Hours list */
.contact-visit-info-section .cvis-hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-visit-info-section .cvis-hours-list li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-dark);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.contact-visit-info-section .cvis-hours-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-visit-info-section .cvis-day {
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
}

.contact-visit-info-section .cvis-time {
  color: var(--secondary);
  font-weight: 500;
  text-align: left;
}

.contact-visit-info-section .cvis-col-note {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  text-align: right;
}

.contact-visit-info-section .cvis-col-text {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 14px;
  text-align: right;
}

.contact-visit-info-section .cvis-col-text:last-child {
  margin-bottom: 0;
}

/* Accent bar */
.contact-visit-info-section .cvis-accent-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(201, 142, 91, 0.1);
  border: 1px solid rgba(201, 142, 91, 0.25);
  border-radius: 8px;
  padding: 18px 28px;
  text-align: center;
}

.contact-visit-info-section .cvis-accent-icon {
  color: var(--secondary);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.contact-visit-info-section .cvis-accent-text {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.contact-visit-info-section .cvis-accent-text strong {
  color: var(--secondary);
  font-weight: 600;
}

/* Responsive — mobile */
@media (max-width: 768px) {
  .contact-visit-info-section {
    padding: 56px 16px;
  }

  .contact-visit-info-section .cvis-header {
    margin-bottom: 32px;
  }

  .contact-visit-info-section .cvis-heading {
    font-size: 1.6rem;
  }

  .contact-visit-info-section .cvis-divider-line {
    margin-bottom: 32px;
  }

  .contact-visit-info-section .cvis-columns {
    grid-template-columns: 1fr;
    gap: 32px 0;
    margin-bottom: 32px;
  }

  .contact-visit-info-section .cvis-col-separator {
    display: none;
  }

  .contact-visit-info-section .cvis-col {
    gap: 14px;
  }

  .contact-visit-info-section .cvis-col-icon {
    width: 42px;
    height: 42px;
  }

  .contact-visit-info-section .cvis-accent-bar {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    text-align: center;
  }

  .contact-visit-info-section .cvis-accent-text {
    font-size: 14px;
  }

  .contact-visit-info-section .cvis-hours-list li {
    flex-direction: row;
    justify-content: space-between;
  }
}



/* 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: hidden !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 */

/* === NAVBAR STYLE OVERRIDES START === */
.navbar { background-color: transparent !important; background-image: linear-gradient(to bottom, rgba(0,0,0,var(--nav-overlay-opacity,0.35)), transparent) !important; transition: background-color 0.3s ease, background-image 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, box-shadow 0.3s ease !important; }
.zappy-catalog-menu, #zappy-catalog-menu { background-image: linear-gradient(to bottom, rgba(0,0,0,var(--nav-overlay-opacity,0.35)), transparent) !important; transition: background 0.3s ease, background-image 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease !important;}
.navbar .nav-menu > li > a,
.navbar .nav-menu > .nav-item > a,
.navbar .nav-link,
.navbar .navbar-nav .nav-link,
.navbar a:not(.nav-cta-btn) { color: #FFFFFF !important; }
.navbar .nav-menu > li > a:hover,
.navbar .nav-menu > .nav-item > a:hover,
.navbar .nav-link:hover,
.navbar a:not(.nav-cta-btn):hover { color: #C98E5B !important; }
.navbar .navbar-brand, .navbar .navbar-brand a { color: #FFFFFF !important; }
.navbar .dropdown-toggle { color: #FFFFFF !important; }
.navbar .dropdown-toggle:hover { color: #C98E5B !important; }
.navbar .mobile-hamburger-btn, .navbar .mobile-close-btn { color: #FFFFFF !important; }
.navbar-toggler { color: #FFFFFF !important; border-color: #FFFFFF44 !important; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFFFFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; }
.navbar .dropdown-menu { background-color: #202124 !important; }
.navbar .dropdown-menu li a,
.navbar .dropdown-menu .dropdown-item { color: #FFFFFF !important; }
.navbar .dropdown-menu li a:hover,
.navbar .dropdown-menu .dropdown-item:hover { color: #C98E5B !important; background-color: rgba(128,128,128,0.1) !important; }
.navbar .sub-menu,
.navbar ul.sub-menu,
nav.navbar .sub-menu { background-color: #202124 !important; }
.navbar .sub-menu a,
.navbar .sub-menu li a,
.navbar .nav-menu .sub-menu a,
.navbar .nav-menu .sub-menu li a,
.navbar .zappy-products-dropdown .sub-menu a,
nav.navbar .sub-menu li a { color: #FFFFFF !important; }
.navbar .sub-menu a:hover,
.navbar .sub-menu li a:hover,
nav.navbar .sub-menu li a:hover { color: #C98E5B !important; background-color: rgba(128,128,128,0.1) !important; }
.navbar .mobile-submenu-toggle { color: #FFFFFF !important; }
.navbar .phone-header-btn { color: #FFFFFF !important; }
.navbar .nav-search-input,
.navbar .nav-search-box .nav-search-input { color: #202124 !important; }
.navbar .nav-search-input::placeholder { color: var(--text-muted, rgba(128,128,128,0.6)) !important; }
@media (min-width: 769px) {
  .navbar .nav-search-box .nav-search-btn { color: #202124 !important; }
  .navbar .nav-search-box .nav-search-btn svg { stroke: #202124 !important; fill: none !important; }
}
.navbar .nav-search-result-name { color: #202124 !important; }
.navbar .nav-search-result-item a { color: #202124 !important; }
.navbar .nav-search-result-price { color: var(--accent, var(--primary)) !important; }
.navbar .nav-search-no-results,
.navbar .search-no-results { color: var(--text-muted, rgba(128,128,128,0.6)) !important; }
.zappy-catalog-menu, #zappy-catalog-menu { background: transparent !important; }
.zappy-catalog-menu .catalog-menu-item,
.zappy-catalog-menu .catalog-menu-all { color: #FFFFFF !important; }
.zappy-catalog-menu .catalog-menu-item:hover,
.zappy-catalog-menu .catalog-menu-all:hover { color: #C98E5B !important; background: rgba(128,128,128,0.1) !important; }
.navbar .cart-link.nav-cart,
.navbar .login-link.nav-login,
.navbar .nav-search-toggle,
.navbar .search-toggle { background: var(--bg-light, #ffffff) !important; color: var(--text-dark, #1a1a1a) !important; }
.navbar .cart-link.nav-cart:hover,
.navbar .login-link.nav-login:hover,
.navbar .nav-search-toggle:hover,
.navbar .search-toggle:hover { background: rgba(128,128,128,0.15) !important; color: var(--text-dark, #1a1a1a) !important; }
.navbar .cart-link.nav-cart svg, .navbar .login-link.nav-login svg, .navbar .nav-search-toggle svg, .navbar .search-toggle svg { color: inherit !important; fill: none !important; stroke: currentColor !important; }

@media (min-width: 769px) {
  .navbar:not(.scrolled) .dropdown-menu { background-color: #202124 !important; }
  .navbar:not(.scrolled) .dropdown-menu li a,
  .navbar:not(.scrolled) .dropdown-menu .dropdown-item { color: #FFFFFF !important; }
  .navbar:not(.scrolled) .dropdown-menu li a:hover,
  .navbar:not(.scrolled) .dropdown-menu .dropdown-item:hover { color: var(--nav-text-hover, var(--accent)) !important; }
  .navbar:not(.scrolled) .sub-menu { background-color: #202124 !important; }
  .navbar:not(.scrolled) .sub-menu a,
  .navbar:not(.scrolled) .sub-menu li a,
  .navbar:not(.scrolled) .nav-menu .sub-menu a,
  .navbar:not(.scrolled) .zappy-products-dropdown .sub-menu a { color: #FFFFFF !important; }
  .navbar:not(.scrolled) .sub-menu a:hover,
  .navbar:not(.scrolled) .sub-menu li a:hover { color: var(--nav-text-hover, var(--accent)) !important; }
}
.navbar.scrolled { background-color: rgba(32,33,36,0.85) !important; background-image: none !important; backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important; box-shadow: 0 2px 16px rgba(0,0,0,0.12) !important; }
.navbar.scrolled::before, .navbar.scrolled::after { background: transparent !important; opacity: 0 !important; }
.navbar.scrolled ~ .zappy-catalog-menu, .navbar.scrolled ~ #zappy-catalog-menu, .zappy-catalog-menu.scrolled, #zappy-catalog-menu.scrolled { background: rgba(32,33,36,0.85) !important; background-image: none !important; backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important; }
.zappy-catalog-menu.scrolled .catalog-menu-item,
.zappy-catalog-menu.scrolled .catalog-menu-all,
#zappy-catalog-menu.scrolled .catalog-menu-item,
#zappy-catalog-menu.scrolled .catalog-menu-all,
.navbar.scrolled ~ .zappy-catalog-menu .catalog-menu-item,
.navbar.scrolled ~ .zappy-catalog-menu .catalog-menu-all,
.navbar.scrolled ~ #zappy-catalog-menu .catalog-menu-item,
.navbar.scrolled ~ #zappy-catalog-menu .catalog-menu-all { color: var(--frosted-text, #FFFFFF) !important; }
.zappy-catalog-menu.scrolled .catalog-menu-item:hover,
.zappy-catalog-menu.scrolled .catalog-menu-all:hover,
#zappy-catalog-menu.scrolled .catalog-menu-item:hover,
#zappy-catalog-menu.scrolled .catalog-menu-all:hover,
.navbar.scrolled ~ .zappy-catalog-menu .catalog-menu-item:hover,
.navbar.scrolled ~ .zappy-catalog-menu .catalog-menu-all:hover,
.navbar.scrolled ~ #zappy-catalog-menu .catalog-menu-item:hover,
.navbar.scrolled ~ #zappy-catalog-menu .catalog-menu-all:hover { color: var(--nav-text-hover, var(--accent)) !important; }
.navbar.scrolled .nav-menu > li > a,
.navbar.scrolled .nav-menu > .nav-item > a,
.navbar.scrolled .nav-link,
.navbar.scrolled a:not(.nav-cta-btn) { color: var(--frosted-text, #FFFFFF) !important; }
.navbar.scrolled .nav-menu > li > a:hover,
.navbar.scrolled .nav-menu > .nav-item > a:hover,
.navbar.scrolled .nav-link:hover,
.navbar.scrolled a:not(.nav-cta-btn):hover { color: var(--nav-text-hover, var(--accent)) !important; }
.navbar.scrolled .navbar-brand, .navbar.scrolled .navbar-brand a { color: var(--frosted-text, #FFFFFF) !important; }
.navbar.scrolled .dropdown-toggle { color: var(--frosted-text, #FFFFFF) !important; }
.navbar.scrolled .mobile-hamburger-btn, .navbar.scrolled .mobile-close-btn { color: var(--frosted-text, #FFFFFF) !important; }
.navbar.scrolled .phone-header-btn { color: var(--frosted-text, #FFFFFF) !important; }
.navbar.scrolled .mobile-toggle { color: var(--frosted-text, #FFFFFF) !important; }
.navbar.scrolled .mobile-toggle svg { color: inherit !important; }
.navbar.scrolled .mobile-toggle svg path { stroke: currentColor !important; }
.navbar.scrolled .nav-search-btn { color: var(--frosted-text, #FFFFFF) !important; }
.navbar.scrolled .nav-search-btn svg { stroke: var(--frosted-text, #FFFFFF) !important; fill: none !important; }
@media (min-width: 769px) {
  .navbar.scrolled .sub-menu,
  .navbar.scrolled ul.sub-menu,
  nav.navbar.scrolled .sub-menu { background-color: #FFFFFF !important; border-radius: 8px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important; }
  .navbar.scrolled .sub-menu a,
  .navbar.scrolled .sub-menu li a,
  .navbar.scrolled .nav-menu .sub-menu a,
  .navbar.scrolled .nav-menu .sub-menu li a,
  .navbar.scrolled .zappy-products-dropdown .sub-menu a,
  nav.navbar.scrolled .sub-menu li a { color: #202124 !important; }
  .navbar.scrolled .sub-menu a:hover,
  .navbar.scrolled .sub-menu li a:hover,
  .navbar.scrolled .nav-menu .sub-menu a:hover,
  nav.navbar.scrolled .sub-menu li a:hover { color: #C98E5B !important; background-color: rgba(128,128,128,0.1) !important; }
  .navbar.scrolled .dropdown-menu { background-color: #FFFFFF !important; }
  .navbar.scrolled .dropdown-menu li a,
  .navbar.scrolled .dropdown-menu .dropdown-item { color: #202124 !important; }
  .navbar.scrolled .dropdown-menu li a:hover,
  .navbar.scrolled .dropdown-menu .dropdown-item:hover { color: #C98E5B !important; background-color: rgba(128,128,128,0.1) !important; }
  .navbar.scrolled .mobile-submenu-toggle { color: #202124 !important; }
}

.navbar.scrolled .cart-link.nav-cart,
.navbar.scrolled .login-link.nav-login,
.navbar.scrolled .nav-search-toggle,
.navbar.scrolled .search-toggle { background: var(--bg-light, #ffffff) !important; color: var(--text-dark, #1a1a1a) !important; }
@media (max-width: 768px) {
  .navbar { background-color: transparent !important; background-image: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; }
  .zappy-catalog-menu, #zappy-catalog-menu { background-image: none !important; }
  .navbar::before, .navbar::after { background: transparent !important; opacity: 0 !important; }
  body.menu-open .navbar, body.nav-open .navbar, body.mobile-menu-open .navbar, .navbar.scrolled, .navbar.active, .navbar.open, .navbar.show, .navbar.menu-open, .navbar:has(.nav-menu.active), .navbar:has(#navMenu.active), .navbar:has(.mobile-menu.active), .navbar:has(.mobile-toggle.active), .navbar:has(#mobileToggle.active) { background-color: #202124 !important; }
  .nav-menu, .nav-menu.active, .nav-menu.nav-menu-active, #navMenu, #navMenu.active, .mobile-menu, .mobile-menu.active, .mobile-nav, .mobile-nav.active { background-color: #202124 !important; background: #202124 !important; }
  .nav-menu.active, .nav-menu.nav-menu-active, #navMenu.active, .mobile-menu.active, .mobile-nav.active { max-height: calc(100dvh - 70px) !important; overflow-y: auto !important; }
  .nav-menu a, .nav-menu > li > a, #navMenu a, #navMenu > li > a { color: #FFFFFF !important; }
  .nav-menu a:hover, .nav-menu > li > a:hover { color: #C98E5B !important; }
  .nav-menu .dropdown-menu { background: rgba(128,128,128,0.06) !important; }
  .nav-menu .dropdown-menu a, .nav-menu .dropdown-menu li a { color: #FFFFFF !important; }
  .nav-menu .dropdown-menu a:hover { color: #C98E5B !important; }
  .nav-menu .sub-menu a { color: #FFFFFF !important; white-space: normal !important; }
  .nav-menu .sub-menu a:hover { color: #C98E5B !important; }
  .nav-menu > li { position: relative !important; }
  .navbar .nav-menu .mobile-submenu-toggle { color: #FFFFFF !important; position: static !important; height: auto !important; flex-shrink: 0 !important; align-self: stretch !important; }
  .mobile-toggle { color: #FFFFFF !important; }
  .mobile-toggle svg { color: inherit !important; }
  .mobile-toggle svg path { stroke: currentColor !important; }
  
  /* When menu is open or navbar is scrolled in mobile, the background is dropdownBg, so text should be mobileMenuText */
  .navbar.scrolled .mobile-toggle, .navbar.scrolled .mobile-hamburger-btn, .navbar.scrolled .mobile-close-btn,
  .navbar.scrolled .navbar-brand, .navbar.scrolled .dropdown-toggle, .navbar.scrolled .phone-header-btn,
  body.menu-open .navbar .mobile-toggle, body.nav-open .navbar .mobile-toggle, body.mobile-menu-open .navbar .mobile-toggle,
  .navbar.active .mobile-toggle, .navbar.open .mobile-toggle, .navbar.show .mobile-toggle, .navbar.menu-open .mobile-toggle,
  .navbar:has(.nav-menu.active) .mobile-toggle, .navbar:has(#navMenu.active) .mobile-toggle, .navbar:has(.mobile-menu.active) .mobile-toggle, .navbar:has(.mobile-toggle.active) .mobile-toggle,
  body.menu-open .navbar .navbar-brand, body.nav-open .navbar .navbar-brand, body.mobile-menu-open .navbar .navbar-brand,
  .navbar.active .navbar-brand, .navbar.open .navbar-brand, .navbar.show .navbar-brand, .navbar.menu-open .navbar-brand,
  .navbar:has(.nav-menu.active) .navbar-brand, .navbar:has(#navMenu.active) .navbar-brand, .navbar:has(.mobile-menu.active) .navbar-brand, .navbar:has(.mobile-toggle.active) .navbar-brand,
  body.menu-open .navbar .phone-header-btn, body.nav-open .navbar .phone-header-btn, body.mobile-menu-open .navbar .phone-header-btn,
  .navbar.active .phone-header-btn, .navbar.open .phone-header-btn, .navbar.show .phone-header-btn, .navbar.menu-open .phone-header-btn,
  .navbar:has(.nav-menu.active) .phone-header-btn, .navbar:has(#navMenu.active) .phone-header-btn, .navbar:has(.mobile-menu.active) .phone-header-btn, .navbar:has(.mobile-toggle.active) .phone-header-btn {
    color: #FFFFFF !important;
  }
  
  .navbar.scrolled .mobile-toggle svg { color: inherit !important; }
  .navbar.scrolled .mobile-toggle svg path { stroke: currentColor !important; }
  
  .navbar.scrolled .nav-menu > li > a,
  .navbar.scrolled .nav-menu > .nav-item > a,
  .navbar.scrolled .nav-link,
  .navbar.scrolled a:not(.nav-cta-btn) { color: #FFFFFF !important; }
  .cart-link.nav-cart,
  .login-link.nav-login,
  .nav-search-toggle,
  .search-toggle { background: var(--bg-light, #ffffff) !important; color: var(--text-dark, #1a1a1a) !important; }
  .cart-link.nav-cart svg,
  .login-link.nav-login svg,
  .nav-search-toggle svg,
  .search-toggle svg { stroke: var(--text-dark, #1a1a1a) !important; color: var(--text-dark, #1a1a1a) !important; }
  .mobile-search-panel { color: #FFFFFF !important; }
  .mobile-search-panel input { color: #FFFFFF !important; background: rgba(255,255,255,0.12) !important; }
  .mobile-search-panel .close-search { color: #FFFFFF !important; background: rgba(255,255,255,0.15) !important; }
  .mobile-search-panel .close-search svg { stroke: #FFFFFF !important; color: #FFFFFF !important; }
  .mobile-search-panel .close-search:hover { color: #FFFFFF !important; background: rgba(255,255,255,0.25) !important; }
  .mobile-search-panel .close-search:hover svg { stroke: #FFFFFF !important; color: #FFFFFF !important; }
  .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; opacity: 0 !important; visibility: hidden !important;
    pointer-events: none !important; box-shadow: none !important; border: none !important;
    padding: 0 !important; transform: none !important;
  }
  .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; opacity: 0 !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;
  }
}
/* === NAVBAR STYLE OVERRIDES END === */




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


/* Cookie Consent Styles */

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

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

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

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

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

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

/* Accessibility Styles */

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

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

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

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

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

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


/* Custom Accessibility Toolbar Styling - Zappy Style */

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

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

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

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

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

/* Also directly target all SVG elements to be the selected color */
#mic-access-tool-general-button svg,
#mic-access-tool-general-button svg *,
#mic-access-tool-general-button svg path,
#mic-access-tool-general-button svg circle,
#mic-access-tool-general-button svg rect,
#mic-access-tool-general-button svg polygon,
#mic-access-tool-general-button svg ellipse,
#mic-access-tool-general-button svg line,
#mic-access-tool-general-button svg polyline,
#mic-access-tool-general-button svg g {
  fill: #202124 !important;
  stroke: #202124 !important;
  color: #202124 !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: #202124 !important;
  color: white !important;
}

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

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

/* Active buttons and highlights in menu */
#mic-access-tool-box button.active,
#mic-access-tool-box button:hover,
div[id*="mic-access-tool-box"] button.active,
div[id*="mic-access-tool-box"] button:hover {
  border-color: #202124 !important;
  color: #202124 !important;
  background-color: rgba(32, 33, 36, 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: #202124 !important;
  color: white !important;
}

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

/* Hide accessibility widget by default on all screen sizes */
/* TODO: Can be re-enabled in the future by removing display: none */
/* The widget can be shown via ALT+A keyboard shortcut (desktop only) */
/* Target Mickidum accessibility button with high specificity */
#mic-access-tool-general-button,
.mic-access-tool-general-button,
#mic-init-access-tool .mic-access-tool-general-button,
#mic-init-access-tool #mic-access-tool-general-button,
._access-icon {
  display: none !important; /* Hidden by default - can be re-enabled */
}

/* Target Mickidum accessibility menu with high specificity */
#mic-access-tool-box,
.mic-access-tool-box,
#mic-init-access-tool #mic-access-tool-box,
div[id*="mic-access-tool-box"],
._access-menu {
  display: none !important; /* Hidden by default - can be re-enabled */
}

/* Show accessibility widget when ALT+A keyboard shortcut is used (desktop only) */
body.accessibility-widget-visible #mic-access-tool-general-button,
body.accessibility-widget-visible .mic-access-tool-general-button,
body.accessibility-widget-visible #mic-init-access-tool .mic-access-tool-general-button,
body.accessibility-widget-visible #mic-init-access-tool #mic-access-tool-general-button,
body.accessibility-widget-visible ._access-icon {
  display: flex !important; /* Show button when visible class is added */
}

body.accessibility-widget-visible #mic-access-tool-box,
body.accessibility-widget-visible .mic-access-tool-box,
body.accessibility-widget-visible #mic-init-access-tool #mic-access-tool-box,
body.accessibility-widget-visible div[id*="mic-access-tool-box"],
body.accessibility-widget-visible ._access-menu {
  display: block !important; /* Show menu when visible class is added */
}

/* On mobile, ensure it stays hidden */
@media (max-width: 768px) {
  /* Hide the accessibility button on mobile - higher specificity */
  #mic-access-tool-general-button,
  .mic-access-tool-general-button,
  #mic-init-access-tool .mic-access-tool-general-button,
  #mic-init-access-tool #mic-access-tool-general-button,
  ._access-icon {
    display: none !important; /* Hidden on mobile - can be re-enabled */
  }
  
  /* Hide the accessibility menu on mobile - higher specificity */
  #mic-access-tool-box,
  .mic-access-tool-box,
  #mic-init-access-tool #mic-access-tool-box,
  div[id*="mic-access-tool-box"],
  ._access-menu {
    display: none !important; /* Hidden on mobile - can be re-enabled */
  }
  
  /* Ensure mobile never shows widget even with keyboard shortcut */
  body.accessibility-widget-visible #mic-access-tool-general-button,
  body.accessibility-widget-visible .mic-access-tool-general-button,
  body.accessibility-widget-visible #mic-init-access-tool .mic-access-tool-general-button,
  body.accessibility-widget-visible #mic-init-access-tool #mic-access-tool-general-button,
  body.accessibility-widget-visible ._access-icon,
  body.accessibility-widget-visible #mic-access-tool-box,
  body.accessibility-widget-visible .mic-access-tool-box,
  body.accessibility-widget-visible #mic-init-access-tool #mic-access-tool-box,
  body.accessibility-widget-visible div[id*="mic-access-tool-box"],
  body.accessibility-widget-visible ._access-menu {
    display: none !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;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 16px;
  color: var(--text-dark);
}
.checkout-order-details .order-totals-row span:last-child {
  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;
}
@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(--bg-light);
  }
  .nav-menu.active,
  .nav-menu.nav-menu-active,
  #navMenu.active {
    max-height: calc(100dvh - 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: 8px;
  flex-wrap: wrap;
  justify-content: center !important;
  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-height: calc(100vh - 200px) !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%;
  justify-content: flex-start;
  border-radius: 6px;
  padding: 8px 14px;
  white-space: nowrap;
  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-height: calc(100vh - 150px) !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;
    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== */

/* AI-generated section */
/* =========================================
   HERO SECTION — גורים בכפר
   ========================================= */

.hero-gcv-main {
  background-color: #FFFDF8;
  padding: 80px 24px 0;
  font-family: system-ui, sans-serif;
  direction: rtl;
  text-align: right;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture dots */
.hero-gcv-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47, 107, 79, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ---- Container ---- */
.hero-gcv-container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* =========================================
   RIGHT COLUMN — Text Content
   ========================================= */

.hero-gcv-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---- Badge / Eyebrow ---- */
.hero-gcv-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: rgba(201, 142, 91, 0.10);
  color: #b07030;
  border: 1.5px solid rgba(201, 142, 91, 0.45);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  width: fit-content;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-gcv-badge:hover {
  background-color: rgba(201, 142, 91, 0.18);
  border-color: rgba(201, 142, 91, 0.7);
}

.hero-gcv-badge-icon {
  color: #C98E5B;
  flex-shrink: 0;
}

/* ---- Headline ---- */
.hero-gcv-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #1a2e23;
  margin: 0;
  letter-spacing: -0.5px;
}

.hero-gcv-headline-accent {
  color: var(--primary, #2F6B4F);
  display: inline-block;
}

/* ---- Body ---- */
.hero-gcv-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: #4a5a50;
  margin: 0;
  max-width: 500px;
}

/* ---- Trust Indicators ---- */
.hero-gcv-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-gcv-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background-color: #f4faf7;
  border: 1px solid rgba(47, 107, 79, 0.18);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2e5c42;
}

.hero-gcv-trust-icon {
  font-size: 16px;
  line-height: 1;
}

/* ---- CTA Buttons ---- */
.hero-gcv-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-gcv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.hero-gcv-btn:focus-visible {
  outline: 3px solid #C98E5B;
  outline-offset: 3px;
}

/* Primary filled button */
.hero-gcv-btn-primary {
  background: var(--gradient-primary, linear-gradient(180deg, #3B785F 0%, #2F6B55 100%));
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 18px rgba(47, 107, 79, 0.28);
}

.hero-gcv-btn-primary:hover {
  background: linear-gradient(180deg, #2F6B4F 0%, #255940 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(47, 107, 79, 0.38);
  color: #ffffff;
}

.hero-gcv-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(47, 107, 79, 0.25);
}

/* Outline / ghost button */
.hero-gcv-btn-outline {
  background-color: transparent;
  color: var(--primary, #2F6B4F);
  border: 2px solid var(--primary, #2F6B4F);
}

.hero-gcv-btn-outline:hover {
  background-color: var(--primary, #2F6B4F);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 79, 0.22);
}

.hero-gcv-btn-outline:active {
  transform: translateY(0);
}

/* =========================================
   LEFT COLUMN — Image
   ========================================= */

.hero-gcv-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-gcv-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

/* Decorative background shape behind image */
.hero-gcv-image-decoration {
  position: absolute;
  top: -18px;
  left: -18px;
  right: 18px;
  bottom: 18px;
  background: linear-gradient(135deg, rgba(47, 107, 79, 0.12) 0%, rgba(201, 142, 91, 0.10) 100%);
  border-radius: 24px;
  z-index: 0;
}

.hero-gcv-image {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(47, 107, 79, 0.18), 0 4px 16px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.hero-gcv-image:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 60px rgba(47, 107, 79, 0.24), 0 8px 24px rgba(0,0,0,0.10);
}

/* Floating badge on image */
.hero-gcv-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 1.5px solid rgba(47, 107, 79, 0.15);
}

.hero-gcv-image-badge-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary, #2F6B4F);
  line-height: 1;
}

.hero-gcv-image-badge-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b8070;
  white-space: nowrap;
}

/* =========================================
   BOTTOM WAVE
   ========================================= */

.hero-gcv-wave {
  margin-top: 60px;
  line-height: 0;
  overflow: hidden;
}

.hero-gcv-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* =========================================
   RESPONSIVE — TABLET
   ========================================= */

@media (max-width: 900px) {
  .hero-gcv-main {
    padding: 60px 20px 0;
  }

  .hero-gcv-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* On mobile/tablet, image goes first (top), text below */
  .hero-gcv-image-col {
    order: -1;
  }

  .hero-gcv-image {
    height: 320px;
    max-width: 100%;
  }

  .hero-gcv-image-wrapper {
    max-width: 100%;
  }

  .hero-gcv-content {
    gap: 20px;
  }

  .hero-gcv-headline {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
  }
}

/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */

@media (max-width: 580px) {
  .hero-gcv-main {
    padding: 44px 16px 0;
  }

  .hero-gcv-container {
    gap: 28px;
  }

  .hero-gcv-image {
    height: 240px;
    border-radius: 16px;
  }

  .hero-gcv-image-decoration {
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border-radius: 18px;
  }

  .hero-gcv-headline {
    font-size: 1.75rem;
  }

  .hero-gcv-body {
    font-size: 15px;
  }

  .hero-gcv-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-gcv-btn {
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }

  .hero-gcv-trust {
    gap: 10px;
  }

  .hero-gcv-trust-item {
    font-size: 12.5px;
    padding: 7px 11px;
  }

  .hero-gcv-image-badge {
    bottom: 14px;
    right: 14px;
    padding: 8px 12px;
  }

  .hero-gcv-image-badge-num {
    font-size: 17px;
  }

  .hero-gcv-wave {
    margin-top: 36px;
  }
}

/* Cloned section from URL */
/* ===== GCTA Banner Section ===== */
.gcta-banner {
  background: var(--primary, #2F6B4F);
  background-image: var(--gradient-primary, linear-gradient(180deg, #3B785F 0%, #2F6B55 100%));
  padding: 100px 24px;
  font-family: system-ui, sans-serif;
  direction: rtl;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative background pattern */
.gcta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0,0,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.gcta-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.gcta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Badge */
.gcta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #d4e8c2;
  border: 1px solid rgba(212, 232, 194, 0.4);
  border-radius: 999px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* Headline */
.gcta-headline {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
}

/* Subtitle */
.gcta-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0 0 36px 0;
  max-width: 600px;
}

/* Buttons row */
.gcta-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Base button */
.gcta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  min-width: 160px;
  white-space: nowrap;
}

/* Primary (filled) button */
.gcta-btn--primary {
  background: #ffffff;
  color: var(--primary, #2F6B4F);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.gcta-btn--primary:hover,
.gcta-btn--primary:focus-visible {
  background: #f0faf4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  outline: none;
}

.gcta-btn--primary:focus-visible {
  outline: 3px solid #d4e8c2;
  outline-offset: 3px;
}

/* Outline (ghost) button */
.gcta-btn--outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.gcta-btn--outline:hover,
.gcta-btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  outline: none;
}

.gcta-btn--outline:focus-visible {
  outline: 3px solid rgba(255,255,255,0.6);
  outline-offset: 3px;
}

/* Footer note */
.gcta-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  margin: 0;
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .gcta-banner {
    padding: 72px 20px;
  }

  .gcta-headline {
    font-size: 1.75rem;
  }

  .gcta-subtitle {
    font-size: 15.5px;
  }

  .gcta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .gcta-btn {
    width: 100%;
    max-width: 300px;
    padding: 13px 24px;
  }

  .gcta-badge {
    font-size: 12px;
    padding: 5px 16px;
  }
}

/* AI-generated section */
/* ===== HERO SECTION — GORIMS BAKFAR ===== */
.hero-gpv {
  background-color: #FFF8F2;
  padding-top: 110px;
  padding-bottom: 80px;
  padding-left: 24px;
  padding-right: 24px;
  font-family: system-ui, sans-serif;
  direction: rtl;
  overflow: hidden;
  position: relative;
}

.hero-gpv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(47, 107, 79, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(255, 200, 150, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-gpv__container {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 1;
}

/* ===== TEXT CONTENT (RIGHT in RTL) ===== */
.hero-gpv__content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Badge / Pill */
.hero-gpv__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(47, 107, 79, 0.1);
  color: var(--primary, #2F6B4F);
  border: 1px solid rgba(47, 107, 79, 0.25);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
  margin-bottom: 20px;
}

.hero-gpv__badge-icon {
  color: var(--primary, #2F6B4F);
  flex-shrink: 0;
}

/* Headline */
.hero-gpv__headline {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  color: #1a2e1f;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

/* Subtitle */
.hero-gpv__subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5e52;
  margin: 0 0 28px 0;
  max-width: 520px;
}

/* Stats row */
.hero-gpv__stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(47, 107, 79, 0.12);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(47, 107, 79, 0.07);
  width: fit-content;
}

.hero-gpv__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-gpv__stat-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary, #2F6B4F);
  line-height: 1;
}

.hero-gpv__stat-label {
  font-size: 11px;
  color: #6b7e73;
  font-weight: 500;
  white-space: nowrap;
}

.hero-gpv__stat-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(47, 107, 79, 0.18);
  flex-shrink: 0;
}

/* CTA Buttons */
.hero-gpv__cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-gpv__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease, border-color 0.22s ease;
  white-space: nowrap;
  font-family: system-ui, sans-serif;
  border: 2px solid transparent;
}

.hero-gpv__btn:focus-visible {
  outline: 3px solid var(--primary, #2F6B4F);
  outline-offset: 3px;
}

.hero-gpv__btn--primary {
  background: var(--gradient-primary, linear-gradient(180deg, #3B785F 0%, #2F6B55 100%));
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(47, 107, 79, 0.35);
  border-color: transparent;
}

.hero-gpv__btn--primary:hover {
  background: linear-gradient(180deg, #4a8a70 0%, #3B785F 100%);
  box-shadow: 0 6px 24px rgba(47, 107, 79, 0.45);
  transform: translateY(-2px);
}

.hero-gpv__btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(47, 107, 79, 0.3);
}

.hero-gpv__btn-icon {
  flex-shrink: 0;
}

.hero-gpv__btn--outline {
  background: transparent;
  color: var(--primary, #2F6B4F);
  border-color: var(--primary, #2F6B4F);
}

.hero-gpv__btn--outline:hover {
  background: rgba(47, 107, 79, 0.07);
  box-shadow: 0 4px 14px rgba(47, 107, 79, 0.15);
  transform: translateY(-2px);
}

.hero-gpv__btn--outline:active {
  transform: translateY(0);
}

/* Trust line */
.hero-gpv__trust {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #6b7e73;
  font-weight: 500;
}

.hero-gpv__trust-icon {
  color: var(--primary, #2F6B4F);
  flex-shrink: 0;
}

/* ===== IMAGE (LEFT in RTL) ===== */
.hero-gpv__image-wrapper {
  flex: 1 1 48%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}

.hero-gpv__image-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  overflow: visible;
}

.hero-gpv__image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 20px 60px rgba(47, 107, 79, 0.18), 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.hero-gpv__image:hover {
  transform: scale(1.01);
}

/* Floating badges on image */
.hero-gpv__float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  animation: hero-gpv-float 3.5s ease-in-out infinite;
  z-index: 10;
}

.hero-gpv__float-badge--verified {
  top: 22px;
  right: -18px;
  color: var(--primary, #2F6B4F);
  animation-delay: 0s;
}

.hero-gpv__float-badge--verified svg {
  color: var(--primary, #2F6B4F);
}

.hero-gpv__float-badge--health {
  bottom: 32px;
  right: -18px;
  color: #c0392b;
  animation-delay: 1.2s;
}

.hero-gpv__float-badge--health svg {
  color: #e74c3c;
}

@keyframes hero-gpv-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* Decorative blobs */
.hero-gpv__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero-gpv__blob--1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(47, 107, 79, 0.1) 0%, transparent 70%);
  top: -60px;
  left: -60px;
}

.hero-gpv__blob--2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 180, 100, 0.15) 0%, transparent 70%);
  bottom: -40px;
  right: -40px;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 900px) {
  .hero-gpv {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-gpv__container {
    gap: 36px;
  }

  .hero-gpv__headline {
    font-size: clamp(30px, 5vw, 40px);
  }

  .hero-gpv__float-badge--verified {
    right: -8px;
  }

  .hero-gpv__float-badge--health {
    right: -8px;
  }

  .hero-gpv__image {
    height: 380px;
  }

  .hero-gpv__image-wrapper {
    min-height: 380px;
  }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 680px) {
  .hero-gpv {
    padding-top: 90px;
    padding-bottom: 50px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-gpv__container {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .hero-gpv__content {
    flex: none;
    width: 100%;
  }

  .hero-gpv__image-wrapper {
    flex: none;
    width: 100%;
    min-height: auto;
  }

  .hero-gpv__image-frame {
    max-width: 100%;
  }

  .hero-gpv__image {
    height: 280px;
    border-radius: 18px;
  }

  .hero-gpv__headline {
    font-size: 30px;
  }

  .hero-gpv__subtitle {
    font-size: 15px;
  }

  .hero-gpv__stats {
    gap: 14px;
    padding: 14px 16px;
    width: 100%;
    justify-content: space-around;
  }

  .hero-gpv__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-gpv__btn {
    justify-content: center;
    padding: 15px 20px;
    font-size: 15px;
  }

  .hero-gpv__float-badge--verified {
    top: 14px;
    right: 10px;
    font-size: 12px;
    padding: 7px 12px;
  }

  .hero-gpv__float-badge--health {
    bottom: 14px;
    right: 10px;
    font-size: 12px;
    padding: 7px 12px;
  }
}

@media (max-width: 380px) {
  .hero-gpv__headline {
    font-size: 26px;
  }

  .hero-gpv__stat-number {
    font-size: 18px;
  }

  .hero-gpv__stat-label {
    font-size: 10px;
  }
}
/* 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;
  }
  
  /* Legacy zoom wrappers without saved crop data can still fall back to responsive images. */
  [data-zappy-zoom-wrapper="true"]:not([data-zappy-zoom-wrapper-width]) 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: hidden !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;
  }
}

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