

/* 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,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #8E3A67;
  --secondary: #C9A66B;
  --accent: #E9D6DE;
  --bg-light: #FCFAF7;
  --bg-dark: #1F1A17;
  --text-dark: #1F1A17;
  --text-light: #FCFAF7;
  --text-muted: #6F655F;
  --border-light: #E8E0D8;
  --border-dark: #4B403A;
  --nav-bg: #FCFAF7;
  --nav-text: #1F1A17;
  --nav-text-hover: #8E3A67;

  --radius-sm: 4px;
  --radius-card: 8px;
  --radius-btn: 6px;
  --radius-img: 0px;
  --radius-badge: 4px;
  --radius-input: 6px;
  --shadow-subtle: 0 6px 18px rgba(89, 58, 45, 0.08);
  --shadow-card: 0 12px 30px rgba(89, 58, 45, 0.12);
  --shadow-elevated: 0 20px 48px rgba(89, 58, 45, 0.18);
  --shadow-btn-hover: 0 14px 32px rgba(153, 56, 94, 0.18);
  --spacing-section: 96px;
  --spacing-section-mobile: 56px;
  --spacing-card-padding: 32px;
  --spacing-card-gap: 24px;
  --spacing-element-gap: 16px;
  --transition-default: all 0.3s ease;
  --transition-hover: all 0.25s ease;

  --gradient-primary: linear-gradient(180deg, #A53B66 0%, #8B3156 100%);
  --gradient-gold-shine: linear-gradient(90deg, #C58E4F 0%, #E9C48E 50%, #C58E4F 100%);
  --gradient-secondary: linear-gradient(180deg, #E0B06F 0%, #CF9755 100%);
  --gradient-gold-accent: linear-gradient(180deg, #E7BC7F 0%, #D29C5F 100%);
  --gradient-dark-section: linear-gradient(180deg, #C7B19E 0%, #8F6D58 100%);
  --gradient-overlay-dark: linear-gradient(180deg, rgba(90, 58, 44, 0.08) 0%, rgba(90, 58, 44, 0.18) 100%);
  --gradient-light-section: linear-gradient(180deg, #FCF8F4 0%, #F1E7DE 100%);
  --gradient-overlay-light: linear-gradient(180deg, rgba(255, 252, 248, 0.82) 0%, rgba(255, 248, 242, 0.92) 100%);
}

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

html {
  font-size: 16px !important;
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  -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;
  background-color: var(--bg-light);
  color: var(--text-dark);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Rubik', sans-serif;
  color: var(--text-dark);
  font-weight: 600;
  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;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

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

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

p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
  font-family: 'Rubik', sans-serif;
  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,
input,
textarea,
select,
button {
  font-family: 'Rubik', sans-serif;
}

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

a:hover {
  color: var(--primary);
  opacity: 0.8;
  text-decoration: none;
}

.site-footer a {
  color: inherit;
}

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

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

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

blockquote {
  border-right: 4px solid var(--primary);
  border-left: none;
  padding: 1rem 1.5rem 1rem 0;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
}

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

code {
  padding: 2px 6px;
}

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

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

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

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

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

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

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

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

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

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

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

.btn-primary:hover {
  background: linear-gradient(180deg, #B8426F 0%, #9A3560 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-btn-hover);
}

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

.btn-secondary:hover {
  background: linear-gradient(180deg, #EEC07F 0%, #D9A560 100%);
  color: var(--text-light);
  box-shadow: 0 14px 32px rgba(201, 166, 107, 0.3);
}

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

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

.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-sm {
  padding: 10px 20px;
  font-size: 13px;
}

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

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

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

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

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

.badge-secondary {
  background-color: rgba(201, 166, 107, 0.15);
  color: #8B6A30;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-input);
  font-size: 15px;
  font-family: 'Rubik', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  transition: var(--transition-default);
  direction: rtl;
  text-align: right;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(142, 58, 103, 0.1);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !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-accent { background-color: var(--accent) !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; }

.w-full { width: 100% !important; }
.h-full { height: 100% !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; }

.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-card { border-radius: var(--radius-card) !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; }

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

.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1rem 0;
  border-radius: 2px;
}

.divider-center {
  margin-right: auto;
  margin-left: auto;
}

.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold-shine);
  margin: 1rem 0;
  border-radius: 2px;
}

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

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

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

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

  .section {
    padding: 72px 0;
  }

  .container {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 28px !important; margin-bottom: 1rem !important; margin-top: 0.5rem !important; }
  h2 { font-size: 22px !important; margin-bottom: 1rem !important; margin-top: 0.5rem !important; }
  h3 { font-size: 18px !important; margin-bottom: 1rem !important; margin-top: 0.5rem !important; }
  p  { font-size: 14px !important; }

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

  .container {
    padding: 0 16px;
  }

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

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

  .card {
    padding: 20px;
  }

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

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

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

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

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .card {
    padding: 16px;
  }
}

@media (min-width: 576px) {
  .container {
    padding: 0 20px;
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 20px;
  }
}

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

/* Navbar Styles */
:root {
  --nav-bg: #FCFAF7;
  --nav-text: #1F1A17;
  --nav-text-hover: #8E3A67;
  --primary: #8E3A67;
  --secondary: #C9A66B;
  --accent: #E9D6DE;
  --bg-light: #FCFAF7;
  --bg-dark: #1F1A17;
  --text-dark: #1F1A17;
  --text-light: #FCFAF7;
  --text-muted: #6F655F;
  --border-light: #E8E0D8;
  --border-dark: #4B403A;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 16px rgba(31, 26, 23, 0.06);
  font-family: 'Rubik', sans-serif;
  direction: rtl;
}

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

.nav-brand {
  flex-shrink: 0;
}

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

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

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

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

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

.nav-link:hover {
  color: var(--nav-text-hover);
  background-color: rgba(142, 58, 103, 0.05);
}

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

.nav-cta-container {
  margin-left: auto;
  flex-shrink: 0;
}

.nav-cta-btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--text-light);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 6px;
  text-transform: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.nav-cta-btn:hover {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.18);
}

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

.mobile-toggle:hover {
  color: var(--nav-text-hover);
  background-color: rgba(142, 58, 103, 0.06);
}

.phone-header-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
  border-radius: 4px;
  transition: all 0.25s ease;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.phone-header-btn:hover {
  color: var(--nav-text-hover);
  background-color: rgba(142, 58, 103, 0.06);
}

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

  .mobile-toggle {
    display: flex;
  }

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

  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 16px 24px;
    gap: 0;
    align-items: center;
    justify-content: center;
    min-height: 64px;
  }

  .nav-brand {
    padding: 8px 0;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0 8px;
    gap: 4px;
    border-top: 1px solid var(--border-light);
    margin-top: 8px;
  }

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

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
  }

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

  .nav-cta-container {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding: 12px 0 8px;
    border-top: 1px solid var(--border-light);
  }

  .nav-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 32px;
  }
}
:root {
  --nav-bg: #FCFAF7;
  --nav-text: #1F1A17;
  --nav-text-hover: #8E3A67;
  --primary: #8E3A67;
  --secondary: #C9A66B;
  --accent: #E9D6DE;
  --bg-light: #FCFAF7;
  --bg-dark: #1F1A17;
  --text-dark: #1F1A17;
  --text-light: #FCFAF7;
  --text-muted: #6F655F;
  --border-light: #E8E0D8;
  --border-dark: #4B403A;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 16px rgba(31, 26, 23, 0.06);
  font-family: 'Rubik', sans-serif;
  direction: rtl;
}

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

.nav-brand {
  flex-shrink: 0;
}

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

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

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

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

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

.nav-link:hover {
  color: var(--nav-text-hover);
  background-color: rgba(142, 58, 103, 0.05);
}

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

.nav-cta-container {
  margin-left: auto;
  flex-shrink: 0;
}

.nav-cta-btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--text-light);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 6px;
  text-transform: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.nav-cta-btn:hover {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.18);
}

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

.mobile-toggle:hover {
  color: var(--nav-text-hover);
  background-color: rgba(142, 58, 103, 0.06);
}

.phone-header-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
  border-radius: 4px;
  transition: all 0.25s ease;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.phone-header-btn:hover {
  color: var(--nav-text-hover);
  background-color: rgba(142, 58, 103, 0.06);
}

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

  .mobile-toggle {
    display: flex;
  }

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

  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 16px 24px;
    gap: 0;
    align-items: center;
    justify-content: center;
    min-height: 64px;
  }

  .nav-brand {
    padding: 8px 0;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0 8px;
    gap: 4px;
    border-top: 1px solid var(--border-light);
    margin-top: 8px;
  }

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

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
  }

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

  .nav-cta-container {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding: 12px 0 8px;
    border-top: 1px solid var(--border-light);
  }

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

/* ============================================
   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, #8E3A67));
  outline-offset: 2px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 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 {
  --primary: #8E3A67;
  --secondary: #C9A66B;
  --accent: #E9D6DE;
  --bg-light: #FCFAF7;
  --bg-dark: #1F1A17;
  --text-dark: #1F1A17;
  --text-light: #FCFAF7;
  --text-muted: #6F655F;
  --border-light: #E8E0D8;
  --border-dark: #4B403A;

  background-color: #18100E;
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  direction: rtl;
  padding: 3.5rem 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at top right, rgba(142, 58, 103, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at bottom left, rgba(201, 166, 107, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ── TOP GRID ── */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

/* ── BRAND COLUMN ── */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.1rem;
}

.footer-logo-link .logo {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(252, 250, 247, 0.6);
  margin: 0 0 1.5rem;
  max-width: 220px;
}

/* ── SOCIAL ── */
.footer-social {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(142, 58, 103, 0.25);
  border: 1px solid rgba(142, 58, 103, 0.45);
  color: var(--text-light);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(89, 58, 45, 0.08);
}

/* ── COLUMN HEADINGS ── */
.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 0.6rem;
}

.footer-heading-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(to left, var(--secondary), transparent);
  margin-bottom: 1.2rem;
}

/* ── QUICK LINKS ── */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li a {
  color: rgba(252, 250, 247, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 6px;
  padding: 0.1rem 0;
}

.footer-links li a::before {
  content: '‹';
  color: var(--secondary);
  font-size: 1rem;
  
  transform: translateX(4px);
  transition: all 0.25s ease;
}

.footer-links li a:hover {
  color: var(--text-light);
  padding-right: 0.3rem;
}

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

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

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

.contact-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(201, 166, 107, 0.15);
  border: 1px solid rgba(201, 166, 107, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.75rem;
  margin-top: 1px;
}

.contact-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(252, 250, 247, 0.7);
}

.contact-text a {
  color: rgba(252, 250, 247, 0.7);
  text-decoration: none;
  transition: all 0.25s ease;
  border-radius: 6px;
}

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

/* ── NEWSLETTER ── */
.footer-extra-text {
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(252, 250, 247, 0.6);
  margin: 0 0 1.1rem;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-newsletter input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  color: var(--text-light);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.25s ease;
  direction: rtl;
  font-family: 'Rubik', sans-serif;
}

.footer-newsletter input::placeholder {
  color: rgba(252, 250, 247, 0.35);
}

.footer-newsletter input:focus {
  border-color: var(--primary);
  background: rgba(142, 58, 103, 0.1);
  box-shadow: 0 0 0 3px rgba(142, 58, 103, 0.15);
}

.footer-newsletter button {
  background: linear-gradient(135deg, var(--primary) 0%, #6e2b4f 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Rubik', sans-serif;
  letter-spacing: 0.03em;
}

.footer-newsletter button:hover {
  background: linear-gradient(135deg, #a04478 0%, var(--primary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(89, 58, 45, 0.08);
}

/* ── DIVIDER ── */
.footer-divider {
  height: 1px;
  background: linear-gradient(to left, transparent, var(--border-dark) 30%, var(--border-dark) 70%, transparent);
  margin: 0;
}

/* ── BOTTOM BAR ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.4rem 0 1.6rem;
}

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

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

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(252, 250, 247, 0.5);
  text-decoration: none;
  transition: all 0.25s ease;
  border-radius: 6px;
  padding: 0.1rem 0.2rem;
}

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

.legal-sep {
  color: rgba(252, 250, 247, 0.25);
  font-size: 0.8rem;
  user-select: none;
}

.zappy-attribution {
  font-size: 0.82rem;
  color: rgba(201, 166, 107, 0.55) !important;
  text-decoration: none;
  transition: all 0.25s ease;
  border-radius: 6px;
}

.zappy-attribution:hover {
  color: var(--secondary) !important;
}

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

@media (max-width: 767px) {
  .site-footer {
    padding-top: 2.5rem;
  }

  .footer-inner {
    padding: 0 1.25rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.2rem 0 1.4rem;
  }

  .footer-legal {
    gap: 0.4rem;
  }

  .footer-social {
    gap: 0.5rem;
  }
}

/* Footer Contrast Guard — overrides dark-on-dark text */
.site-footer .contact-list a,
.site-footer .contact-list li,
.site-footer .contact-list span,
.site-footer .footer-legal a,
.site-footer .copyright p,
.site-footer .footer-description,
.site-footer .footer-bottom a,
.site-footer .footer-bottom p,
.site-footer .footer-bottom span:not(.separator) {
  color: #6F655F !important;
}
.site-footer .contact-list a:hover,
.site-footer .footer-legal a:hover,
.site-footer .footer-bottom a:hover {
  color: #FCFAF7 !important;
}
.site-footer .footer-legal .separator {
  color: #4B403A !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; }
/* index-hero */
.index-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: #1F1A17;
  color: var(--text-light);
  padding-bottom: 90px;
}

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

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

/* Scrim Overlay */
.index-hero-section .index-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(
      to top,
      rgba(31, 26, 23, 0.82) 0%,
      rgba(31, 26, 23, 0.55) 35%,
      rgba(31, 26, 23, 0.18) 65%,
      rgba(31, 26, 23, 0.04) 100%
    );
}

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

/* Frosted Card */
.index-hero-section .index-hero-card {
  background: rgba(252, 250, 247, 0.88);
  border: 1px solid rgba(232, 224, 216, 0.7);
  border-radius: 8px;
  padding: 40px 40px 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 48px rgba(89, 58, 45, 0.22);
  text-align: right;
  direction: rtl;
}

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

/* H1 */
.index-hero-section .index-hero-h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin: 0 0 18px;
  text-shadow: none;
}

/* Subtitle H3 */
.index-hero-section .index-hero-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 30px;
}

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

/* Primary Button */
.index-hero-section .index-hero-btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.18);
}

.index-hero-section .index-hero-btn-primary:hover {
  background: #7A2E4D;
  border-color: #7A2E4D;
  box-shadow: 0 18px 40px rgba(153, 56, 94, 0.28);
  transform: translateY(-2px);
}

/* Secondary Button */
.index-hero-section .index-hero-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-dark);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
}

.index-hero-section .index-hero-btn-secondary:hover {
  background: var(--accent);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(89, 58, 45, 0.12);
}

/* Bottom Divider */
.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%;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .index-hero-section {
    min-height: 100svh;
    align-items: flex-end;
    padding-bottom: 90px;
  }

  .index-hero-section .index-hero-bg img {
    object-position: 65% top;
  }

  .index-hero-section .index-hero-scrim {
    background-image:
      linear-gradient(
        to top,
        rgba(31, 26, 23, 0.90) 0%,
        rgba(31, 26, 23, 0.65) 40%,
        rgba(31, 26, 23, 0.20) 70%,
        rgba(31, 26, 23, 0.04) 100%
      );
  }

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

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

  .index-hero-section .index-hero-h1 {
    font-size: 34px;
    margin-bottom: 14px;
  }

  .index-hero-section .index-hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

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

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

@media (min-width: 769px) and (max-width: 1024px) {
  .index-hero-section .index-hero-h1 {
    font-size: 40px;
  }

  .index-hero-section .index-hero-card {
    max-width: 460px;
    padding: 36px 34px 32px;
  }
}

/* ── CONTENT COLUMN ── */

/* ── VALUE ITEMS ── */

/* ── VISUAL COLUMN ── */

/* ── BOTTOM DIAGONAL DIVIDER ── */

/* ── RESPONSIVE ── */

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

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

