.elementor-693 .elementor-element.elementor-element-0c05440{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-693 .elementor-element.elementor-element-d9e7c85{text-align:center;font-family:"Peyda", Sans-serif;font-size:25px;font-weight:bold;color:#101E2F;}.elementor-693 .elementor-element.elementor-element-dd3b3f9{--display:flex;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-693 .elementor-element.elementor-element-dd3b3f9{--margin-top:0px;--margin-bottom:100px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS for html, class: .elementor-element-92dfc04 */.gallery-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem 1.8rem;
  margin-top: 0.5rem;
}

/* کارت */
.card {
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(16, 30, 47, 0.08), 0 4px 16px rgba(168, 112, 100, 0.05);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.4s ease;
  border: 1px solid #f0e6e2;
  display: flex;
  flex-direction: column;
  font-family: 'Peyda', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 55px -16px rgba(16, 30, 47, 0.18), 0 8px 24px rgba(168, 112, 100, 0.08);
  border-color: rgba(168, 112, 100, 0.3);
}

/* کانتینر قبل/بعد */
.ba-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #FDF8F3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.ba-before {
  background-color: #e0d3cc;
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.ba-after {
  background-color: #cfbfb6;
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}

/* خط جداکننده */
.ba-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 20px rgba(168, 112, 100, 0.25), 0 0 8px rgba(0,0,0,0.05);
  pointer-events: none;
  border-radius: 4px;
}

.ba-divider::before,
.ba-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #FDF8F3;
  border: 2px solid #A87064;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(16, 30, 47, 0.1);
  pointer-events: none;
}

.ba-divider::before {
  top: 20px;
}

.ba-divider::after {
  bottom: 20px;
}

/* لیبل قبل/بعد */
.ba-label {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(16, 30, 47, 0.7);
  backdrop-filter: blur(6px);
  color: #FDF8F3;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.35rem 1.2rem;
  border-radius: 60px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  font-family: 'Peyda', sans-serif;
}

.ba-label .divider-line {
  color: rgba(255, 255, 255, 0.4);
}

/* محتوای کارت */
.card-content {
  padding: 1.2rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #ffffff;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #101E2F;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Peyda', sans-serif;
}

.card-title .tag {
  background: #FDF8F3;
  padding: 0.1rem 0.9rem;
  border-radius: 60px;
  font-size: 0.65rem;
  font-weight: 500;
  color: #A87064;
  border: 1px solid rgba(168, 112, 100, 0.25);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.card-desc {
  font-size: 0.9rem;
  color: #3d4d5e;
  line-height: 1.6;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}

.card-desc i {
  color: #A87064;
  font-size: 0.4rem;
  width: 1.2rem;
}

.image-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-top: 0.3rem;
  padding-top: 0.7rem;
  border-top: 1px solid #f0e6e2;
  font-size: 0.75rem;
  color: #101E2F;
  align-items: center;
  font-weight: 400;
}

.image-links i {
  color: #A87064;
  width: 1.4rem;
  font-size: 0.8rem;
}

.image-links a {
  color: #101E2F;
  text-decoration: none;
  border-bottom: 1px dashed rgba(168, 112, 100, 0.3);
  transition: 0.2s;
  word-break: break-all;
  font-weight: 450;
  cursor: pointer;
}

.image-links a:hover {
  color: #A87064;
  border-bottom-color: #A87064;
}

.image-links .sep {
  color: #A87064;
  margin: 0 2px;
  font-weight: 300;
}

/* واکنش‌گرایی */
@media (max-width: 640px) {
  .gallery-wrapper {
    padding: 0 10px;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  
  .ba-label {
    font-size: 0.6rem;
    bottom: 12px;
    right: 12px;
    padding: 0.2rem 0.9rem;
  }
  
  .ba-divider::before,
  .ba-divider::after {
    width: 12px;
    height: 12px;
  }
  
  .ba-divider::before {
    top: 12px;
  }
  
  .ba-divider::after {
    bottom: 12px;
  }
  
  .card-title {
    font-size: 1rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}









.card {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.ba-label {
  left: 18px;          /* به جای right */
  right: auto;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.card-title {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@media (max-width: 640px) {
  .ba-label {
    left: 12px;
    right: auto;
  }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Peyda';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://vinaderma.com/languages/en/wp-content/uploads/2026/06/PeydaWeb-Medium.woff2') format('woff2'),
		url('https://vinaderma.com/languages/en/wp-content/uploads/2026/06/PeydaWeb-Medium.woff') format('woff');
}
@font-face {
	font-family: 'Peyda';
	font-style: normal;
	font-weight: 600;
	font-display: auto;
	src: url('https://vinaderma.com/languages/en/wp-content/uploads/2026/06/PeydaWeb-Bold.woff2') format('woff2'),
		url('https://vinaderma.com/languages/en/wp-content/uploads/2026/06/PeydaWeb-Bold.woff') format('woff');
}
@font-face {
	font-family: 'Peyda';
	font-style: normal;
	font-weight: 300;
	font-display: auto;
	src: url('https://vinaderma.com/languages/en/wp-content/uploads/2026/06/peydaWeb-light.woff2') format('woff2'),
		url('https://vinaderma.com/languages/en/wp-content/uploads/2026/06/peydaWeb-light.woff') format('woff');
}
@font-face {
	font-family: 'Peyda';
	font-style: normal;
	font-weight: 900;
	font-display: auto;
	src: url('https://vinaderma.com/languages/en/wp-content/uploads/2026/06/PeydaWeb-Black.woff2') format('woff2'),
		url('https://vinaderma.com/languages/en/wp-content/uploads/2026/06/PeydaWeb-Black.woff') format('woff');
}
/* End Custom Fonts CSS */