.index-benefits-section .index-benefits-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.index-benefits-section .index-benefits-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #6D2E3F;
  margin: 0 0 20px;
  text-align: center;
}

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

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

.index-benefits-section .index-benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  box-shadow: 0 12px 30px rgba(89, 58, 45, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
}

.index-benefits-section .index-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(89, 58, 45, 0.18);
}

.index-benefits-section .index-benefit-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.index-benefits-section .index-benefit-title {
  font-family: 'Rubik', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: #6D2E3F;
  margin: 0 0 16px;
  text-align: right;
}

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

/* Bottom divider: blush gradient wash + champagne gold line */
.index-benefits-section .index-benefits-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.index-benefits-section .index-benefits-gold-line {
  position: absolute;
  bottom: 56px;
  left: 5%;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--secondary) 20%, #C9A66B 50%, var(--secondary) 80%, transparent 100%);
  opacity: 0.55;
}

.index-benefits-section .index-benefits-blush-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: linear-gradient(180deg, transparent 0%, rgba(233, 214, 222, 0.28) 60%, rgba(233, 214, 222, 0.55) 100%);
}

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

  .index-benefits-section .index-benefit-card:last-child {
    grid-column: 1 / -1;
    max-width: 540px;
    margin-inline: auto;
  }
}

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

  .index-benefits-section .index-benefits-intro {
    margin-bottom: 40px;
  }

  .index-benefits-section .index-benefits-heading {
    font-size: 26px;
  }

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

  .index-benefits-section .index-benefit-card:last-child {
    grid-column: auto !important;
    max-width: 100%;
    margin-inline: 0;
  }

  .index-benefits-section .index-benefit-card {
    padding: 28px 20px 24px;
  }

  .index-benefits-section .index-benefit-icon-wrap {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }
}

/* index-showcase */
.index-showcase-section {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, #FCF9F6 0%, #F5EEE7 100%);
  background-color: #FCF9F6;
  color: var(--text-dark);
  padding: 96px 0 100px;
  direction: rtl;
}

/* Container */
.index-showcase-section .showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Intro Block ── */
.index-showcase-section .showcase-intro {
  max-width: 560px;
  margin-inline-start: 0;
  margin-bottom: 48px;
  text-align: right;
}

.index-showcase-section .showcase-label {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  border-bottom: 1px solid var(--secondary);
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.index-showcase-section .showcase-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #6D2E3F;
  margin: 0 0 16px;
}

.index-showcase-section .showcase-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ── Mosaic Grid ── */
.index-showcase-section .showcase-mosaic {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: start;
  direction: rtl;
}

/* Large vertical tile */
.index-showcase-section .mosaic-large {
  grid-row: span 2;
}

.index-showcase-section .mosaic-large .tile-frame {
  width: 100%;
  height: 640px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  position: relative;
}

.index-showcase-section .mosaic-large .tile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.index-showcase-section .mosaic-large .tile-frame:hover img {
  transform: scale(1.03);
}

/* Right column layout */
.index-showcase-section .mosaic-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Stacked row: two medium tiles side by side */
.index-showcase-section .mosaic-stacked-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.index-showcase-section .mosaic-medium .tile-frame {
  width: 100%;
  height: 340px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  position: relative;
}

.index-showcase-section .mosaic-medium .tile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.index-showcase-section .mosaic-medium .tile-frame:hover img {
  transform: scale(1.03);
}

/* Wide horizontal tile */
.index-showcase-section .mosaic-wide {
  position: relative;
  overflow: hidden;
}

.index-showcase-section .mosaic-wide .tile-frame-wide {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  position: relative;
}

.index-showcase-section .mosaic-wide .tile-frame-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.index-showcase-section .mosaic-wide .tile-frame-wide:hover img {
  transform: scale(1.03);
}

/* Overlay text on wide tile */
.index-showcase-section .tile-overlay-text {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(0deg, rgba(31,26,23,0.72) 0%, transparent 100%);
  text-align: right;
  pointer-events: none;
  z-index: 2;
}

.index-showcase-section .overlay-label {
  display: block;
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 4px;
}

.index-showcase-section .overlay-sub {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(252,250,247,0.82);
  margin: 0;
}

/* Tile captions */
.index-showcase-section .tile-caption {
  margin-top: 10px;
  text-align: right;
}

.index-showcase-section .tile-caption span {
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 3px;
}

/* Champagne frame accent on large tile */
.index-showcase-section .mosaic-large .tile-frame::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201,166,107,0.35);
  pointer-events: none;
  z-index: 3;
}

.index-showcase-section .mosaic-medium:first-child .tile-frame::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201,166,107,0.3);
  pointer-events: none;
  z-index: 3;
}

/* ── CTA Row ── */
.index-showcase-section .showcase-cta-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 40px;
}

.index-showcase-section .showcase-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 36px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.index-showcase-section .showcase-btn:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.18);
}

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

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .index-showcase-section .showcase-mosaic {
    grid-template-columns: 260px 1fr;
  }

  .index-showcase-section .mosaic-large .tile-frame {
    height: 560px;
  }

  .index-showcase-section .mosaic-medium .tile-frame {
    height: 280px;
  }

  .index-showcase-section .mosaic-wide .tile-frame-wide {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .index-showcase-section {
    padding: 56px 0 88px;
  }

  .index-showcase-section .showcase-container {
    padding: 0 16px;
  }

  .index-showcase-section .showcase-intro {
    max-width: 100%;
    margin-bottom: 32px;
  }

  .index-showcase-section .showcase-heading {
    font-size: 26px;
  }

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

  .index-showcase-section .mosaic-large {
    grid-row: span 1;
  }

  .index-showcase-section .mosaic-large .tile-frame {
    height: 400px;
  }

  .index-showcase-section .mosaic-stacked-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .index-showcase-section .mosaic-medium .tile-frame {
    height: 220px;
  }

  .index-showcase-section .mosaic-wide .tile-frame-wide {
    height: 180px;
  }

  .index-showcase-section .overlay-label {
    font-size: 15px;
  }

  .index-showcase-section .overlay-sub {
    display: none;
  }

  .index-showcase-section .showcase-cta-row {
    justify-content: center;
    margin-top: 28px;
  }

  .index-showcase-section .showcase-divider-wrapper {
    height: 48px;
  }

  .index-showcase-section .mosaic-large .tile-frame::after,
  .index-showcase-section .mosaic-medium:first-child .tile-frame::after {
    inset: 5px;
  }
}

/* index-cta */
.index-cta-section {
  background-color: #1F1A17;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(142, 58, 103, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(142, 58, 103, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #2a1e28 0%, #1F1A17 60%, #1a1510 100%);
  color: var(--text-light);
  position: relative;
  overflow: visible;
  padding: 96px 24px;
  text-align: center;
  direction: rtl;
}

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

.index-cta-section .index-cta-deco-line {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  margin-bottom: 32px;
  opacity: 0.85;
}

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

.index-cta-section .index-cta-body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(252, 250, 247, 0.78);
  margin: 0 0 40px 0;
  text-align: center;
  max-width: none !important;
}

.index-cta-section .index-cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  transition: all 0.3s ease;
  box-shadow: none;
  position: relative;
}

.index-cta-section .index-cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(201, 166, 107, 0.15) 0%, transparent 60%);
  pointer-events: none;
  
  transition: opacity 0.3s ease;
}

.index-cta-section .index-cta-btn:hover {
  background: #7a3059;
  border-color: #7a3059;
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.28);
  transform: translateY(-2px);
  color: var(--text-light);
}

.index-cta-section .index-cta-btn:hover::after {
  opacity: 1;
}

@media (min-width: 768px) {
  .index-cta-section {
    padding: 96px 48px;
  }

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

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

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

  .index-cta-section .index-cta-deco-line {
    margin-bottom: 24px;
  }

  .index-cta-section .index-cta-body {
    margin-bottom: 32px;
  }

  .index-cta-section .index-cta-btn {
    padding: 14px 32px;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

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

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

/* ── Hero Text Block ── */
.about-intro-section .about-intro-hero-text {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.about-intro-section .about-intro-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

.about-intro-section .about-intro-h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #6D2E3F;
  margin: 0 0 24px;
  text-align: center;
  max-width: none !important;
}

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

/* ── Decorative Rule ── */
.about-intro-section .about-intro-rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--secondary), transparent);
  margin: 0 auto 64px;
}

/* ── Two Column Layout ── */
.about-intro-section .about-intro-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  direction: rtl;
}

/* ── Content Column ── */
.about-intro-section .about-intro-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-intro-section .about-intro-h2 {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #6D2E3F;
  margin: 0 0 4px;
  text-align: right;
}

.about-intro-section .about-intro-content p {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── List ── */
.about-intro-section .about-intro-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-intro-section .about-intro-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  text-align: right;
}

.about-intro-section .about-intro-list-icon {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-intro-section .about-intro-list li span:last-child {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
}

/* ── CTA Button ── */
.about-intro-section .about-intro-btn {
  display: inline-block;
  margin-top: 8px;
  align-self: flex-start;
  background: var(--primary);
  color: var(--text-light);
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.18);
}

.about-intro-section .about-intro-btn:hover {
  background: #7a2f57;
  border-color: #7a2f57;
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(89, 58, 45, 0.18);
}

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

.about-intro-section .about-intro-image-frame {
  position: relative;
  display: block;
}

.about-intro-section .about-intro-image-frame::before {
  content: '';
  position: absolute;
  inset-inline-end: -16px;
  top: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--secondary);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.about-intro-section .about-intro-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 0px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.about-intro-section .about-intro-image-frame:hover img {
  transform: scale(1.03);
}

/* ── Image Badge ── */
.about-intro-section .about-intro-image-badge {
  position: absolute;
  bottom: -20px;
  inset-inline-start: -20px;
  z-index: 2;
  background-color: #FCFAF7;
  border: 1px solid var(--border-light);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 12px 30px rgba(89, 58, 45, 0.12);
  min-width: 110px;
}

.about-intro-section .about-intro-badge-number {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: #6D2E3F;
  line-height: 1;
}

.about-intro-section .about-intro-badge-text {
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

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

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-intro-section .about-intro-two-col {
    gap: 40px;
  }
}

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

  .about-intro-section .about-intro-hero-text {
    margin-bottom: 36px;
  }

  .about-intro-section .about-intro-h1 {
    font-size: 32px;
  }

  .about-intro-section .about-intro-rule {
    margin-bottom: 40px;
  }

  .about-intro-section .about-intro-two-col {
    grid-template-columns: 1fr !important;
    gap: 48px;
  }

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

  .about-intro-section .about-intro-image-frame::before {
    display: none;
  }

  .about-intro-section .about-intro-image-badge {
    position: static;
    margin-top: 16px;
    align-self: flex-start;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    min-width: unset;
  }

  .about-intro-section .about-intro-image-frame {
    display: flex;
    flex-direction: column;
  }

  .about-intro-section .about-intro-badge-text {
    text-align: right;
  }

  .about-intro-section .about-intro-btn {
    align-self: stretch;
    text-align: center;
  }

  .about-intro-section .about-intro-h2 {
    font-size: 26px;
  }
}

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

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

/* Image Column */
.about-story-section .about-story-image-col {
  position: relative;
  margin: 0;
  padding: 0;
  grid-column: 1;
}

.about-story-section .about-story-image-col img {
  display: block;
  width: 100%;
  height: 680px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.about-story-section .about-story-image-col img:hover {
  transform: scale(1.03);
}

.about-story-section .about-story-image-accent-line {
  position: absolute;
  bottom: -20px;
  inset-inline-end: -20px;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary));
  pointer-events: none;
}

/* Text Column */
.about-story-section .about-story-text-col {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: right;
}

.about-story-section .about-story-eyebrow {
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 18px;
  display: block;
}

.about-story-section .about-story-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #6D2E3F;
  margin: 0 0 28px 0;
  text-align: right;
}

.about-story-section .about-story-body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #5C534F;
  margin: 0 0 20px 0;
  text-align: right;
  max-width: 520px;
}

.about-story-section .about-story-quote {
  font-family: 'Rubik', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: #6D2E3F;
  font-style: italic;
  margin: 28px 0 28px 0;
  text-align: right;
  padding-inline-start: 0;
  border-inline-start: 3px solid var(--secondary);
  padding-inline-start: 20px;
}

.about-story-section .about-story-divider-line {
  width: 56px;
  height: 1px;
  background: var(--secondary);
  margin: 0 0 32px 0;
  align-self: flex-start;
}

.about-story-section .about-story-cta {
  display: inline-block;
  background: #99385E;
  color: #FFFDFC;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid #99385E;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.18);
}

.about-story-section .about-story-cta:hover {
  background: #7a2d4e;
  border-color: #7a2d4e;
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(153, 56, 94, 0.28);
}

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

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-story-section .about-story-container {
    gap: 48px;
    padding: 0 24px;
  }
}

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

  .about-story-section .about-story-container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 20px;
  }

  .about-story-section .about-story-image-col {
    grid-column: 1;
    grid-row: 1;
  }

  .about-story-section .about-story-image-col img {
    height: 420px;
  }

  .about-story-section .about-story-image-accent-line {
    display: none;
  }

  .about-story-section .about-story-text-col {
    grid-column: 1;
    grid-row: 2;
  }

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

  .about-story-section .about-story-body {
    max-width: 100%;
  }

  .about-story-section .about-story-quote {
    font-size: 19px;
  }
}

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

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

/* ── Section Header ──────────────────────────────── */
.about-values-section .about-values-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.about-values-section .about-values-title {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 20px;
  text-align: center;
}

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

/* ── Values Grid ─────────────────────────────────── */
.about-values-section .about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  direction: rtl;
}

/* ── Value Card ──────────────────────────────────── */
.about-values-section .about-values-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 6px 18px rgba(89, 58, 45, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-values-section .about-values-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 0 0 0 8px;
  
  transition: opacity 0.3s ease;
}

.about-values-section .about-values-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(89, 58, 45, 0.18);
}

.about-values-section .about-values-card:hover::before {
  opacity: 1;
}

/* Alternating blush fill */
.about-values-section .about-values-card--blush {
  background: var(--accent);
  border-color: rgba(201, 166, 107, 0.25);
}

/* ── Card Icon ───────────────────────────────────── */
.about-values-section .about-values-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(142, 58, 103, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 2px;
}

.about-values-section .about-values-card--blush .about-values-card-icon {
  background: rgba(142, 58, 103, 0.12);
}

/* ── Card Content ────────────────────────────────── */
.about-values-section .about-values-card-content {
  flex: 1;
  min-width: 0;
}

.about-values-section .about-values-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--primary);
  margin: 0 0 12px;
  text-align: right;
}

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

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

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

/* ── Thin Accent Separator ───────────────────────── */
.about-values-section .about-values-header::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--secondary);
  margin: 24px auto 0;
}

/* ── Responsive: Desktop (2 columns) ─────────────── */
@media (min-width: 768px) {
  .about-values-section {
    padding: 96px 40px 120px;
  }

  .about-values-section .about-values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .about-values-section .about-values-card {
    padding: 32px;
  }
}

/* ── Mobile Overrides ────────────────────────────── */
@media (max-width: 767px) {
  .about-values-section {
    padding: 56px 16px 80px;
  }

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

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

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

  .about-values-section .about-values-card {
    padding: 20px 16px;
    gap: 14px;
  }

  .about-values-section .about-values-card-icon {
    width: 44px;
    height: 44px;
  }

  .about-values-section .about-values-card-title {
    font-size: 18px;
    margin-bottom: 8px;
  }
}

/* about-process */
.about-process-section {
  background: linear-gradient(180deg, #FCF9F6 0%, #F5EEE7 100%);
  background-color: #FCF9F6;
  color: var(--text-dark);
  padding: 96px 24px;
  position: relative;
  direction: rtl;
}

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

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

.about-process-section .about-process-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

.about-process-section .about-process-title {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #6D2E3F;
  margin: 0 0 20px;
  max-width: none !important;
}

.about-process-section .about-process-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

/* ── TIMELINE WRAPPER ── */
.about-process-section .about-process-timeline {
  position: relative;
}

/* Dashed champagne gold connector line (desktop only) */
.about-process-section .about-process-connector {
  display: none;
  position: absolute;
  top: 28px;
  inset-inline-start: calc(12.5% + 20px);
  inset-inline-end: calc(12.5% + 20px);
  height: 2px;
  pointer-events: none;
  z-index: 0;
}

.about-process-section .about-process-connector svg {
  width: 100%;
  height: 2px;
  display: block;
}

/* ── STEPS GRID ── */
.about-process-section .about-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* ── SINGLE STEP ── */
.about-process-section .about-process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px 24px 28px;
  box-shadow: 0 12px 30px rgba(89, 58, 45, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
}

.about-process-section .about-process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(89, 58, 45, 0.18);
}

/* ── NUMBERED MARKER ── */
.about-process-section .about-process-step-marker {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FCF9F6 0%, #F5EEE7 100%);
  border: 1px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.about-process-section .about-process-step-number {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--secondary);
  letter-spacing: 0.04em;
  line-height: 1;
}

/* ── STEP CONTENT ── */
.about-process-section .about-process-step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.about-process-section .about-process-step-title {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: #6D2E3F;
  margin: 0 0 12px;
  text-align: right;
}

.about-process-section .about-process-step-text {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── CLOSING PARAGRAPH ── */
.about-process-section .about-process-closing {
  margin-top: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.about-process-section .about-process-closing-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.about-process-section .about-process-closing-text {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ── RESPONSIVE: TABLET (2 columns) ── */
@media (max-width: 1024px) and (min-width: 769px) {
  .about-process-section .about-process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-process-section .about-process-connector {
    display: none;
  }
}

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

  .about-process-section .about-process-header {
    margin-bottom: 48px;
  }

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

  .about-process-section .about-process-subtitle {
    font-size: 15px;
  }

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

  .about-process-section .about-process-connector {
    display: none !important;
  }

  .about-process-section .about-process-step {
    padding: 24px 20px;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    text-align: right;
  }

  .about-process-section .about-process-step-marker {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .about-process-section .about-process-step-content {
    align-items: flex-end;
  }

  .about-process-section .about-process-closing {
    margin-top: 40px;
  }

  .about-process-section .about-process-closing-text {
    font-size: 15px;
  }
}

/* ── DESKTOP: show connector line ── */
@media (min-width: 1025px) {
  .about-process-section .about-process-connector {
    display: block;
  }
}

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

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

/* ── Centered Header Block ── */
.wig-guide-guide-intro-section .wig-guide-intro-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.wig-guide-guide-intro-section .wig-guide-intro-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

.wig-guide-guide-intro-section .wig-guide-intro-h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #6D2E3F;
  margin: 0 0 24px;
  text-align: center;
}

.wig-guide-guide-intro-section .wig-guide-intro-lead {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  max-width: none !important;
}

/* ── Decorative rule ── */
.wig-guide-guide-intro-section .wig-guide-intro-rule {
  width: 64px;
  height: 1px;
  background: var(--secondary);
  margin: 0 auto 56px;
  opacity: 0.6;
}

/* ── Two-column block ── */
.wig-guide-guide-intro-section .wig-guide-intro-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  direction: rtl;
}

/* ── Text column (right / start in RTL) ── */
.wig-guide-guide-intro-section .wig-guide-intro-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.wig-guide-guide-intro-section .wig-guide-intro-h2 {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #6D2E3F;
  margin: 0;
  text-align: right;
}

.wig-guide-guide-intro-section .wig-guide-intro-body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── List ── */
.wig-guide-guide-intro-section .wig-guide-intro-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.wig-guide-guide-intro-section .wig-guide-intro-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  text-align: right;
}

.wig-guide-guide-intro-section .wig-guide-intro-list-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 2px;
}

/* ── CTA Button ── */
.wig-guide-guide-intro-section .wig-guide-intro-cta {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.wig-guide-guide-intro-section .wig-guide-intro-cta:hover {
  background: #7a3158;
  border-color: #7a3158;
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.18);
  transform: translateY(-2px);
}

/* ── Image column (left / end in RTL) ── */
.wig-guide-guide-intro-section .wig-guide-intro-image-col {
  position: relative;
}

.wig-guide-guide-intro-section .wig-guide-intro-figure {
  margin: 0;
  position: relative;
}

.wig-guide-guide-intro-section .wig-guide-intro-img {
  width: 100%;
  height: auto;
  aspect-ratio: 5/6;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.4s ease;
}

.wig-guide-guide-intro-section .wig-guide-intro-figure:hover .wig-guide-intro-img {
  transform: scale(1.03);
}

/* Subtle gold frame accent */
.wig-guide-guide-intro-section .wig-guide-intro-figure::before {
  content: '';
  position: absolute;
  inset-inline-start: -16px;
  top: 16px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(201, 166, 107, 0.35);
  border-radius: 0;
  pointer-events: none;
  z-index: 0;
}

.wig-guide-guide-intro-section .wig-guide-intro-img {
  position: relative;
  z-index: 1;
}

.wig-guide-guide-intro-section .wig-guide-intro-caption {
  display: block;
  margin-top: 12px;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: start;
  opacity: 0.75;
}

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

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

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wig-guide-guide-intro-section .wig-guide-intro-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .wig-guide-guide-intro-section .wig-guide-intro-image-col {
    order: -1;
  }

  .wig-guide-guide-intro-section .wig-guide-intro-figure::before {
    display: none;
  }

  .wig-guide-guide-intro-section .wig-guide-intro-img {
    aspect-ratio: 3/2;
  }
}

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

  .wig-guide-guide-intro-section .wig-guide-intro-header {
    margin-bottom: 32px;
  }

  .wig-guide-guide-intro-section .wig-guide-intro-h1 {
    font-size: 32px;
  }

  .wig-guide-guide-intro-section .wig-guide-intro-h2 {
    font-size: 24px;
  }

  .wig-guide-guide-intro-section .wig-guide-intro-rule {
    margin-bottom: 36px;
  }

  .wig-guide-guide-intro-section .wig-guide-intro-two-col {
    gap: 28px;
  }

  .wig-guide-guide-intro-section .wig-guide-intro-text-col {
    gap: 18px;
  }
}

/* wig-guide-education */
.wig-guide-education-section {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, #FCF9F6 0%, #F5EEE7 100%);
  background-color: #FCF9F6;
  color: var(--text-dark);
  padding: 96px 24px 130px;
  direction: rtl;
}

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

/* ── Header ─────────────────────────────────────────────── */
.wig-guide-education-section .wig-guide-edu-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.wig-guide-education-section .wig-guide-edu-label {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
  position: relative;
}

.wig-guide-education-section .wig-guide-edu-label::before,
.wig-guide-education-section .wig-guide-edu-label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--secondary);
  vertical-align: middle;
  margin-inline-start: 10px;
  margin-inline-end: 10px;
  opacity: 0.7;
}

.wig-guide-education-section .wig-guide-edu-title {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #6D2E3F;
  margin: 0 0 20px;
  max-width: none !important;
}

.wig-guide-education-section .wig-guide-edu-intro {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  max-width: none !important;
}

/* ── Grid ────────────────────────────────────────────────── */
.wig-guide-education-section .wig-guide-edu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  direction: rtl;
}

@media (min-width: 768px) {
  .wig-guide-education-section .wig-guide-edu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Card ────────────────────────────────────────────────── */
.wig-guide-education-section .wig-guide-edu-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 12px 30px rgba(89, 58, 45, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: right;
}

.wig-guide-education-section .wig-guide-edu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(89, 58, 45, 0.18);
}

/* ── Card Icon ───────────────────────────────────────────── */
.wig-guide-education-section .wig-guide-edu-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: #6D2E3F;
  flex-shrink: 0;
}

/* ── Card Body ───────────────────────────────────────────── */
.wig-guide-education-section .wig-guide-edu-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wig-guide-education-section .wig-guide-edu-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: #6D2E3F;
  margin: 0;
}

.wig-guide-education-section .wig-guide-edu-card-text {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

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

.wig-guide-education-section .wig-guide-edu-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  .wig-guide-education-section {
    padding: 56px 16px 100px;
  }

  .wig-guide-education-section .wig-guide-edu-header {
    margin-bottom: 32px;
  }

  .wig-guide-education-section .wig-guide-edu-title {
    font-size: 26px;
  }

  .wig-guide-education-section .wig-guide-edu-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .wig-guide-education-section .wig-guide-edu-card {
    padding: 24px 20px;
  }
}

/* wig-guide-comparison */
.wig-guide-comparison-section {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, #FCF9F6 0%, #F5EEE7 100%);
  background-color: #FCF9F6;
  color: var(--text-dark);
  padding: 96px 24px 120px;
  direction: rtl;
}

.wig-guide-comparison-section .wgc-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  direction: rtl;
}

/* ── Text Column ── */
.wig-guide-comparison-section .wgc-text-col {
  text-align: right;
  padding-inline-end: 24px;
}

.wig-guide-comparison-section .wgc-label {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

.wig-guide-comparison-section .wgc-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #6D2E3F;
  margin: 0 0 24px 0;
  text-align: right;
}

.wig-guide-comparison-section .wgc-intro {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #5C534F;
  margin: 0 0 28px 0;
  text-align: right;
}

.wig-guide-comparison-section .wgc-accent-line {
  width: 48px;
  height: 1px;
  background: var(--secondary);
  margin-inline-start: auto;
  margin-bottom: 24px;
}

.wig-guide-comparison-section .wgc-sub {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: right;
  margin: 0;
}

/* ── Cards Column ── */
.wig-guide-comparison-section .wgc-cards-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Card Base ── */
.wig-guide-comparison-section .wgc-card {
  background: #FFFFFF;
  border: 1px solid #E6D8CC;
  border-radius: 0;
  padding: 32px;
  text-align: right;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(89, 58, 45, 0.08);
}

.wig-guide-comparison-section .wgc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(89, 58, 45, 0.18);
}

/* ── Card Accent Variant ── */
.wig-guide-comparison-section .wgc-card--accent {
  background: linear-gradient(135deg, #A53B66 0%, #8B3156 100%);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(89, 58, 45, 0.12);
}

.wig-guide-comparison-section .wgc-card--accent:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(153, 56, 94, 0.28);
}

/* ── Card Header ── */
.wig-guide-comparison-section .wgc-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  direction: rtl;
}

/* ── Badge ── */
.wig-guide-comparison-section .wgc-card-badge {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(201, 166, 107, 0.12);
  border: 1px solid rgba(201, 166, 107, 0.3);
  border-radius: 4px;
  padding: 4px 10px;
}

.wig-guide-comparison-section .wgc-card-badge--dark {
  color: rgba(252, 250, 247, 0.9);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ── Card Icon ── */
.wig-guide-comparison-section .wgc-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 166, 107, 0.1);
  border: 1px solid rgba(201, 166, 107, 0.2);
  color: var(--secondary);
  flex-shrink: 0;
}

.wig-guide-comparison-section .wgc-card-icon--light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-light);
}

/* ── Card Title ── */
.wig-guide-comparison-section .wgc-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: #6D2E3F;
  margin: 0 0 14px 0;
  text-align: right;
}

.wig-guide-comparison-section .wgc-card-title--light {
  color: var(--text-light);
}

/* ── Card Text ── */
.wig-guide-comparison-section .wgc-card-text {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #5C534F;
  margin: 0 0 20px 0;
  text-align: right;
}

.wig-guide-comparison-section .wgc-card-text--light {
  color: rgba(252, 250, 247, 0.88);
}

/* ── Card List ── */
.wig-guide-comparison-section .wgc-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #E6D8CC;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wig-guide-comparison-section .wgc-card-list--light {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.wig-guide-comparison-section .wgc-card-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #5C534F;
  text-align: right;
}

.wig-guide-comparison-section .wgc-card-list--light li {
  color: rgba(252, 250, 247, 0.88);
}

/* ── Dot ── */
.wig-guide-comparison-section .wgc-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.wig-guide-comparison-section .wgc-dot--light {
  background: rgba(252, 250, 247, 0.7);
}

/* ── Bottom Gradient Veil ── */
.wig-guide-comparison-section .wgc-divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 5;
}

.wig-guide-comparison-section .wgc-gradient-veil {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(245, 238, 231, 0.6) 40%, #F5EEE7 100%);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .wig-guide-comparison-section .wgc-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .wig-guide-comparison-section .wgc-text-col {
    padding-inline-end: 0;
  }
}

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

  .wig-guide-comparison-section .wgc-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wig-guide-comparison-section .wgc-heading {
    font-size: 26px;
  }

  .wig-guide-comparison-section .wgc-card {
    padding: 24px;
  }

  .wig-guide-comparison-section .wgc-card-title {
    font-size: 20px;
  }

  .wig-guide-comparison-section .wgc-accent-line {
    margin-inline-start: auto;
  }
}

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

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

/* ── IMAGE COLUMN ── */
.wig-guide-care-section .wig-guide-care-image-col {
  position: relative;
  margin: 0;
}

.wig-guide-care-section .wig-guide-care-image-col img {
  display: block;
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.wig-guide-care-section .wig-guide-care-image-col:hover img {
  transform: scale(1.03);
}

.wig-guide-care-section .wig-guide-care-image-accent-line {
  position: absolute;
  inset-inline-start: -16px;
  top: 32px;
  width: 3px;
  height: 80px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
  opacity: 0.6;
}

/* ── CONTENT COLUMN ── */
.wig-guide-care-section .wig-guide-care-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-top: 12px;
}

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

.wig-guide-care-section .wig-guide-care-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #6D2E3F;
  margin: 0 0 20px 0;
  text-align: right;
}

.wig-guide-care-section .wig-guide-care-intro {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 28px 0;
  text-align: right;
}

.wig-guide-care-section .wig-guide-care-divider-rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--secondary), transparent);
  margin-bottom: 28px;
  align-self: flex-start;
}

/* ── CARE PRINCIPLES ── */
.wig-guide-care-section .wig-guide-care-principle {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 28px;
  direction: rtl;
}

.wig-guide-care-section .wig-guide-care-principle:last-of-type {
  margin-bottom: 36px;
}

.wig-guide-care-section .wig-guide-care-principle-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 4px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.wig-guide-care-section .wig-guide-care-principle-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wig-guide-care-section .wig-guide-care-principle-title {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: #6D2E3F;
  margin: 0;
  text-align: right;
}

.wig-guide-care-section .wig-guide-care-principle-text {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

/* ── CTA BUTTON ── */
.wig-guide-care-section .wig-guide-care-cta {
  display: inline-block;
  background: #99385E;
  color: #FFFDFC;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid #99385E;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.wig-guide-care-section .wig-guide-care-cta:hover {
  background: #7a2d4c;
  border-color: #7a2d4c;
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.18);
  transform: translateY(-2px);
  color: #FFFDFC;
}

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

.wig-guide-care-section .wig-guide-care-divider-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── RESPONSIVE: TABLET ── */
@media (max-width: 1024px) {
  .wig-guide-care-section .wig-guide-care-container {
    gap: 48px;
  }
}

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 768px) {
  .wig-guide-care-section {
    padding: 56px 16px 90px;
  }

  .wig-guide-care-section .wig-guide-care-container {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .wig-guide-care-section .wig-guide-care-image-col img {
    height: 320px;
  }

  .wig-guide-care-section .wig-guide-care-image-accent-line {
    display: none;
  }

  .wig-guide-care-section .wig-guide-care-heading {
    font-size: 26px;
  }

  .wig-guide-care-section .wig-guide-care-principle {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .wig-guide-care-section .wig-guide-care-principle-icon {
    width: 40px;
    height: 40px;
  }

  .wig-guide-care-section .wig-guide-care-principle-title {
    font-size: 18px;
  }

  .wig-guide-care-section .wig-guide-care-cta {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
}

/* wig-guide-faq */
.wig-guide-faq-section {
  background-color: #FCFAF7;
  background-image: linear-gradient(180deg, #FCF9F6 0%, #F5EEE7 100%);
  color: var(--text-dark);
  padding: 96px 24px;
  direction: rtl;
  position: relative;
}

.wig-guide-faq-section .wig-guide-faq-container {
  max-width: 780px;
  margin: 0 auto;
}

.wig-guide-faq-section .wig-guide-faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.wig-guide-faq-section .wig-guide-faq-eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}

.wig-guide-faq-section .wig-guide-faq-title {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #6D2E3F;
  margin: 0 0 16px 0;
  padding: 0;
}

.wig-guide-faq-section .wig-guide-faq-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px auto;
  text-align: center;
}

.wig-guide-faq-section .wig-guide-faq-title-rule {
  width: 48px;
  height: 1px;
  background-color: var(--secondary);
  margin: 0 auto;
  opacity: 0.7;
}

.wig-guide-faq-section .wig-guide-faq-list {
  display: flex;
  flex-direction: column;
}

.wig-guide-faq-section .wig-guide-faq-item {
  padding: 36px 0;
  text-align: right;
}

.wig-guide-faq-section .wig-guide-faq-question {
  font-family: 'Rubik', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: #6D2E3F;
  margin: 0 0 14px 0;
  padding: 0;
  position: relative;
  padding-inline-end: 20px;
}

.wig-guide-faq-section .wig-guide-faq-question::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary);
  margin-inline-end: 10px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  flex-shrink: 0;
}

.wig-guide-faq-section .wig-guide-faq-answer {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  padding: 0;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--accent);
}

.wig-guide-faq-section .wig-guide-faq-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--border-light) 20%, var(--secondary) 50%, var(--border-light) 80%, transparent);
  opacity: 0.5;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .wig-guide-faq-section {
    padding: 56px 16px;
  }

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

  .wig-guide-faq-section .wig-guide-faq-title {
    font-size: 26px;
  }

  .wig-guide-faq-section .wig-guide-faq-subtitle {
    font-size: 15px;
  }

  .wig-guide-faq-section .wig-guide-faq-item {
    padding: 28px 0;
  }

  .wig-guide-faq-section .wig-guide-faq-question {
    font-size: 19px;
  }

  .wig-guide-faq-section .wig-guide-faq-answer {
    font-size: 15px;
    padding-inline-start: 12px;
  }
}

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

.contact-contact-intro-section .contact-intro-container {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-contact-intro-section .contact-intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-contact-intro-section .contact-intro-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--secondary);
  margin: 0 auto;
}

.contact-contact-intro-section .contact-intro-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

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

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

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

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

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

  .contact-contact-intro-section .contact-intro-body {
    font-size: 16px;
    line-height: 1.7;
  }

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

/* contact-contact-details */
.contact-contact-details-section {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, #F5EEE7 0%, #EDE3D8 100%);
  background-color: #F5EEE7;
  color: var(--text-dark);
  padding: 96px 24px 128px;
  direction: rtl;
}

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

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

.contact-contact-details-section .contact-details-title {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin: 0 0 16px;
}

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

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

.contact-contact-details-section .contact-card {
  background: #FCFAF7;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(89, 58, 45, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: right;
}

.contact-contact-details-section .contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(89, 58, 45, 0.18);
}

.contact-contact-details-section .contact-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-contact-details-section .contact-card-icon-wrap svg {
  display: block;
}

.contact-contact-details-section .contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.contact-contact-details-section .contact-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
}

.contact-contact-details-section .contact-card-text {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.contact-contact-details-section .contact-card-link {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
  display: inline-block;
  margin-top: 4px;
}

.contact-contact-details-section .contact-card-link:hover {
  border-bottom-color: var(--primary);
  opacity: 0.85;
}

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

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

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

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

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

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

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

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

  .contact-contact-details-section .contact-card-icon-wrap {
    width: 48px;
    height: 48px;
  }
}

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

.contact-form-section__bg-layer {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(142, 58, 103, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 80%, rgba(201, 166, 107, 0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.contact-form-section__container {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.contact-form-section__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 520px;
}

.contact-form-section__eyebrow {
  display: inline-block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--secondary);
}

.contact-form-section__title {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #6D2E3F;
  margin: 0;
  text-align: center;
}

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

.contact-form-section__panel {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(89, 58, 45, 0.12);
}

.contact-form-section .contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.contact-form-section__label {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  text-align: right;
}

.contact-form-section__input {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 12px 16px;
  width: 100%;
  box-sizing: border-box;
  direction: rtl;
  text-align: right;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

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

.contact-form-section__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(142, 58, 103, 0.1);
  background: #FFFFFF;
}

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

.contact-form-section .privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
}

.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: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: right;
}

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

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

.contact-form-section .privacy-consent-label a:hover {
  color: #6D2E3F;
}

.contact-form-section__submit-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.contact-form-section__submit {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #FFFDFC;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 14px 36px;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  text-transform: none;
}

.contact-form-section__submit:hover {
  background: #6D2E3F;
  border-color: #6D2E3F;
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.18);
  transform: translateY(-2px);
}

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

.contact-form-section__trust-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-form-section__trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.contact-form-section__trust-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

/* Bottom divider */
.contact-form-section__divider-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  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: 56px 16px 96px;
  }

  .contact-form-section__container {
    gap: 28px;
  }

  .contact-form-section__title {
    font-size: 26px;
  }

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

  .contact-form-section .contact-form {
    gap: 18px;
  }

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

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

  .contact-form-section__trust-row {
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
  }

  .contact-form-section__trust-item {
    white-space: normal;
  }
}

/* contact-reassurance */
.contact-reassurance-section {
  background-color: #1F1A17;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(142, 58, 103, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(201, 166, 107, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, #2a1e1a 0%, #1F1A17 60%, #1a1410 100%);
  color: var(--text-light);
  padding: 96px 24px;
  position: relative;
  overflow: visible;
  direction: rtl;
}

.contact-reassurance-section .contact-reassurance-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.contact-reassurance-section .contact-reassurance-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.contact-reassurance-section .ornament-line {
  display: block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  opacity: 0.7;
}

.contact-reassurance-section .ornament-diamond {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--secondary);
  transform: rotate(45deg);
  opacity: 0.85;
  flex-shrink: 0;
}

.contact-reassurance-section .contact-reassurance-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-light);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

.contact-reassurance-section .contact-reassurance-body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(252, 250, 247, 0.78);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

.contact-reassurance-section .contact-reassurance-cta {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 14px 36px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}

.contact-reassurance-section .contact-reassurance-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 166, 107, 0.18) 0%, transparent 60%);
  
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.contact-reassurance-section .contact-reassurance-cta:hover {
  background: #7a3058;
  border-color: #7a3058;
  box-shadow: 0 14px 32px rgba(153, 56, 94, 0.28);
  transform: translateY(-2px);
}

.contact-reassurance-section .contact-reassurance-cta:hover::before {
  opacity: 1;
}

.contact-reassurance-section .contact-reassurance-ornament--bottom {
  margin-top: 4px;
}

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

  .contact-reassurance-section .contact-reassurance-inner {
    gap: 22px;
    max-width: 100%;
  }

  .contact-reassurance-section .contact-reassurance-heading {
    font-size: 26px;
  }

  .contact-reassurance-section .contact-reassurance-body {
    font-size: 16px;
  }

  .contact-reassurance-section .ornament-line {
    width: 40px;
  }

  .contact-reassurance-section .contact-reassurance-cta {
    padding: 13px 28px;
    font-size: 14px;
  }
}

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



/* 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: #18100E;
}

/* 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(24, 16, 14, 0.1) !important;
  background: rgba(24, 16, 14, 0.1) !important;
  box-shadow: 0 2px 8px rgba(24, 16, 14, 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: #18100E !important;
  stroke: #18100E !important;
  color: #18100E !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: #18100E !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: #18100E !important;
  color: #18100E !important;
  background-color: rgba(24, 16, 14, 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: #18100E !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;
  }
}

/* Hero Video Background Styles */
.hero-video-background {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 0 !important;
  pointer-events: auto;
}

.hero-video-background .hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  z-index: 1;
  pointer-events: none;
}

.hero-video-background .hero-video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: auto !important;
  height: auto !important;
  transform: translate(-50%, -50%) !important;
  object-fit: cover !important;
  z-index: 0 !important;
}

.hero-video-background .hero-video-iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 100vw !important;
  height: 56.25vw !important; /* 16:9 aspect ratio */
  min-height: 100% !important;
  min-width: 177.78vh !important; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.hero-video-background .hero-video-fallback {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Hidden original hero image and its container */
.hero-original-image-hidden {
  display: none !important;
}

/* Hidden original hero overlay (replaced by video overlay) */
.hero-original-overlay-hidden {
  display: none !important;
}

/* When hero has video, center the content that's not the video background */
/* This handles cases where original layout had image + text side-by-side */
.hero-section:has(.hero-video-background),
[class*="hero"]:has(.hero-video-background) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Content containers in hero with video - center them (exclude dividers, scrims, zoom wrappers) */
.hero-section:has(.hero-video-background) > *:not(.hero-video-background):not(.zappy-section-controls):not([class*="zappy-"]):not([class*="divider"]):not([class*="scrim"]):not([data-zappy-zoom-wrapper]),
[class*="hero"]:has(.hero-video-background) > *:not(.hero-video-background):not(.zappy-section-controls):not([class*="zappy-"]):not([class*="divider"]):not([class*="scrim"]):not([data-zappy-zoom-wrapper]) {
  text-align: center !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Section controls must keep their absolute positioning */
.hero-section:has(.hero-video-background) .zappy-section-controls,
[class*="hero"]:has(.hero-video-background) .zappy-section-controls {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Hero video edit cursor - only shown in edit mode */
body.zappy-edit-mode .zappy-editable-video-bg {
  cursor: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M29.2344 9.93125L4.87351 34.2922C4.67351 34.4922 4.52976 34.7437 4.46101 35.0203L1.60789 46.4984C1.47664 47.0312 1.63289 47.5922 2.02039 47.9797C2.40945 48.3688 2.97351 48.5219 3.50164 48.3922L14.9798 45.5406C15.2548 45.4719 15.5063 45.3297 15.7079 45.1281L40.0688 20.7672L29.2344 9.93125Z' fill='%23FF0083'/%3E%3Cpath d='M46.1937 3.80781C43.2062 0.820311 38.3468 0.820311 35.3578 3.80781L31.4421 7.72344L42.2781 18.5594L46.1937 14.6437C49.1812 11.6547 49.1812 6.79531 46.1937 3.80781Z' fill='%23FF0083'/%3E%3C/svg%3E") 2 13, pointer !important;
}

/* Fallback for browsers/devices that don't support video */
@media (prefers-reduced-motion: reduce) {
  .hero-video-background .hero-video,
  .hero-video-background .hero-video-iframe {
    display: none;
  }
  .hero-video-background .hero-video-fallback {
    display: block;
  }
}

/* Mobile responsive styles for hero video */
@media (max-width: 768px) {
  .hero-video-background .hero-video {
    /* On mobile, hero sections are often taller than wide, so we need to ensure the video fills the height */
    width: auto !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    /* Use a larger scale to ensure no gaps on tall mobile hero sections */
    object-fit: cover !important;
  }
  
  .hero-video-background .hero-video-iframe {
    /* For iframes on mobile, use height-based sizing since hero is often taller */
    width: 177.78vh !important; /* 16:9 based on height */
    height: 100vh !important;
    min-width: 100% !important;
    min-height: 100% !important;
  }
  
  /* Ensure hero section has a minimum height on mobile */
  .hero-section:has(.hero-video-background),
  [class*="hero"]:has(.hero-video-background) {
    min-height: 60vh !important;
  }
  
  /* Adjust content padding on mobile (exclude dividers, scrims, zoom wrappers) */
  .hero-section:has(.hero-video-background) > *:not(.hero-video-background):not(.zappy-section-controls):not([class*="zappy-"]):not([class*="divider"]):not([class*="scrim"]):not([data-zappy-zoom-wrapper]),
  [class*="hero"]:has(.hero-video-background) > *:not(.hero-video-background):not(.zappy-section-controls):not([class*="zappy-"]):not([class*="divider"]):not([class*="scrim"]):not([data-zappy-zoom-wrapper]) {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .hero-video-background .hero-video-iframe {
    /* Ensure full coverage on very tall mobile screens */
    width: 200vh !important;
    height: 100vh !important;
  }
  
  .hero-section:has(.hero-video-background),
  [class*="hero"]:has(.hero-video-background) {
    min-height: 50vh !important;
  }
}

/* Hero content should be above the video (exclude dividers which need position:absolute) */
.hero-section:has(.hero-video-background) > *:not(.hero-video-background):not([class*="divider"]):not([class*="scrim"]):not([data-zappy-zoom-wrapper]),
[class*="hero"]:has(.hero-video-background) > *:not(.hero-video-background):not([class*="divider"]):not([class*="scrim"]):not([data-zappy-zoom-wrapper]) {
  position: relative;
  z-index: 2;
}


/* ═══════════════════════════════════════════════════════════
   V2 REGENERATED SECTION CSS (בית-brand-story)
   Added: 2026-04-25T17:03:47.502Z
   ═══════════════════════════════════════════════════════════ */
.index-brand-story-section {
  background-color: #FBF8F5;
  background-image:
    linear-gradient(to right, rgba(166, 123, 95, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(166, 123, 95, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text-dark);
  padding: 80px 24px 80px;
  direction: rtl;
  position: relative;
  overflow: visible;
}

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

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

.index-brand-story-section .ibs-eyebrow {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}

.index-brand-story-section .ibs-heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #6D2E3F;
  margin: 0 0 18px;
  text-align: center;
  max-width: none !important;
}

.index-brand-story-section .ibs-subtitle {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

/* ─── GRID ─── */
.index-brand-story-section .ibs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  direction: rtl;
  margin-bottom: 56px;
}

/* ─── CARD ─── */
.index-brand-story-section .ibs-card {
  background: #FFFFFF;
  border: 1px solid #E6D8CC;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.index-brand-story-section .ibs-card:hover {
  box-shadow: 0 12px 30px rgba(89, 58, 45, 0.12);
  transform: translateY(-4px);
}

/* ─── CARD IMAGE ─── */
.index-brand-story-section .ibs-card-image-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.index-brand-story-section .ibs-card-image-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  background-color: var(--accent);
}

.index-brand-story-section .ibs-card:hover .ibs-card-image-wrap img {
  transform: scale(1.04);
}

/* ─── BADGE ─── */
.index-brand-story-section .ibs-card-badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: var(--primary);
  color: var(--text-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}

.index-brand-story-section .ibs-badge-rose {
  background: #A53B66;
}

/* ─── CARD BODY ─── */
.index-brand-story-section .ibs-card-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: right;
}

.index-brand-story-section .ibs-card-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
  display: block;
}

.index-brand-story-section .ibs-card-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: #6D2E3F;
  margin: 0 0 10px;
}

.index-brand-story-section .ibs-card-desc {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #5C534F;
  margin: 0 0 20px;
  flex: 1;
}

/* ─── CARD BUTTON ─── */
.index-brand-story-section .ibs-card-btn {
  display: inline-block;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 11px 22px;
  border-radius: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  align-self: flex-start;
  text-align: center;
}

.index-brand-story-section .btn-primary {
  background: #99385E;
  color: #FFFDFC;
  border: 1px solid #99385E;
  box-shadow: none;
  line-height: 1;
}

.index-brand-story-section .btn-primary:hover {
  background: #7a2d4d;
  border-color: #7a2d4d;
  color: #FFFDFC;
}

/* ─── FOOTER CTA ─── */
.index-brand-story-section .ibs-footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding-top: 8px;
}

.index-brand-story-section .ibs-footer-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
  max-width: none !important;
}

.index-brand-story-section .ibs-footer-btn {
  display: inline-block;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 32px;
  border-radius: 0;
  background: #FBF8F5;
  color: #A46F51;
  border: 1px solid #D7B08A;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease;
}

.index-brand-story-section .ibs-footer-btn:hover {
  background: #EFE5D8;
  color: #8E5A3A;
}

/* ─── RESPONSIVE: 2 columns on tablet ─── */
@media (max-width: 1024px) {
  .index-brand-story-section .ibs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ─── RESPONSIVE: mobile ─── */
@media (max-width: 768px) {
  .index-brand-story-section {
    padding: 60px 16px 60px;
  }

  .index-brand-story-section .ibs-header {
    margin-bottom: 36px;
  }

  .index-brand-story-section .ibs-heading {
    font-size: 26px;
  }

  .index-brand-story-section .ibs-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-bottom: 36px;
  }

  .index-brand-story-section .ibs-card-image-wrap img {
    height: 260px;
  }

  .index-brand-story-section .ibs-card-body {
    padding: 18px 16px 20px;
  }

  .index-brand-story-section .ibs-footer-cta {
    gap: 14px;
  }
}




/* Added Component Styles */
/* ===== Gallery Media Section ===== */
.gallery-media-section {
  direction: rtl;
  font-family: system-ui, sans-serif;
  background: #fdf5f9;
  padding: 80px 20px;
  position: relative;
}

.gallery-media-container {
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-media-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary, #8E3A67);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.gallery-media-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #5a3a4a;
  margin: 0 0 50px 0;
  opacity: 0.85;
}

/* ===== Grid Layout ===== */
.gallery-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Video item spans full width on first row */
.gallery-media-item.gallery-media-video-wrap {
  grid-column: 1 / -1;
}

/* ===== Each Item ===== */
.gallery-media-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.gallery-media-caption {
  font-size: 0.95rem;
  color: #6b3a55;
  font-weight: 500;
  margin: 0;
  text-align: center;
}

/* ===== Image Wrapper ===== */
.gallery-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(142, 58, 103, 0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  background: #f0dde8;
}

.gallery-img-wrap:hover {
  box-shadow: 0 8px 32px rgba(142, 58, 103, 0.28);
  transform: translateY(-4px);
}

.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-img-wrap:hover .gallery-img {
  transform: scale(1.05);
}

/* ===== Image Overlay ===== */
.gallery-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(142, 58, 103, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-img-wrap:hover .gallery-img-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

/* ===== Video Wrapper ===== */
.gallery-video-placeholder {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(142, 58, 103, 0.2);
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background: #2a1020;
}

.gallery-video-placeholder:hover {
  box-shadow: 0 12px 40px rgba(142, 58, 103, 0.35);
  transform: translateY(-3px);
}

.gallery-video-placeholder:focus {
  outline: 3px solid var(--primary, #8E3A67);
  outline-offset: 4px;
}

.gallery-video-thumb {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.gallery-video-placeholder:hover .gallery-video-thumb {
  opacity: 0.6;
}

.gallery-video-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 2;
}

.gallery-play-btn {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  transition: transform 0.25s ease;
}

.gallery-video-placeholder:hover .gallery-play-btn {
  transform: scale(1.12);
}

.gallery-play-btn svg {
  width: 100%;
  height: 100%;
}

.gallery-video-label {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
}

/* ===== Lightbox ===== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 5, 14, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.gallery-lightbox-open {
  opacity: 1;
  pointer-events: all;
}

.gallery-lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.gallery-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}

.gallery-lightbox-close {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--primary, #8E3A67);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10000;
}

.gallery-lightbox-close:hover {
  background: #a53b66;
  transform: scale(1.1);
}

.gallery-lightbox-close:focus {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .gallery-media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .gallery-media-item.gallery-media-video-wrap {
    grid-column: 1 / -1;
  }

  .gallery-video-thumb {
    height: 260px;
  }

  .gallery-media-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .gallery-media-section {
    padding: 50px 14px;
  }

  .gallery-media-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-media-item.gallery-media-video-wrap {
    grid-column: 1 / -1;
  }

  .gallery-video-thumb {
    height: 210px;
  }

  .gallery-img {
    height: 200px;
  }

  .gallery-media-title {
    font-size: 1.5rem;
  }

  .gallery-media-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .gallery-play-btn {
    width: 56px;
    height: 56px;
  }

  .gallery-lightbox-close {
    top: 14px;
    left: 14px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* AI-generated section */
/* =============================================
   MEASURE GUIDE SECTION — Full Styles
   ============================================= */

.measure-guide-section {
  background: #faf5f8;
  padding: 90px 24px;
  font-family: system-ui, sans-serif;
  direction: rtl;
  text-align: right;
}

/* Container */
.measure-guide-container {
  max-width: 1080px;
  margin: 0 auto;
}

/* ---- Header ---- */
.measure-guide-header {
  text-align: center;
  margin-bottom: 56px;
}

.measure-guide-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #2d1a24;
  margin: 0 0 16px 0;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.measure-guide-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #6b4a5e;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- Steps Grid ---- */
.measure-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

/* ---- Step Card ---- */
.measure-step-card {
  background: #ffffff;
  border: 1.5px solid rgba(142, 58, 103, 0.18);
  border-radius: 18px;
  padding: 36px 28px 30px;
  box-shadow: 0 4px 20px rgba(142, 58, 103, 0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.measure-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  border-radius: 18px 18px 0 0;
}

.measure-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(142, 58, 103, 0.14);
  border-color: rgba(142, 58, 103, 0.38);
}

/* Step Number */
.measure-step-number {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--primary, #8E3A67);
  opacity: 0.12;
  line-height: 1;
  position: absolute;
  top: 14px;
  left: 20px;
  user-select: none;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

/* Step Icon */
.measure-step-icon {
  color: var(--primary, #8E3A67);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: rgba(142, 58, 103, 0.08);
  border-radius: 12px;
  padding: 12px;
  width: 60px;
  height: 60px;
}

/* Step Content */
.measure-step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.measure-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d1a24;
  margin: 0;
  line-height: 1.3;
}

.measure-step-description {
  font-size: 0.97rem;
  color: #5a3d50;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* Average Badge */
.measure-step-avg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: rgba(142, 58, 103, 0.07);
  border: 1px solid rgba(142, 58, 103, 0.2);
  border-radius: 8px;
  padding: 8px 14px;
  flex-wrap: wrap;
}

.measure-avg-label {
  font-size: 0.85rem;
  color: #7a4a68;
  font-weight: 500;
}

.measure-avg-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary, #8E3A67);
  letter-spacing: 0.3px;
}

/* ---- Tip Box ---- */
.measure-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(135deg, rgba(142, 58, 103, 0.08) 0%, rgba(165, 59, 102, 0.04) 100%);
  border: 1.5px solid rgba(142, 58, 103, 0.28);
  border-right: 5px solid var(--primary, #8E3A67);
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 44px;
  box-shadow: 0 2px 12px rgba(142, 58, 103, 0.06);
}

.measure-tip-icon {
  color: var(--primary, #8E3A67);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
}

.measure-tip-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.measure-tip-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary, #8E3A67);
  display: block;
}

.measure-tip-text {
  font-size: 0.98rem;
  color: #4a2e3e;
  line-height: 1.75;
  margin: 0;
}

/* ---- CTA Wrapper ---- */
.measure-cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---- CTA Button ---- */
.measure-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 18px 44px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(142, 58, 103, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.measure-cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
  border-radius: inherit;
}

.measure-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(142, 58, 103, 0.45);
  filter: brightness(1.06);
}

.measure-cta-btn:hover::after {
  background: rgba(255, 255, 255, 0.06);
}

.measure-cta-btn:focus-visible {
  outline: 3px solid var(--primary, #8E3A67);
  outline-offset: 4px;
}

.measure-cta-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(142, 58, 103, 0.35);
}

.measure-cta-arrow {
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.measure-cta-btn:hover .measure-cta-arrow {
  transform: translateX(-4px);
}

/* =============================================
   RESPONSIVE — Tablet
   ============================================= */
@media (max-width: 900px) {
  .measure-guide-section {
    padding: 70px 20px;
  }

  .measure-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .measure-step-card {
    padding: 30px 24px 26px;
  }

  .measure-step-number {
    font-size: 3.5rem;
    top: 12px;
    left: 16px;
  }
}

/* =============================================
   RESPONSIVE — Mobile
   ============================================= */
@media (max-width: 600px) {
  .measure-guide-section {
    padding: 56px 16px;
  }

  .measure-guide-header {
    margin-bottom: 40px;
  }

  .measure-guide-title {
    font-size: 1.65rem;
  }

  .measure-guide-subtitle {
    font-size: 0.98rem;
  }

  .measure-step-card {
    padding: 26px 20px 22px;
    border-radius: 14px;
  }

  .measure-step-icon {
    width: 52px;
    height: 52px;
    padding: 10px;
  }

  .measure-step-title {
    font-size: 1.1rem;
  }

  .measure-step-description {
    font-size: 0.93rem;
  }

  .measure-tip-box {
    flex-direction: column;
    gap: 12px;
    padding: 20px 18px;
    border-right-width: 4px;
  }

  .measure-tip-text {
    font-size: 0.93rem;
  }

  .measure-cta-btn {
    font-size: 1rem;
    padding: 16px 32px;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }

  .measure-steps-grid {
    gap: 16px;
    margin-bottom: 32px;
  }

  .measure-tip-box {
    margin-bottom: 36px;
  }
}

/* AI-generated section */
/* =============================================
   GUIDE MEASURE SECTION — RTL Hebrew
   ============================================= */

.guide-measure-section {
  background: #1a0e15;
  padding: 80px 20px;
  font-family: system-ui, sans-serif;
  direction: rtl;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative background gradient */
.guide-measure-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(142, 58, 103, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(142, 58, 103, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Container ---- */
.guide-measure-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- Header ---- */
.guide-measure-header {
  text-align: center;
  margin-bottom: 56px;
}

.guide-measure-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.guide-measure-main-icon {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 2px 8px rgba(142, 58, 103, 0.5));
}

.guide-measure-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.guide-measure-intro {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: #cbb8c4;
  line-height: 1.85;
  max-width: 780px;
  margin: 0 auto;
}

/* ---- Steps Grid ---- */
.guide-measure-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* ---- Step Card ---- */
.guide-measure-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(142, 58, 103, 0.35);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.guide-measure-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(142, 58, 103, 0.5);
  border-color: rgba(142, 58, 103, 0.65);
}

/* ---- Step Image ---- */
.guide-step-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(142, 58, 103, 0.08);
}

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

.guide-measure-step:hover .guide-step-image {
  transform: scale(1.04);
}

.guide-step-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  z-index: 2;
  line-height: 1;
}

/* ---- Step Content ---- */
.guide-step-content {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-step-icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f0dde8;
  margin: 0;
  line-height: 1.35;
}

/* ---- Step List ---- */
.guide-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 3px solid var(--primary, #8E3A67);
  padding-right: 14px;
}

.guide-step-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: #c4aab8;
  line-height: 1.7;
}

.guide-step-bullet {
  color: var(--primary, #8E3A67);
  font-size: 0.6rem;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ---- Tips Box ---- */
.guide-measure-tips {
  background: rgba(142, 58, 103, 0.1);
  border: 1px solid rgba(142, 58, 103, 0.4);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.guide-measure-tips::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(142, 58, 103, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.guide-tips-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.guide-tips-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-tips-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f5e4ef;
  margin: 0;
}

.guide-tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: tips-counter;
}

.guide-tips-item {
  counter-increment: tips-counter;
  position: relative;
}

.guide-tips-item:not(:last-child) {
  border-bottom: 1px solid rgba(142, 58, 103, 0.2);
}

.guide-tips-item-inner {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
}

.guide-tips-item-inner::before {
  content: counter(tips-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.guide-tips-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0dde8;
  white-space: nowrap;
  min-width: 90px;
}

.guide-tips-text {
  font-size: 0.92rem;
  color: #c4aab8;
  line-height: 1.75;
  margin: 0;
}

/* =============================================
   RESPONSIVE — TABLET (max 900px)
   ============================================= */
@media (max-width: 900px) {
  .guide-measure-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .guide-measure-step {
    flex-direction: row;
    align-items: stretch;
  }

  .guide-step-image-wrap {
    width: 160px;
    min-width: 160px;
    aspect-ratio: unset;
    flex-shrink: 0;
  }

  .guide-step-image {
    height: 100%;
  }
}

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

  .guide-measure-header {
    margin-bottom: 36px;
  }

  .guide-measure-step {
    flex-direction: column;
  }

  .guide-step-image-wrap {
    width: 100%;
    min-width: unset;
    aspect-ratio: 16 / 9;
  }

  .guide-step-content {
    padding: 16px 18px 20px;
  }

  .guide-measure-tips {
    padding: 24px 20px;
  }

  .guide-tips-item-inner {
    flex-direction: column;
    gap: 8px;
  }

  .guide-tips-item-inner::before {
    align-self: flex-start;
  }

  .guide-tips-label {
    white-space: normal;
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .guide-measure-steps {
    max-width: 100%;
  }
}

/* Added Component Styles */
/* ===== WIGS COLORED SECTION ===== */
.wigs-colored-section {
  background: linear-gradient(160deg, #fdf0f7 0%, #f8e8f4 50%, #fce4f0 100%);
  padding: 90px 20px;
  font-family: system-ui, sans-serif;
  direction: rtl;
  text-align: right;
  overflow: hidden;
  position: relative;
}

.wigs-colored-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(142, 58, 103, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wigs-colored-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(142, 58, 103, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.wigs-colored-container {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.wigs-colored-header {
  text-align: center;
  margin-bottom: 56px;
}

.wigs-colored-badge {
  display: inline-block;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.wigs-colored-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #3a1a2e;
  margin: 0 0 18px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.wigs-colored-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #6b3a57;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Grid */
.wigs-colored-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Card */
.wigs-colored-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(142, 58, 103, 0.10);
  border: 1px solid rgba(142, 58, 103, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.wigs-colored-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(142, 58, 103, 0.20);
}

.wigs-colored-card--featured {
  grid-column: span 2;
}

/* Card Image */
.wigs-colored-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.wigs-colored-card--featured .wigs-colored-card-img-wrap {
  height: 280px;
}

.wigs-colored-card-img-wrap:not(.wigs-colored-card--featured .wigs-colored-card-img-wrap) {
  height: 220px;
}

.wigs-colored-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.wigs-colored-card:hover .wigs-colored-card-img {
  transform: scale(1.06);
}

/* Card Overlay */
.wigs-colored-card-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
}

/* Tag */
.wigs-colored-tag {
  display: inline-block;
  background: var(--primary, #8E3A67);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.wigs-colored-tag--new {
  background: #2a9d8f;
}

.wigs-colored-tag--sale {
  background: #e76f51;
}

/* Card Body */
.wigs-colored-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wigs-colored-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3a1a2e;
  margin: 0 0 8px 0;
}

.wigs-colored-card-desc {
  font-size: 0.9rem;
  color: #7a5068;
  line-height: 1.65;
  margin: 0 0 18px 0;
  flex: 1;
}

/* Card Footer */
.wigs-colored-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wigs-colored-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary, #8E3A67);
}

/* Button */
.wigs-colored-btn {
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.wigs-colored-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(142, 58, 103, 0.35);
}

.wigs-colored-btn:focus-visible {
  outline: 3px solid var(--primary, #8E3A67);
  outline-offset: 3px;
}

/* Features Strip */
.wigs-colored-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 40px;
  box-shadow: 0 2px 16px rgba(142, 58, 103, 0.08);
  border: 1px solid rgba(142, 58, 103, 0.10);
}

.wigs-colored-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a1a2e;
  font-size: 0.95rem;
  font-weight: 600;
}

.wigs-colored-feature-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.wigs-colored-feature-text {
  white-space: nowrap;
}

/* CTA */
.wigs-colored-cta-wrap {
  text-align: center;
}

.wigs-colored-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--primary, #8E3A67);
  border: 2px solid var(--primary, #8E3A67);
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.wigs-colored-cta-btn:hover {
  background: var(--primary, #8E3A67);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(142, 58, 103, 0.30);
}

.wigs-colored-cta-btn:focus-visible {
  outline: 3px solid var(--primary, #8E3A67);
  outline-offset: 4px;
}

.wigs-colored-cta-arrow {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.wigs-colored-cta-btn:hover .wigs-colored-cta-arrow {
  transform: translateX(-5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .wigs-colored-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wigs-colored-card--featured {
    grid-column: span 2;
  }

  .wigs-colored-card--featured .wigs-colored-card-img-wrap {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .wigs-colored-section {
    padding: 60px 16px;
  }

  .wigs-colored-header {
    margin-bottom: 36px;
  }

  .wigs-colored-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wigs-colored-card--featured {
    grid-column: span 1;
  }

  .wigs-colored-card--featured .wigs-colored-card-img-wrap,
  .wigs-colored-card-img-wrap {
    height: 220px;
  }

  .wigs-colored-features {
    padding: 18px 20px;
    gap: 14px 20px;
  }

  .wigs-colored-feature-text {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .wigs-colored-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .wigs-colored-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .wigs-colored-features {
    flex-direction: column;
    align-items: flex-start;
  }

  .wigs-colored-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Added Component Styles */
.wig-swatch { --swatch-color: #CC0000; }
.wig-swatch { --swatch-color: #FF3333; }
.wig-swatch { --swatch-color: #990000; }
.wig-swatch { --swatch-color: #FFB6C1; }
.wig-swatch { --swatch-color: #FF69B4; }
.wig-swatch { --swatch-color: #FFC0CB; }
.wig-swatch { --swatch-color: #6A0DAD; }
.wig-swatch { --swatch-color: #9B59B6; }
.wig-swatch { --swatch-color: #3498DB; }
.wig-swatch { --swatch-color: #FF6B6B; }
.wig-swatch { --swatch-color: #FFD93D; }
.wig-swatch { --swatch-color: #6BCB77; }
.wig-swatch { --swatch-color: #4D96FF; }
.wig-swatch { --swatch-color: #1a1a1a; }
.wig-swatch { --swatch-color: #FF00AA; }
.wig-swatch { --swatch-color: #CC0077; }
.wig-swatch { --swatch-color: #FF6B35; }
.wig-swatch { --swatch-color: #F7C59F; }
.wig-swatch { --swatch-color: #FFD700; }
.wig-swatch { --swatch-color: #AED9E0; }
.wig-swatch { --swatch-color: #B8D8E8; }
.wig-swatch { --swatch-color: #E0F4F8; }
.wig-swatch { --swatch-color: #2D6A4F; }
.wig-swatch { --swatch-color: #52B788; }
.wig-swatch { --swatch-color: #95D5B2; }

/* Added Component Styles */
/* ===== CLEAN HERO SECTION ===== */
.clean-hero-section {
  font-family: system-ui, sans-serif;
  direction: rtl;
  background: #ffffff;
  padding: 80px 24px 60px;
  overflow: hidden;
}

/* Container */
.clean-hero-container {
  max-width: 1100px;
  margin: 0 auto 70px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

/* Content side */
.clean-hero-content {
  flex: 1 1 340px;
  min-width: 280px;
}

.clean-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.clean-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #444;
  line-height: 1.75;
  margin: 0 0 36px;
  max-width: 480px;
}

/* Buttons */
.clean-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.clean-btn-primary {
  display: inline-block;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 18px rgba(142, 58, 103, 0.35);
  border: none;
  cursor: pointer;
}

.clean-btn-primary:hover,
.clean-btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(142, 58, 103, 0.45);
  opacity: 0.93;
  outline: none;
}

.clean-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary, #8E3A67);
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--primary, #8E3A67);
  transition: background 0.22s ease, color 0.22s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.clean-btn-secondary:hover,
.clean-btn-secondary:focus-visible {
  background: var(--primary, #8E3A67);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 58, 103, 0.25);
  outline: none;
}

/* Image side */
.clean-hero-image-wrapper {
  flex: 1 1 320px;
  min-width: 260px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(142, 58, 103, 0.18);
  position: relative;
}

.clean-hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid rgba(142, 58, 103, 0.15);
  pointer-events: none;
  z-index: 1;
}

.clean-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 260px;
  transition: transform 0.4s ease;
}

.clean-hero-image-wrapper:hover .clean-hero-img {
  transform: scale(1.03);
}

/* ===== FEATURES GRID ===== */
.clean-features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.clean-feature-card {
  background: #faf5f8;
  border: 1px solid rgba(142, 58, 103, 0.18);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  cursor: default;
}

.clean-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(142, 58, 103, 0.14);
  background: #fff;
}

.clean-feature-icon {
  font-size: 2.2rem;
  color: var(--primary, #8E3A67);
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.clean-feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}

.clean-feature-text {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .clean-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .clean-hero-section {
    padding: 52px 16px 44px;
  }

  .clean-hero-container {
    flex-direction: column-reverse;
    gap: 32px;
    margin-bottom: 48px;
  }

  .clean-hero-content {
    text-align: center;
  }

  .clean-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .clean-hero-actions {
    justify-content: center;
  }

  .clean-hero-image-wrapper {
    width: 100%;
  }

  .clean-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .clean-feature-card {
    padding: 28px 20px;
  }
}

/* Added Component Styles */
/* ===== SHOP GALLERY SECTION ===== */
.shop-gallery-section {
  direction: rtl;
  font-family: system-ui, sans-serif;
  background: #faf5f8;
  padding: 80px 20px;
  position: relative;
}

.shop-gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Header */
.shop-gallery-header {
  text-align: center;
  margin-bottom: 56px;
}

.shop-gallery-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary, #8E3A67);
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.shop-gallery-subtitle {
  font-size: 1.1rem;
  color: #6b5060;
  margin: 0;
  line-height: 1.6;
}

/* Grid */
.shop-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Product Card */
.shop-product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(142, 58, 103, 0.08);
  border: 1px solid rgba(142, 58, 103, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.shop-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(142, 58, 103, 0.18);
}

/* Image Wrapper */
.shop-product-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f0e6ec;
}

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

.shop-product-card:hover .shop-product-image {
  transform: scale(1.06);
}

/* Overlay */
.shop-product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(142, 58, 103, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.shop-product-card:hover .shop-product-overlay {
  opacity: 1;
}

.shop-quick-view-btn {
  background: #ffffff;
  color: var(--primary, #8E3A67);
  border: none;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.shop-quick-view-btn:hover {
  background: var(--primary, #8E3A67);
  color: #ffffff;
  transform: scale(1.05);
}

.shop-quick-view-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* Badge */
.shop-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  z-index: 2;
}

.shop-badge-new {
  background: #8E3A67;
  color: #ffffff;
}

.shop-badge-sale {
  background: #e05a2b;
  color: #ffffff;
}

/* Product Info */
.shop-product-info {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.shop-product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d1a26;
  margin: 0;
  line-height: 1.3;
}

.shop-product-desc {
  font-size: 0.88rem;
  color: #7a5a6e;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

/* Footer */
.shop-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 10px;
}

.shop-price-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row-reverse;
}

.shop-product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary, #8E3A67);
}

.shop-product-price-old {
  font-size: 0.9rem;
  font-weight: 500;
  color: #aaa;
  text-decoration: line-through;
}

/* Add to Cart Button */
.shop-add-to-cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: system-ui, sans-serif;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(142, 58, 103, 0.3);
  flex-direction: row-reverse;
}

.shop-add-to-cart-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 58, 103, 0.4);
}

.shop-add-to-cart-btn:active {
  transform: translateY(0);
}

.shop-add-to-cart-btn:focus-visible {
  outline: 3px solid var(--primary, #8E3A67);
  outline-offset: 3px;
}

.shop-cart-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Toast Notification */
.shop-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: var(--primary, #8E3A67);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(142, 58, 103, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  white-space: nowrap;
}

.shop-toast.shop-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.shop-toast-icon {
  font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .shop-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 600px) {
  .shop-gallery-section {
    padding: 52px 16px;
  }

  .shop-gallery-title {
    font-size: 1.8rem;
  }

  .shop-gallery-subtitle {
    font-size: 0.97rem;
  }

  .shop-gallery-header {
    margin-bottom: 36px;
  }

  .shop-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .shop-product-info {
    padding: 16px 16px 18px;
  }

  .shop-add-to-cart-btn {
    padding: 9px 14px;
    font-size: 0.82rem;
  }

  .shop-product-price {
    font-size: 1.1rem;
  }
}

/* AI-generated section */
/* ===== WIG SIZE TABLE SECTION ===== */
.wig-size-table-section {
  background: linear-gradient(160deg, #fdf6fa 0%, #f9eef5 60%, #fdf6fa 100%);
  padding: 80px 20px;
  font-family: system-ui, sans-serif;
  direction: rtl;
  text-align: right;
}

.wig-size-table-container {
  max-width: 860px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.wig-size-table-header {
  text-align: center;
  margin-bottom: 44px;
}

.wig-size-table-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(142, 58, 103, 0.12) 0%, rgba(142, 58, 103, 0.05) 100%);
  border-radius: 50%;
  color: var(--primary, #8E3A67);
  margin-bottom: 18px;
  border: 1.5px solid rgba(142, 58, 103, 0.2);
}

.wig-size-table-title {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700;
  color: #2d1a26;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.wig-size-table-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: #7a5570;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

/* ===== TABLE WRAPPER ===== */
.wig-size-table-wrapper {
  background: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 4px 24px rgba(142, 58, 103, 0.1),
    0 1px 4px rgba(142, 58, 103, 0.06);
  border: 1px solid rgba(142, 58, 103, 0.15);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ===== TABLE ===== */
.wig-size-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.97rem;
}

.wig-size-table thead tr {
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
}

.wig-size-table thead th {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 16px 22px;
  text-align: right;
  border: none;
  white-space: nowrap;
}

.wig-size-table thead th:first-child {
  border-radius: 0 0 0 0;
}

/* ===== TABLE ROWS ===== */
.wig-size-row {
  border-bottom: 1px solid rgba(142, 58, 103, 0.08);
  transition: background 0.2s ease;
}

.wig-size-row:last-child {
  border-bottom: none;
}

.wig-size-row:hover {
  background: rgba(142, 58, 103, 0.04);
}

.wig-size-row td {
  padding: 15px 22px;
  color: #3a2030;
  font-size: 0.96rem;
  line-height: 1.5;
  text-align: right;
  vertical-align: middle;
}

/* ===== SIZE LABEL COLUMN ===== */
.wig-size-label {
  font-weight: 700;
  font-size: 1rem !important;
  color: var(--primary, #8E3A67) !important;
  white-space: nowrap;
}

/* ===== POPULAR ROW (M) ===== */
.wig-size-popular {
  background: linear-gradient(90deg, rgba(142, 58, 103, 0.07) 0%, rgba(142, 58, 103, 0.03) 100%);
  border-right: 4px solid var(--primary, #8E3A67);
  border-bottom: 1px solid rgba(142, 58, 103, 0.15) !important;
}

.wig-size-popular:hover {
  background: linear-gradient(90deg, rgba(142, 58, 103, 0.12) 0%, rgba(142, 58, 103, 0.06) 100%);
}

.wig-size-popular .wig-size-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.wig-size-popular td {
  font-weight: 600;
  color: #2d1a26 !important;
}

.wig-size-popular .wig-size-label {
  color: var(--primary, #8E3A67) !important;
}

/* ===== BADGE ===== */
.wig-size-badge {
  display: inline-block;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(142, 58, 103, 0.3);
}

/* ===== FOOTNOTE ===== */
.wig-size-table-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0 0 0;
  padding: 14px 18px;
  background: rgba(142, 58, 103, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(142, 58, 103, 0.12);
  color: #7a5570;
  font-size: 0.87rem;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}

.wig-note-icon {
  flex-shrink: 0;
  color: var(--primary, #8E3A67);
  margin-top: 2px;
}

/* ===== CTA ===== */
.wig-size-table-cta {
  text-align: center;
  margin-top: 36px;
}

.wig-size-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  color: #ffffff;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 50px;
  box-shadow:
    0 4px 18px rgba(142, 58, 103, 0.35),
    0 1px 4px rgba(142, 58, 103, 0.2);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
}

.wig-size-cta-btn:hover,
.wig-size-cta-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(142, 58, 103, 0.45),
    0 2px 8px rgba(142, 58, 103, 0.25);
  filter: brightness(1.06);
  outline: none;
}

.wig-size-cta-btn:focus-visible {
  outline: 3px solid rgba(142, 58, 103, 0.5);
  outline-offset: 3px;
}

.wig-size-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(142, 58, 103, 0.3);
}

.wig-cta-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .wig-size-table-section {
    padding: 56px 16px;
  }

  .wig-size-table-header {
    margin-bottom: 32px;
  }

  .wig-size-table-icon {
    width: 54px;
    height: 54px;
  }

  .wig-size-table-title {
    font-size: 1.5rem;
  }

  .wig-size-table-subtitle {
    font-size: 0.92rem;
  }

  .wig-size-table thead th {
    padding: 13px 14px;
    font-size: 0.82rem;
  }

  .wig-size-row td {
    padding: 13px 14px;
    font-size: 0.9rem;
  }

  .wig-size-badge {
    font-size: 0.62rem;
    padding: 2px 7px;
  }

  .wig-size-cta-btn {
    font-size: 0.96rem;
    padding: 14px 28px;
  }

  .wig-size-table-note {
    font-size: 0.83rem;
  }
}

@media (max-width: 480px) {
  .wig-size-table-section {
    padding: 44px 12px;
  }

  .wig-size-table-wrapper {
    border-radius: 12px;
  }

  .wig-size-table thead th,
  .wig-size-row td {
    padding: 11px 12px;
  }

  .wig-size-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
  }

  .wig-size-popular .wig-size-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

.wig-size-table-section .wig-size-row.wig-size-popular td {
  vertical-align: middle;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: normal !important;
  height: auto !important;
}

.wig-size-table-section .wig-size-row td.wig-size-label {
  white-space: nowrap;
}

.index-brand-story-section .ibs-card-image-wrap img {
  width: 100% !important;
  height: 320px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.shop-gallery-section .shop-product-image-wrapper {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.shop-gallery-section .shop-product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.wig-templates-section .wig-card-image-wrap {
  overflow: hidden;
  width: 100%;
}

.wig-templates-section .wig-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.wigs-colored-section .wigs-colored-card .wigs-colored-card-body img,
.wigs-colored-section img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.index-brand-story-section .ibs-card-image-wrap img {
  object-fit: cover !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
}

#ai-section-1777211315720-0bdy3e0 .wig-card-image-wrap {
  height: 320px;
  overflow: hidden;
}

#ai-section-1777211315720-0bdy3e0 .wig-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

#ai-section-1777211315720-0bdy3e0 .wig-templates-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
}

@media (max-width: 1024px) {
#ai-section-1777211315720-0bdy3e0 .wig-templates-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}
}

@media (max-width: 600px) {
#ai-section-1777211315720-0bdy3e0 .wig-templates-grid {
  grid-template-columns: 1fr !important;
}
}

#ai-section-1777211315720-0bdy3e0 .wig-card-image-wrap {
  height: 280px !important;
  overflow: hidden !important;
  position: relative !important;
}

#ai-section-1777211315720-0bdy3e0 .wig-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}





/* AI-generated section */
/* ── Shipping Announcement Banner ── */
.banner-shipping-announcement {
  direction: rtl;
  font-family: system-ui, sans-serif;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  width: 100%;
  padding: 18px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(142, 58, 103, 0.35);
}

/* Subtle shimmer overlay */
.banner-shipping-announcement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Decorative soft circles */
.banner-shipping-announcement::after {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 0;
}

.banner-shipping-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.banner-shipping-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.18));
  animation: banner-truck-bounce 2.4s ease-in-out infinite;
}

@keyframes banner-truck-bounce {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-5px); }
  75%       { transform: translateX(5px); }
}

.banner-shipping-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.banner-shipping-main {
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.banner-shipping-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.4;
  font-style: italic;
}

.banner-shipping-deco {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
  animation: banner-deco-pulse 3s ease-in-out infinite;
}

@keyframes banner-deco-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%       { opacity: 0.9;  transform: scale(1.25); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .banner-shipping-announcement {
    padding: 14px 16px;
  }

  .banner-shipping-inner {
    gap: 10px;
  }

  .banner-shipping-icon {
    font-size: 1.6rem;
  }

  .banner-shipping-main {
    font-size: 1.05rem;
  }

  .banner-shipping-sub {
    font-size: 0.76rem;
  }

  .banner-shipping-deco {
    display: none;
  }
}

@media (max-width: 380px) {
  .banner-shipping-main {
    font-size: 0.95rem;
  }
}

/* ==ZAPPY V2 E-COMMERCE THEME CSS== */
/* ═══════════════════════════════════════════════════════════════════════════ */
/* V2 E-COMMERCE CSS - Clean V2 Variables Only                                  */
/* Theme: DARK (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-dark) !important;
  background-color: var(--bg-dark) !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-dark) !important;
  color: var(--text-light) !important;
}

main.page-container,
main.page-container.ecommerce-page,
.page-container.ecommerce-page {
  background: var(--bg-dark) !important;
  color: var(--text-light) !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-dark) !important;
  color: var(--text-light) !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-light) !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-dark);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  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: rgba(255,255,255,0.06);
}
.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: rgba(255,255,255,0.08);
  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(--bg-dark);
  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-dark);
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  color: var(--text-light);
  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-dark); margin-bottom: 8px; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 12px; }
.products-count { font-size: 13px; color: var(--text-light); opacity: 0.7; }
.sidebar-toggle-btn { display: none; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--border-dark); border-radius: 8px; background: rgba(255,255,255,0.05); cursor: pointer; color: var(--text-light); 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-dark); border-radius: 8px; background: rgba(255,255,255,0.05); color: var(--text-light); 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-dark); border-radius: 8px; overflow: hidden; }
.view-btn { padding: 6px 10px; background: rgba(255,255,255,0.05); border: none; cursor: pointer; color: var(--text-light); 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-dark); }
[dir="rtl"] .view-btn:not(:last-child) { border-right: none; border-left: 1px solid var(--border-dark); }
.view-btn.active { background: var(--accent); color: #fff; opacity: 1; }
.view-btn:hover:not(.active) { background: rgba(255,255,255,0.1); }

.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-light); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border-dark); }
.product-sidebar .sidebar-item { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: 13px; color: var(--text-light); 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-light); 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-dark); border-radius: 6px; font-size: 13px; background: rgba(255,255,255,0.05); color: var(--text-light); }
.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-dark); 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-light); }
.product-sidebar .sidebar-clear-btn { background: none; border: 1px solid var(--border-dark); border-radius: 6px; padding: 4px 10px; font-size: 11px; color: var(--text-light); 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-dark); 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(255,255,255,0.1); border-radius: 50%; cursor: pointer; color: var(--text-light); font-size: 20px; line-height: 1; flex-shrink: 0; }
  .product-sidebar .sidebar-mobile-close:hover { background: var(--border-dark); }
  .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-dark);
  color: var(--text-light);
}
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-summary {
  margin-top: 24px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
}
.cart-total {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-light);
}
.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-light); }
.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: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  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-light);
}
.checkout-accordion-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-light);
}
.checkout-items-count {
  font-weight: 400;
  font-size: 18px;
  color: var(--text-muted);
}
.checkout-accordion-chevron {
  flex-shrink: 0;
  color: var(--text-light);
  stroke: var(--text-light);
  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: rgba(255,255,255,0.08);
}
.checkout-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-thumb-more {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  flex-shrink: 0;
}

/* ── Form Fields ── */
.checkout-field-label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
  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 rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
  font-size: 16px;
  box-shadow: none;
  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(255,255,255,0.1);
}
.checkout-accordion-panel input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* 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(255,255,255,0.05) !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-light) !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 rgba(255,255,255,0.1) !important;
}
.save-address-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: rgba(255,255,255,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-light) !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.1) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  color: rgba(255,255,255,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(255,255,255,0.2) !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  color: rgba(255,255,255,0.5) !important;
  transition: all 0.2s !important;
  white-space: nowrap !important;
}
.checkout-logout-btn:hover {
  border-color: rgba(255,255,255,0.4) !important;
  color: rgba(255,255,255,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 rgba(255,255,255,0.1);
}
.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: rgba(255,255,255,0.08);
}
.checkout-item-thumb-empty {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.checkout-item-info {
  flex: 1;
  min-width: 0;
}
.checkout-item-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  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 rgba(255,255,255,0.2);
  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-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-qty-btn:hover {
  background: rgba(255,255,255,0.1);
}
.checkout-qty-value {
  min-width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
}
.checkout-item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  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: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  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-light) !important;
  margin-bottom: 0 !important;
}
.checkout-order-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 16px 0;
}
.order-summary.checkout-order-details {
  border: 1px solid rgba(255,255,255,0.08) !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-light);
}
.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: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  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: var(--text-light) !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: var(--text-light) !important;
  margin-bottom: 0 !important;
  line-height: 1.3;
}
.order-success-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  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: var(--text-light);
}
.order-success-detail-value {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}
.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-light);
}
.order-summary {
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  height: fit-content;
  position: sticky;
  top: 24px;
  border: 1px solid var(--border-dark);
}
.order-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}
.order-totals > div {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
}
.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-dark);
  font-size: 14px;
  color: var(--text-light);
}

/* 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-dark);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
}
.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-light); 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-light); 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-light); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* Orders */
.orders-section h2 { font-size: 1.25rem; color: var(--text-light); margin-bottom: 20px; }
.orders-loading { text-align: center; padding: 40px; color: var(--text-muted); }
.orders-empty {
  text-align: center;
  padding: 40px;
  background: rgba(255,255,255,0.05);
  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: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  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-light); }
.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 rgba(255,255,255,0.05);
}
.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-light); }
.order-items-summary {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-dark);
  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: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  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-light); 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 rgba(255,255,255,0.05);
}
.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-light); 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-dark);
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
}
.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: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  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: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  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-light); 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-dark);
}
.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-dark);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-dark);
}
.address-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-dark);
}
.address-modal-header h3 { margin: 0; font-size: 1.25rem; color: var(--text-light); }
.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-light); }
.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-dark);
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
}
.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-dark);
  justify-content: flex-end;
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-light);
  color: var(--bg-dark);
  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-light); 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: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 32px;
}
.order-confirmation-message p { margin: 8px 0; color: var(--text-light); }
.order-details-section {
  text-align: right;
  background: rgba(255,255,255,0.05);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
}
.order-details-section h2 { font-size: 1.125rem; margin-bottom: 16px; color: var(--text-light); }
.order-items-list { margin-bottom: 16px; }
.order-success-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-light);
}
.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-light);
}
.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-dark);
  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: rgba(255,255,255,0.05);
}
.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-light); 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: rgba(255,255,255,0.05);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--text-light);
}
.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-light); 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-dark);
  border-radius: 8px;
  overflow: hidden;
}
.product-info .quantity-selector button {
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-light);
}
.product-info .quantity-selector button:hover { background: rgba(255,255,255,0.1); }
.product-info .quantity-selector input {
  width: 50px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--border-dark);
  border-right: 1px solid var(--border-dark);
  text-align: center;
  font-size: 1rem;
  background: transparent;
  color: var(--text-light);
  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-dark);
}
.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-light);
}
.product-details-header:hover { opacity: 0.8; }
.product-details-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  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-dark);
}
.related-products-section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text-light);
}

/* Category page */
.category-header { margin-bottom: 32px; }
.category-header-loading { text-align: center; padding: 40px; }
.category-title { font-size: 2rem; color: var(--text-light); 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-light); font-size: 18px; }
.variant-selected-value { font-weight: 700; }
.variant-label { font-weight: 500; color: var(--text-light); 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-dark);
  border-radius: 2px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-light);
}
.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-dark);
}
.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-dark);
  border-radius: 6px;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
}
.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-dark);
  /* 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-dark);
  flex-shrink: 0;
}
.cart-drawer-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-light);
  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-light); }
.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-dark);
}
.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-light);
  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-dark);
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-light);
}
.cart-drawer-item-qty button:hover { background: rgba(255,255,255,0.1); }
.cart-drawer-item-qty span { min-width: 24px; text-align: center; color: var(--text-light); }
.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-light) !important;
}
#cart-drawer .cart-item-variant {
  font-size: 13px !important;
  color: rgba(255,255,255,0.55) !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(255,255,255,0.25) !important;
  background: rgba(255,255,255,0.1) !important;
  color: var(--text-light) !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-light) !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(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: var(--text-light) !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-dark);
  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-light);
}
.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-light)) !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-light)) !important; 
}
.nav-search-result-item a {
  color: var(--text, var(--text-light)) !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-light)) !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-light)) !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-light)) !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-dark);
  z-index: 1002;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-bottom: 1px solid var(--border-dark);
}
.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-dark);
  border-radius: 8px;
  font-size: 16px;
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
  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(255,255,255,0.1);
  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-dark);
  text-decoration: none;
  color: inherit;
}
.mobile-search-panel .search-result-item:hover { background: rgba(255,255,255,0.1); }
.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-light); }
.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: var(--bg-dark);
}

/* ─────────────────────────────────────────────────────────────────────────────
   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-dark) !important;
  color: var(--text-light) !important;
}
.mobile-search-panel input::placeholder {
  color: rgba(255,255,255,0.6) !important;
}

/* Ensure icon buttons stay rounded */
.mobile-search-panel .search-submit,
.mobile-search-panel #mobile-search-submit,
.mobile-search-panel .close-search,
.mobile-search-panel #close-mobile-search {
  border-radius: 50% !important;
}

/* Cart count badge - ensure proper sizing on mobile */
.cart-count {
  position: absolute !important;
  top: -4px !important;
  left: -4px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2px 5px !important;
  border-radius: 10px !important;
  min-width: 16px !important;
  max-width: 24px !important;
  height: auto !important;
  line-height: 1 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Mobile-specific nav styles */
@media (max-width: 768px) {
  /* Mobile nav panel must have an opaque background; the refresh script doesn't
     re-run navbarCssHelper/colorPaletteService which normally sets this.
     When --nav-bg is transparent, we use the solid palette bg instead. */
  .nav-menu,
  .nav-menu.active,
  .nav-menu.nav-menu-active,
  #navMenu,
  #navMenu.active {
    background-color: var(--nav-bg, var(--bg-dark));
  }
  .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-dark) !important;
    background: rgba(255,255,255,0.05) !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(255,255,255,0.1) !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-light) !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: rgba(255,255,255,0.05) !important;
    color: var(--text-light) !important;
    border: 1px solid var(--border-dark) !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(--bg-dark) !important;
}

/* Product info Add to Cart button (product detail page) */
.product-info .add-to-cart-btn {
  background: var(--accent, var(--primary)) !important;
  color: var(--bg-dark) !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: var(--bg-dark) !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(--bg-dark) !important;
}

/* Checkout button in cart page */
.checkout-btn {
  background: var(--accent, var(--primary)) !important;
  color: var(--bg-dark) !important;
}

/* Coupon apply button */
.coupon-apply-btn {
  background: var(--accent, var(--primary)) !important;
  color: var(--bg-dark) !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(--bg-dark) !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-light) !important; 
  font-size: 20px !important; 
}
.shipping-icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  color: var(--text-light) !important;
}
.shipping-option.selected .shipping-icon {
  color: var(--text-light) !important;
}
.shipping-desc { 
  color: rgba(255,255,255,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-light) !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-light) !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(255,255,255,0.6) !important; 
  background: rgba(255,255,255,0.05) !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-dark) !important;
  border-radius: 8px !important;
  background: var(--bg-dark) !important;
  color: var(--text-light) !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(255,255,255,0.5) !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-light) !important; 
  font-size: 20px !important; 
  flex: 1 !important;
}
.payment-icon { 
  color: var(--text-light) !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: rgba(255,255,255,0.05) !important; 
  border-radius: 8px !important; 
  color: rgba(255,255,255,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(255,255,255,0.6) !important; 
  background: rgba(255,255,255,0.05) !important; 
  border-radius: 8px !important; 
}

/* Product Specifications - V2 theme */
.product-specifications { 
  margin: 24px 0 !important; 
  padding: 20px !important; 
  background: rgba(255,255,255,0.05) !important; 
  border-radius: 12px !important; 
  border: 1px solid var(--border-dark) !important;
}
.product-specifications h3 { 
  font-size: 1.1rem !important; 
  font-weight: 600 !important; 
  margin: 0 0 16px 0 !important; 
  color: var(--text-light) !important; 
}
.specs-table { 
  width: 100% !important; 
  border-collapse: collapse !important; 
}
.specs-table tr:not(:last-child) { 
  border-bottom: 1px solid var(--border-dark) !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(255,255,255,0.6) !important; 
  width: 40% !important; 
  padding-left: 16px !important; 
}
.specs-table td { 
  font-weight: 500 !important; 
  color: var(--text-light) !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(255,255,255,0.5) !important; 
}
.product-breadcrumb a { 
  color: rgba(255,255,255,0.6) !important; 
  text-decoration: none !important; 
}
.product-breadcrumb a:hover { 
  color: var(--text-light) !important; 
  text-decoration: underline !important; 
}
.product-breadcrumb .breadcrumb-separator { 
  color: rgba(255,255,255,0.3) !important; 
}
.product-breadcrumb .breadcrumb-current { 
  color: var(--text-light) !important; 
  font-weight: 500 !important; 
}

/* Related products section - V2 theme */
.related-products-section { 
  padding: 40px 0 !important; 
  border-top: 1px solid var(--border-dark) !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-light) !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-light) !important; 
  margin: 0 0 12px 0 !important; 
}
.category-description { 
  color: rgba(255,255,255,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(255,255,255,0.6) !important; 
}

/* Catalog mode - inquiry/contact buttons - V2 theme */
.product-actions.catalog-mode { 
  flex-direction: row !important; 
  gap: 12px !important; 
  max-width: 600px !important; 
  margin: 0 auto !important; 
  width: 100% !important; 
}
.product-actions.catalog-mode .btn { 
  display: flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  gap: 8px !important; 
  padding: 14px 24px !important; 
  border-radius: 8px !important; 
  font-size: 16px !important; 
  font-weight: 600 !important; 
  text-decoration: none !important; 
  cursor: pointer !important; 
  transition: all 0.2s ease !important; 
  flex: 1 !important; 
  border: none !important; 
}

/* ==END ZAPPY V2 E-COMMERCE THEME CSS== */

/* ==ZAPPY V2 E-COMMERCE THEME CSS== */
/* ═══════════════════════════════════════════════════════════════════════════ */
/* V2 E-COMMERCE CSS - Clean V2 Variables Only                                  */
/* Theme: LIGHT (detected from hero section)             */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Prevent white “side margins” on wide screens:
   The e-commerce container is max-width 1440px; the outer background is the body/html background.
   Scope to e-commerce sites only (data-zappy-site-type is set by ecommerce JS). */
html[data-zappy-site-type="ecommerce"],
body[data-zappy-site-type="ecommerce"] {
  background: var(--bg-light) !important;
  background-color: var(--bg-light) !important;
}

/* Base page styling - matches hero section theme */
.ecommerce-page {
  padding: 60px 24px;
  padding-top: 24px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 60vh;
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

main.page-container,
main.page-container.ecommerce-page,
.page-container.ecommerce-page {
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

/* Section backgrounds */
.products-section,
.cart-section,
.checkout-section,
.login-section,
.account-section,
.order-success-section,
.product-detail-section,
.category-page-section {
  padding: 20px 0;
  background: var(--bg-light) !important;
  color: var(--text-dark) !important;
}

/* Section headings */
.products-section h1,
.cart-section h1,
.checkout-section h1,
.login-section h1,
.account-section h1,
.product-detail-section h1,
.category-page-section h1 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 2rem;
  color: var(--text-dark) !important;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* Product cards - V2 themed (full-bleed media + overlay favorite) */
.product-card {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: var(--bg-light, #fff);
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--accent);
}
.product-card .product-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.product-card-image-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card-body-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.product-card-body-link:hover { text-decoration: none; }
/* Remove Chrome default near-black focus box on links; keep keyboard ring only (:focus-visible). */
.product-card-image-link:focus:not(:focus-visible),
.product-card-body-link:focus:not(:focus-visible) {
  outline: none;
}
.product-card-image-link:focus-visible,
.product-card-body-link:focus-visible {
  outline: 2px solid var(--accent, var(--primary-color, var(--primary, #ff0083)));
  outline-offset: 3px;
}
nav.navbar a:focus:not(:focus-visible),
.navbar a:focus:not(:focus-visible),
.zappy-catalog-menu a:focus:not(:focus-visible),
header nav a:focus:not(:focus-visible) {
  outline: none;
}
nav.navbar a:focus-visible,
.navbar a:focus-visible,
.zappy-catalog-menu a:focus-visible,
header nav a:focus-visible {
  outline: 2px solid var(--accent, var(--primary-color, var(--primary, #ff0083)));
  outline-offset: 2px;
}
a, button {
  -webkit-tap-highlight-color: transparent;
}
.product-card-media {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background: #f3f4f6;
}
.product-grid:not(.view-list) .product-card .product-card-media { aspect-ratio: 1 / 1; }
.product-grid:not(.view-list) .product-card.standard .product-card-media { aspect-ratio: 1 / 1; }
.product-grid:not(.view-list) .product-card.detailed .product-card-media { aspect-ratio: 1 / 1; }
.product-card-image-link img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center;
  display: block;
  border-radius: 0;
  vertical-align: middle;
}
.product-card-image-link .no-image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eceff3;
  color: var(--text-muted);
  font-size: 40px;
  border-radius: 0;
}
/* !important beats later .product-tags { … !important } in this file (V2 catalog section) */
.product-card-media .product-tags {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  z-index: 2;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  max-width: calc(100% - 52px) !important;
  pointer-events: none;
}
[dir="rtl"] .product-card-media .product-tags {
  right: 8px !important;
  left: auto !important;
}
.product-card-media .product-tags .product-tag { pointer-events: auto; }
.card-favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  left: auto;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  background: rgba(255,255,255,0.92);
  color: var(--text-secondary, #6b7280);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.card-favorite-btn:hover {
  background: rgba(255,255,255,1);
  color: var(--primary, #e74c3c);
  transform: scale(1.06);
}
.card-favorite-btn .heart-filled { display: none; }
.card-favorite-btn.active .heart-outline { display: none; }
.card-favorite-btn.active .heart-filled { display: block; }
.card-favorite-btn.active {
  color: #e74c3c;
  background: rgba(255,255,255,1);
  box-shadow: 0 2px 10px rgba(231,76,60,0.22);
}
.card-favorite-btn svg { width: 18px; height: 18px; }
[dir="rtl"] .card-favorite-btn {
  left: 8px;
  right: auto;
}
.product-card .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 12px 14px 14px;
}
.product-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: inherit;
  line-height: 1.3 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
  min-height: 0;
  word-break: break-word;
}
.product-card p {
  font-size: 14px !important;
  color: var(--text-muted);
  line-height: 1.45em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 0 6px 0;
  flex-shrink: 0;
  padding: 0 !important;
  min-height: 0;
}
.product-card ul {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4em;
  margin: 0 0 8px 0;
  padding-inline-start: 20px;
  list-style-position: outside;
}
.product-card li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
/* Block flow avoids flex anonymous boxes splitting RTL “החל מ” from LTR price */
.product-card .price {
  font-weight: 700;
  color: var(--accent);
  font-size: 18px;
  margin-top: auto;
  padding-top: 6px;
  display: block;
  line-height: 1.35;
  overflow: visible;
  word-break: normal;
  overflow-wrap: anywhere;
}
.product-card .price .original-price {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-inline-start: 8px !important;
  display: inline-block;
  font-weight: 400;
  vertical-align: baseline;
}
.product-card .add-to-cart {
  width: 100%;
  margin-top: 0;
  padding: 10px;
  background: var(--accent, var(--primary));
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: filter 0.2s;
  flex-shrink: 0;
}
.product-card .add-to-cart:hover {
  filter: brightness(0.9);
}
.product-card a.view-details-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  box-sizing: border-box;
}

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

.product-grid.layout-standard { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-card.standard p { -webkit-line-clamp: 2 !important; }
.product-card.standard .add-to-cart { display: none; }

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

/* Product tags (sale, new, featured badges) */
.product-tag { display: inline-block; padding: 4px 10px; font-size: 11px; font-weight: 600; border-radius: 4px; background: var(--accent, var(--primary)); color: #fff; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 4px rgba(0,0,0,0.15); pointer-events: auto; }
.product-tag.tag-sale { background: #ef4444; }
.product-tag.tag-new { background: #22c55e; }
.product-tag.tag-featured { background: #f59e0b; }

/* Filter buttons - V2 themed */
.product-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: var(--bg-light, #fff);
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: var(--accent);
}
.filter-btn.active {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

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

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

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

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

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

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

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

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

/* Cart */
.cart-items { min-height: 200px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-summary {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-light, #fff);
  border-radius: 12px;
}
.cart-total {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.checkout-btn {
  display: block;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  background: var(--accent, var(--primary));
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: filter 0.2s;
}
.checkout-btn:hover { filter: brightness(0.9); }

/* Checkout */
.checkout-section h1 { color: var(--text-dark); }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 730px) 380px;
  gap: 32px;
  align-items: start;
  justify-content: center;
  max-width: 1160px;
  margin: 0 auto;
}
@media (max-width: 1200px) {
  .checkout-layout { grid-template-columns: 1fr 340px; gap: 24px; }
}
@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr; max-width: 100%; }
}

/* ── Accordion Panels ── */
.checkout-accordion { display: flex; flex-direction: column; gap: 16px; }
.checkout-accordion-panel {
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.checkout-accordion-panel.completed {
  border-left: 3px solid var(--accent);
}
[dir="rtl"] .checkout-accordion-panel.completed {
  border-left: none;
  border-right: 3px solid var(--accent);
}
.checkout-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}
.checkout-accordion-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.checkout-accordion-icon {
  flex-shrink: 0;
  color: var(--text-dark);
}
.checkout-accordion-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
}
.checkout-items-count {
  font-weight: 400;
  font-size: 18px;
  color: var(--text-muted);
}
.checkout-accordion-chevron {
  flex-shrink: 0;
  color: var(--text-dark);
  stroke: var(--text-dark);
  transition: transform 0.3s ease;
}
.checkout-accordion-panel.expanded .checkout-accordion-chevron {
  transform: rotate(180deg);
}

/* Accordion body - hidden by default */
.checkout-accordion-body {
  display: none;
  padding: 0 24px 24px;
}
.checkout-accordion-panel.expanded .checkout-accordion-body {
  display: block;
}

/* Thumbnail strip (items, visible when collapsed) */
.checkout-accordion-thumbs {
  display: flex;
  gap: 8px;
  padding: 0 24px 16px;
  overflow-x: auto;
}
.checkout-accordion-panel.expanded .checkout-accordion-thumbs {
  display: none;
}
.checkout-thumb-item {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}
.checkout-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-thumb-more {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  flex-shrink: 0;
}

/* ── Form Fields ── */
.checkout-field-label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.checkout-form-fields { display: flex; flex-direction: column; gap: 37px; margin-top: 37px; }
.checkout-form-fields .input-wrapper { margin-bottom: 0; }
.checkout-accordion-panel input[type="text"],
.checkout-accordion-panel input:not([type]),
.checkout-accordion-panel input[type="email"],
.checkout-accordion-panel input[type="tel"],
.checkout-accordion-panel select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #f5f5f5;
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  font-size: 16px;
  box-shadow: 0px 1px 2px rgba(16,24,40,0.05);
  box-sizing: border-box;
}
[dir="rtl"] .checkout-accordion-panel input { text-align: right; }
[dir="rtl"] .checkout-accordion-panel input::placeholder { text-align: right; }
.checkout-accordion-panel input:focus,
.checkout-accordion-panel select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 200,107,125), 0.08);
}
.checkout-accordion-panel input::placeholder {
  color: rgba(0,0,0,0.35);
}

/* Checkbox sizing fix - prevents general input styles from affecting checkboxes */
.checkout-step input[type="checkbox"],
.checkout-accordion-panel input[type="checkbox"],
.save-address-checkbox,
.terms-checkbox {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 4px !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}
.terms-checkbox-wrapper {
  margin: 16px 0 !important;
  padding: 12px !important;
  background: rgba(0,0,0,0.02) !important;
  border-radius: 8px !important;
}
.terms-checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
}
.terms-link {
  color: var(--accent) !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}
.terms-link:hover {
  opacity: 0.8 !important;
}
.save-address-wrapper {
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--border-color, #e5e7eb) !important;
}
.save-address-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: rgba(0,0,0,0.6) !important;
}

/* Checkout login prompt */
/* NOTE: Do NOT set display here - inline JS controls visibility via display:none/flex */
.checkout-login-prompt {
  align-items: center !important;
  gap: 4px !important;
  font-size: 16px !important;
  color: var(--text-dark) !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
}
.checkout-login-link {
  color: #0088ff !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: opacity 0.2s !important;
}
.checkout-login-link:hover {
  opacity: 0.8 !important;
  text-decoration: underline !important;
}

/* Checkout logged-in user display */
/* NOTE: Do NOT set display here - inline JS controls visibility via display:none/flex */
.checkout-logged-in {
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  padding: 12px 16px !important;
  background: rgba(var(--accent-rgb, 200, 107, 125), 0.08) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  color: rgba(0,0,0,0.6) !important;
}
.checkout-logged-in-text {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
}
.checkout-logout-btn {
  background: none !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  color: rgba(0,0,0,0.5) !important;
  transition: all 0.2s !important;
  white-space: nowrap !important;
}
.checkout-logout-btn:hover {
  border-color: rgba(0,0,0,0.3) !important;
  color: rgba(0,0,0,0.7) !important;
}

/* Next button */
.checkout-next-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.checkout-next-btn {
  min-width: 140px;
  height: 48px;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

/* ── Checkout Cart Items (Items accordion) ── */
.checkout-cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}
.checkout-cart-item:last-child { border-bottom: none; }
.checkout-item-thumb {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f5f5f5;
}
.checkout-item-thumb-empty {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: #f0f0f0;
  flex-shrink: 0;
}
.checkout-item-info {
  flex: 1;
  min-width: 0;
}
.checkout-item-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.checkout-item-variant {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.checkout-item-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 60px;
  overflow: hidden;
  height: 36px;
}
.checkout-qty-btn {
  width: 40px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-qty-btn:hover {
  background: rgba(0,0,0,0.05);
}
.checkout-qty-value {
  min-width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}
.checkout-item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.checkout-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s;
}
.checkout-item-remove:hover {
  color: #dc2626;
}

/* ── Order Details Sidebar ── */
.checkout-order-details {
  padding: 24px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  top: 24px;
}
.checkout-order-details-title {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  margin-bottom: 0 !important;
}
.checkout-order-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 16px 0;
}
.order-summary.checkout-order-details {
  border: 1px solid rgba(0,0,0,0.06) !important;
}
.checkout-order-details .order-totals {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.checkout-order-details .order-totals-row {
  display: flex;
  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(--nav-bg, 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 */
/* =============================================
   VIDEO SECTION — vidsec
   ============================================= */

.vidsec-section {
  background: linear-gradient(160deg, #fdf5f9 0%, #f8eef4 60%, #fdf5f9 100%);
  padding: 90px 24px 100px;
  font-family: system-ui, sans-serif;
  direction: rtl;
  text-align: right;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative background accent */
.vidsec-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142,58,103,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.vidsec-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142,58,103,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Container ---- */
.vidsec-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- Header ---- */
.vidsec-header {
  text-align: center;
  margin-bottom: 56px;
}

.vidsec-headline {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #3a1a2e;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.vidsec-headline::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  border-radius: 2px;
  margin: 14px auto 0;
}

.vidsec-subtext {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #6b3a55;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
}

/* ---- Grid ---- */
.vidsec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---- Card ---- */
.vidsec-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(142, 58, 103, 0.08),
    0 8px 32px rgba(142, 58, 103, 0.10);
  border: 1px solid rgba(142, 58, 103, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.vidsec-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 6px 20px rgba(142, 58, 103, 0.14),
    0 16px 48px rgba(142, 58, 103, 0.16);
}

/* ---- Embed Wrapper (16:9) ---- */
.vidsec-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #1a0d15;
  overflow: hidden;
}

/* ---- Play Button (covers the whole embed area) ---- */
.vidsec-play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: block;
}

.vidsec-play-btn:focus-visible {
  outline: 3px solid var(--primary, #8E3A67);
  outline-offset: -3px;
}

/* ---- Thumbnail ---- */
.vidsec-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
}

.vidsec-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.vidsec-card:hover .vidsec-thumb-img {
  transform: scale(1.04);
}

/* ---- Dark overlay on thumbnail ---- */
.vidsec-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 5, 15, 0.15) 0%,
    rgba(20, 5, 15, 0.45) 100%
  );
  transition: background 0.3s ease;
}

.vidsec-card:hover .vidsec-overlay {
  background: linear-gradient(
    to bottom,
    rgba(20, 5, 15, 0.25) 0%,
    rgba(142, 58, 103, 0.55) 100%
  );
}

/* ---- Play Icon ---- */
.vidsec-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}

.vidsec-play-icon svg {
  width: 64px;
  height: 64px;
}

.vidsec-card:hover .vidsec-play-icon {
  transform: translate(-50%, -50%) scale(1.12);
}

/* ---- Card Info ---- */
.vidsec-card-info {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(142, 58, 103, 0.08);
}

.vidsec-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2e1020;
  margin: 0;
  line-height: 1.4;
}

.vidsec-card-desc {
  font-size: 0.9rem;
  color: #7a4a65;
  margin: 0;
  line-height: 1.6;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  .vidsec-section {
    padding: 60px 16px 70px;
  }

  .vidsec-header {
    margin-bottom: 36px;
  }

  .vidsec-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .vidsec-headline::after {
    width: 48px;
  }

  .vidsec-play-icon {
    width: 52px;
    height: 52px;
  }

  .vidsec-play-icon svg {
    width: 52px;
    height: 52px;
  }

  .vidsec-card-info {
    padding: 16px 18px 20px;
  }

  .vidsec-card-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .vidsec-section {
    padding: 48px 12px 56px;
  }

  .vidsec-subtext {
    font-size: 0.95rem;
  }

  .vidsec-card-desc {
    font-size: 0.875rem;
  }
}

/* AI-generated section */
/* ===== VIDEO SECTION ===== */
.vids-section {
  direction: rtl;
  font-family: system-ui, sans-serif;
  background-color: #faf7f9;
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative background accent */
.vids-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(142,58,103,0.07) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.vids-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(142,58,103,0.05) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

/* Container */
.vids-container {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Title */
.vids-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #2a1520;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Decorative underline for title */
.vids-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gradient-primary, linear-gradient(180deg, #A53B66 0%, #8B3156 100%));
  margin: 14px auto 0;
  border-radius: 2px;
}

/* Subtitle */
.vids-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: #7a5568;
  margin: 0 0 56px 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Grid */
.vids-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Card */
.vids-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(142, 58, 103, 0.08), 0 1px 4px rgba(0,0,0,0.05);
  border: 1px solid rgba(142, 58, 103, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vids-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(142, 58, 103, 0.16), 0 2px 8px rgba(0,0,0,0.07);
}

/* Video Placeholder Area */
.vids-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f0e4ea 0%, #e8d0db 50%, #f5e8ef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  outline: none;
}

/* Subtle grid texture overlay */
.vids-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(142,58,103,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142,58,103,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.vids-placeholder:hover .vids-play-btn {
  transform: scale(1.12);
}

.vids-placeholder:focus .vids-play-btn {
  transform: scale(1.12);
  outline: 3px solid var(--primary, #8E3A67);
  outline-offset: 4px;
  border-radius: 50%;
}

/* Play Button */
.vids-play-btn {
  width: 64px;
  height: 64px;
  transition: transform 0.25s ease;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(142,58,103,0.35));
}

.vids-play-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Overlay label (top-right badge) */
.vids-overlay-label {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.85);
  color: var(--primary, #8E3A67);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(142,58,103,0.15);
  z-index: 3;
}

/* Card Info */
.vids-card-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Tag */
.vids-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary, #8E3A67);
  opacity: 0.85;
}

/* Card Title */
.vids-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2a1520;
  margin: 0;
  line-height: 1.4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .vids-section {
    padding: 64px 16px;
  }

  .vids-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vids-subtitle {
    margin-bottom: 36px;
    font-size: 0.97rem;
  }

  .vids-play-btn {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .vids-section {
    padding: 48px 12px;
  }

  .vids-card-info {
    padding: 14px 16px 16px;
  }

  .vids-card-title {
    font-size: 0.95rem;
  }
}
/* 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; }
