/**
 * Theme Name:        Timche
 * Theme URI:         https://sudinoo.com
 * Description:       قالب حرفه ای تیمچه طراحی و توسعه توسط آکادمی سودینو
 * Version:           1.0.0
 * Author:            Ac Sudinoo
 * Author URI:        https://sudinoo.com
 * Text Domain:       fabled-sunset
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */


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

html {
    scroll-behavior: smooth;
}

:root {
  --primary: #1e5eff;
  --primary-dark: #1446c9;
  --navy: #0f2a6b;
  --text: #1f2a44;
  --muted: #6b7590;
  --border: #e6ebf5;
  --bg-soft: #f4f7fd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 94, 255, 0.08);
}


html, body {
    background-color: #fff;
    direction: rtl;
    font-size: 14px;
    text-align: right;
    color: var(--sec);
    line-height: 2.2em;
    font-family: 'Fontgasr', sans-serif !important;
    font-style: normal;
    -webkit-font-feature-settings: 'ss04' 1;
    -moz-font-feature-settings: 'ss04' 1;
    font-feature-settings: 'ss04' 1;
    transition: background-color 0.4s ease, color 0.4s ease;
}

@font-face {
	font-family:Fontgasr;
	src:url('fonts/Estedad-FD.woff2') format('woff2'),url('fonts/Estedad.woff2') format('woff')
}

.woocommerce-MyAccount-navigation-link a:before {
    font-family: 'Font Awesome 6 Free'!important;
    font-weight: 900;
    font-size: 16px;
    margin-left: 15px;
}

tbody {
    color: var(--sec) !important;
    transition: color 0.3s ease;
}


a {
    text-decoration: none;
	color: #405260;
	transition: color 0.3s ease;
}

[data-theme="dark"] a {
	color: #8ab3a8;
}

[data-theme="dark"] a:hover {
	color: #4a9f8a;
}

input:focus{
    outline:none;
}

.woocommerce-message:focus {
    outline:none;
}

a:hover {
    color: #405260;
}

h1 {

}

h2 {
    font-family: "Fontgasr";
    font-size: 24px;
    font-weight: 600;
    line-height: 2.5em;
    width: 100%;
    float: right;
    color: var(--sec);
    transition: color 0.3s ease;
}

li {
    list-style: none;
}

h3 {
    font-size: 20px;
    line-height: 2.5em;
    color: var(--sec);
    transition: color 0.3s ease;
}

p {
    line-height: 2.5em;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

::selection {
    background: #637789;
    color: #FFFFFF;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 0;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.btn img {
  width: 18px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(30, 94, 255, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: #fff !important;
}

.btn-block {
  width: 100%;
  padding: 12px;
  font-size: 14px;
}

/* ========== Header ========== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 24px;
    border-bottom: 1px dashed #ededed;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  white-space: nowrap;
}

.logo img {
  width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    margin-right: 30px;
}

.nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--text, #374151);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--primary, #1E5EFF);
}

.nav a.active {
    color: var(--primary, #1E5EFF);
    font-weight: 700;
}

.nav a.active::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: -23px;
    height: 2px;
    background: var(--primary, #1E5EFF);
    border-radius: 2px;
}

.header-search button {
    background: transparent;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 240px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.header-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 12px;
}

.header-search img {
  width: 18px;
}

.btn-login {
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap;
}

/* ========== Hero ========== */
.hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 420px;
    padding: 0 56px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(110deg, #e9f0ff 0%, #f5f8ff 55%, #eef4ff 100%);
    margin-top: 20px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.blob-left {
  left: -60px;
  bottom: -90px;
  width: 260px;
  height: 200px;
  background: #dfe8ff;
  opacity: 0.8;
}

.blob-right {
    right: -117px;
    top: -57px;
    width: 260px;
    height: 260px;
    background: #dfe8ff;
    opacity: 0.8;
}

.hero-text {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 640px;
  animation: fadeUp 0.8s ease both;
}

.hero-text h1 {
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--navy);
}

.hero-text p {
    margin-bottom: 34px;
    color: var(--muted);
    animation: fadeUp 0.8s 0.15s ease both;
    font-size: 17px;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s 0.3s ease both;
}

.field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 13px;
}

.field img {
  width: 18px;
}

.field input,
.field select {
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
  appearance: none;
}

.field-main {
  flex: 1.3;
  border-left: 1px solid var(--border);
}

.field-main input {
  width: 100%;
}

.field-city {
  flex: 1;
}

.field-city select {
  flex: 1;
  cursor: pointer;
}

.field .chev {
  width: 16px;
}

.btn-search {
  padding: 13px 22px;
  font-size: 14px;
  white-space: nowrap;
}

.hero-visual {
  order: -1;
  position: relative;
  flex-shrink: 0;
  align-self: flex-end;
  width: 340px;
  height: 420px;
}

.hero-doctor {
    position: absolute;
    z-index: 1;
    right: 80px;
    bottom: -30px;
    width: auto;
    height: 410px;
    mix-blend-mode: multiply;
    -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent);
    mask-image: linear-gradient(to bottom, #000 88%, transparent);
    animation: docIn 1s ease both;
}

.hero-visual {
  position: relative;
}

.float-tag {
  position: absolute;
  z-index: 3;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 8px 22px rgba(30, 94, 255, 0.15);
  animation: floatTag 5s ease-in-out infinite;
}

.float-tag::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

.tag-1 {
    top: 40%;
    right: 26px;
    animation-delay: 0s;
}
.tag-1::before {
  right: -4px;
}

.tag-2 {
    top: 48%;
    left: -100px;
    animation-delay: 1.5s;
}

.tag-2::before {
  right: -4px;
}

.tag-3 {
  bottom: 12%;
  right: px;
  animation-delay: 3s;
}

.tag-3::before {
  right: -4px;
}

@keyframes floatTag {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 900px) {
  .tag-1 {
    right: -10px;
    top: 6%;
  }

  .tag-2 {
    left: -10px;
  }

  .tag-3 {
    right: -10px;
  }
}

@media (max-width: 600px) {
  .float-tag {
    padding: 6px 10px;
    font-size: 10px;
  }

.rate {
    margin: 0 0 5px 0;
}
  .tag-1 {
    top: 15%;
    right: -20px;
}

.tag-2 {
    left: -56px;
    top: 47%;
}

  .tag-3 {
    bottom: 6%;
    right: -30px;
  }
}

/* ========== Sections ========== */
.section {
  padding: 56px 24px;
}

.title {
  position: relative;
  display: inline-block;
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
}
.subtitle {
  margin: 10px 0 30px;
  font-size: 14px;
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.section-head .subtitle {
  margin-bottom: 0;
}

.btn-outline {
  padding: 10px 18px;
  font-size: 14px;
  color: var(--primary);
  white-space: nowrap;
  background: #fff;
  border: 1.5px solid var(--primary);
}

.btn-outline img {
  width: 16px;
  transition: transform 0.25s;
}

.btn-outline:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-2px);
}

.btn-outline:hover img {
  filter: brightness(10);
  transform: translateX(-4px);
}

/* ========== Specialties ========== */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.spec:hover {
    box-shadow: var(--shadow);
    border-color: #cfdcff;
    color: #1e5eff !important;
}

.spec.reveal.in:hover {
  transform: translateY(-6px);
}

.ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 20%;
}

.ic img {
  width: 26px;
}

.ic.big {
  width: 72px;
  height: 72px;
}

.ic.big img {
  width: 34px;
}

.spec .ic {
  transition: transform 0.3s;
}

.spec:hover .ic {
  transform: scale(1.12) rotate(-6deg);
}
.spec .ic.blue {
    background-color: #0d6dfd13;
}

.band {
  background: var(--bg-soft);
}

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

.clinic {
    padding: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
}

.clinic.in:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.clinic-img-wrap {
  height: 150px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 10px;
}

.clinic-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.clinic:hover .clinic-img {
  transform: scale(1.06);
}

.clinic h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
}

.mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.mini img {
  width: 16px;
}

.cat {
  margin: 4px 36px 12px 0;
  font-size: 12px;
  color: var(--muted);
}

.loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.loc img {
    width: 16px !important;
}

.rate {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 14px;
  font-size: 13px;
}

.rate small {
  color: var(--muted);
}

.stars {
  color: #fbbf24;
  letter-spacing: 1px;
}

/* ========== Pricing ========== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.price {
  position: relative;
  padding: 25px 15px 15px 15px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.price.in:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.badge {
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 30px;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    background: #1e5eff;
    border-radius: 20px;
}

.price h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.amount {
  margin-top: 14px;
  color: var(--navy);
}

.amount b {
  font-size: 22px;
  font-weight: 900;
}

.per {
  font-size: 12px;
  color: var(--muted);
}

.valid {
  margin: 26px 0 18px;
  font-size: 13px;
  color: var(--muted);
}

.price .btn-primary {
  box-shadow: none;
}

.price.featured .btn-block {
  color: var(--primary);
  background: #fff;
  border: 2px solid var(--primary);
}

.price.featured .btn-block:hover {
  color: #fff;
  background: var(--primary);
}

/* ========== How it works ========== */
.how {
  margin-bottom: 56px;
  padding: 40px 40px 50px;
  background: linear-gradient(180deg, #eef3ff, #f6f9ff);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 24px;
  width: 100%;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  text-align: center;
}

.step .ic {
  animation: float 4s ease-in-out infinite;
}

.step h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.step p {
  font-size: 13px;
  color: var(--muted);
}

.num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 13px;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
}

.arrow {
    width: 40px;
    animation: nudge 1.6s ease-in-out infinite;
    background: #f5f8ff;
    padding: 8px;
    border-radius: 50%;
}
/* ========== Footer ========== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.f-brand p {
  margin: 10px 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #eef3ff;
  border-radius: 50%;
  transition: all 0.25s;
}

.socials a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.socials a:hover img {
  filter: brightness(10);
}

.socials img {
  width: 18px;
}

.f-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 30px;
  font-size: 13px;
  color: var(--muted);
  border-right: 1px solid var(--border);
}

.f-col h5 {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--navy);
}

.f-col a {
  transition: color 0.2s;
}

.f-col a:hover {
  color: var(--primary);
}

.f-col span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.f-col span img {
  width: 16px;
  flex-shrink: 0;
}

.copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 26px;
  font-size: 12px;
  color: var(--muted);
}

/* ========== Animations ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes docIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes nudge {
  50% {
    translate: -6px 0;
  }
}

@keyframes nudgemobile {
  50% {
    translate: 0 -6px;
  }
}

/* ========== Responsive: laptop ========== */
@media (max-width: 1140px) {
  .nav {
    gap: 22px;
  }

  .header-search {
    width: 190px;
  }

  .hero-inner {
    padding: 0 36px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-visual {
    width: 290px;
  }

  .hero-doctor {
    height: 380px;
  }

  .spec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========== Responsive: tablet ========== */
@media (max-width: 900px) {
  .nav,
  .header-search {
    display: none;
  }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 40px 28px 0;
    text-align: center;
  }

.hero-text {
    max-width: none;
    display: flex;
    flex-direction: column;
}

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-visual {
    order: 0;
    align-self: center;
    width: 430px;
    height: 340px;
    margin-top: 24px;
  }

  .hero-doctor {
    right: 50%;
    height: 340px;
    transform: translateX(50%);
    animation: none;
  }

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

.price-grid {
    row-gap: 30px;
    column-gap: 15px;
}
  .how {
    padding: 32px 24px 40px;
  }

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

  .f-col:nth-child(3) {
    border-right: 0;
    padding-right: 0;
  }
}

/* ========== Responsive: mobile ========== */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .arrow {
      width: 24px;
      animation: nudgemobile 1.6s ease-in-out infinite;
  }

    .header {
        height: 70px;
        z-index: 2;
        background: #fff;
    }


  .logo {
    font-size: 17px;
  }

  .logo img {
    width: 26px;
  }

  .btn-login {
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero-inner {
      padding: 20px;
      border-radius: 18px;
      display: flex;
      flex-direction: column-reverse;
  }

  .hero-text h1 {
    font-size: 22px;
  }

  .hero-text p {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .hero-search {
    flex-direction: column;
    align-items: stretch;
  }

  .field {
    padding: 12px 8px;
  }

  .field-main {
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-visual {
    width: 240px;
    height: 300px;
  }

  .hero-doctor {
    height: 300px;
  }

  .section {
    padding: 40px 16px;
  }

 .title {
    font-size: 21px;
    text-align: center;
}

  section#specialties .title {
    font-size: 21px;
    text-align: center;
    margin-bottom: 20px;
}

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }


  .steps {
    flex-direction: column;
    gap: 28px;
  }

  .arrow {
      transform: rotate(-90deg);
      padding: 8px;
      border-radius: 50%;
      width: 40px;
  }

  .f-col {
    padding-right: 0;
    border-right: 0;
  }

  .copy {
    flex-direction: column;
    text-align: center;
  }

  .section-head {
      flex-direction: column;
      align-items: center;
  }

  .btn-outline {
    align-self: stretch;
  }
}

a.shoro {
    background: #ffa700;
    color: #fff;
    box-shadow: 0 6px 16px rgb(255 167 0 / 38%);
    padding: 15px;
    border-radius: 10px;
    margin-right: 10px;
}

a.darman {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(30, 94, 255, 0.25);
    padding: 15px;
    border-radius: 10px;
}

.band-latest {
  background: #fff;
}

.band-latest .clinic-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.band-latest .clinic {
  padding: 12px;
}

.band-latest .clinic-img-wrap,
.band-latest .clinic-img {
  height: 180px;
}

.band-latest .clinic h3 {
  font-size: 14px;
}

.band-latest .rate {
  margin: 6px 0 12px;
}

@media (max-width: 1140px) {
  .band-latest .clinic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .band-latest .clinic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .band-latest .clinic-grid {
    grid-template-columns: 1fr;
  }

  .band-latest .clinic-img-wrap,
  .band-latest .clinic-img {
    height: 150px;
  }
}
.how .container h2.title {
    text-align: center;
    padding: 0 0 25px 0;
}

.how .container h2.title::after  {
  display: none;
}

.footercart {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;
    padding: 10px 0;
}



.site-footer {

  direction: rtl;
  color: var(--muted);
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-location { --icon: url("../icons/location.svg"); }
.icon-phone { --icon: url("../icons/phone.svg"); }
.icon-mail { --icon: url("../icons/mail.svg"); }
.icon-clock { --icon: url("../icons/clock.svg"); }
.icon-instagram { --icon: url("../icons/instagram.svg"); }
.icon-linkedin { --icon: url("../icons/linkedin.svg"); }
.icon-whatsapp { --icon: url("../icons/whatsapp.svg"); }
.icon-telegram { --icon: url("../icons/telegram.svg"); }
.icon-eitaa { --icon: url("../icons/eitaa.svg"); }
.icon-rubika { --icon: url("../icons/rubika.svg"); }
.icon-bale { --icon: url("../icons/bale.svg"); }
.icon-soroush { --icon: url("../icons/soroush.svg"); }

.footer-main {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1.9fr;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-title {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.footer-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.logo-fa {
  height: 36px;
  display: block;
}

.logo-en {
  height: 22px;
  display: block;
}

.footer-about p {
  margin: 0;
  font-size: 13px;
  line-height: 2.3;
  text-align: justify;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.footer-links a:hover {
    color: var(--primary) !important;
}

.footer-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

.footer-badge {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}

.footer-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.footer-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding-top: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.contact-item .icon {
  color: var(--primary);
}

.contact-item a:hover {
    color: var(--primary) !important;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 18px 36px;
  background: var(--primary);
  box-shadow: var(--shadow);
  color: #fff;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
}

.footer-bottom strong {
  font-weight: 800;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}

.footer-socials a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 1320px) {
  .container {
    padding: 24px 10px;
  }
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
}










.site-footer {
  direction: rtl;
  color: var(--muted);
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bullet {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--primary);
}

.footer-main {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1.9fr;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-title {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.footer-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.logo-fa {
  height: 36px;
  display: block;
}

.logo-en {
  height: 22px;
  display: block;
}

.footer-about p {
  margin: 0;
  font-size: 13px;
  line-height: 2.5;
  text-align: justify;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.footer-links a:hover {
  color: var(--primary);
}



.footer-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

.footer-badge {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}

.footer-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.footer-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding-top: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.contact-item .icon {
  color: var(--primary);
}

.contact-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 18px 36px;
  background: var(--primary);
  box-shadow: var(--shadow);
  color: #fff;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
}

.footer-bottom strong {
  font-weight: 800;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}

.footer-socials a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}


@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

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


.footer-top {

grid-template-columns: 1fr 1fr;

gap: 28px 16px;

}

.footer-about,

.footer-top > .footer-col:last-child {

grid-column: 1 / -1;

}

.footer-links a {

font-size: 13px;

gap: 8px;

}

  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
}





.soci {
  direction: rtl;
  color: var(--text);
}

.soci *,
.soci *::before,
.soci *::after {
  box-sizing: border-box;
}

.soci-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 48px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    margin-bottom: 50px;
}

.soci-box::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 94, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.soci-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.soci-title {
  margin: 18px 0 14px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--navy);
}

.soci-title span {
    color: var(--primary);
    line-height: 2;
}

.soci-text {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 2.2;
  color: var(--muted);
  text-align: justify;
}

.soci-features {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    display: grid;
    gap: 14px;
    grid-auto-flow: column;
}

.soci-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.soci-bullet {
  width: 12px;
  height: 12px;
  filter: brightness(0) saturate(100%) invert(29%) sepia(97%) saturate(3000%) hue-rotate(221deg) brightness(101%) contrast(101%);
}

.soci-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.soci-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.soci-btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow);
}

.soci-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: #fff;
}

.soci-discount {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border: 1px dashed var(--primary);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--muted);
}

.soci-discount strong {
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--primary);
}

.soci-visual {
  position: relative;
  z-index: 1;
}


.soci-card-main {
  padding: 0;
}

.soci-card-main img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: unset;
    border-radius: 30% 50px;
}

.soci-card-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 22px;
  background: var(--primary);
  border: none;
  color: #fff;
}

.soci-card-badge strong {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.soci-card-badge span {
  font-size: 12px;
}

@media (max-width: 1320px) {
  .container {
    padding: 24px 10px;
  }
}

@media (max-width: 900px) {
  .soci-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 40px;
  }

  .soci-visual {
    order: -1;
  }

  .soci-card-badge {
    right: 12px;
  }
}

@media (max-width: 600px) {
  .soci-title {
    font-size: 22px;
  }

  .soci-actions {
    flex-direction: column;
    align-items: stretch;
  }

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


























@charset "UTF-8";
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

.tp-page {
  --tp-primary: #1e5eff;
  --tp-primary-dark: #1446c9;
  --tp-navy: #0f2a6b;
  --tp-text: #1f2a44;
  --tp-muted: #6b7590;
  --tp-border: #e6ebf5;
  --tp-bg-soft: #f4f7fd;
  --tp-radius: 14px;
  --tp-shadow: 0 10px 30px rgba(30, 94, 255, 0.08);
}

:where(.tp-page) *,
:where(.tp-page) *::before,
:where(.tp-page) *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


:where(.tp-page) a {
  text-decoration: none;
  color: inherit;
}

:where(.tp-page) button,
:where(.tp-page) input,
:where(.tp-page) textarea {
  font-family: inherit;
}

:where(.tp-page) svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.tp-contact-box svg.icon {
    stroke: unset;
}

.tp-page svg.tp-fill {
  fill: currentColor;
  stroke: none;
}

.tp-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  color: var(--tp-text);
  line-height: 1.9;
  font-size: 14px;
  direction: rtl;
}

.tp-card {
  background: #fff;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow);
  padding: 24px;
}

.tp-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--tp-navy);
  margin-bottom: 18px;
}

.tp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 16px;
}

.tp-hero-info {
  padding: 8px 8px 8px 0;
}

.tp-badge {
  display: inline-block;
  background: var(--tp-bg-soft);
  color: var(--tp-primary);
  border: 1px solid var(--tp-border);
  border-radius: 999px;
  padding: 2px 14px;
  font-size: 12px;
  font-weight: 500;
}

.tp-hero-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--tp-navy);
  margin: 10px 0 4px;
}

.tp-hero-subtitle {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.tp-hero-desc {
  color: var(--tp-muted);
  max-width: 100%;
  margin-bottom: 28px;
}

.tp-hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.tp-btn-appointment {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--tp-primary);
    color: #fff;
    border-radius: var(--tp-radius);
    padding: 12px 22px;
    box-shadow: 0 10px 24px rgba(30, 94, 255, 0.25);
    transition: background 0.2s, transform 0.2s;
    justify-content: flex-start !important;
}

.tp-btn-appointment:hover {
    background: var(--tp-primary-dark);
    transform: translateY(-2px);
    color: #fff;
}

.tp-btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
}

.tp-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

.tp-btn-text strong {
  font-size: 15px;
}

.tp-btn-text small {
  font-size: 12px;
  opacity: 0.85;
}

.tp-hero-location {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
}

.tp-hero-location strong {
  display: block;
}

.tp-hero-location small {
  color: var(--tp-muted);
  font-size: 12px;
}

.tp-loc-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tp-bg-soft);
  color: var(--tp-primary);
  display: grid;
  place-items: center;
}

.tp-hero-slider {
  position: relative;
  border-radius: var(--tp-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.tp-hero-slider input {
  display: none;
}

.tp-slides {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.tp-slides img {
  width: calc(100% / 3);
  height: 100%;
  object-fit: cover;
  display: block;
}

.tp-hero-slider::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(15, 42, 107, 0.45), transparent);
  pointer-events: none;
}

#tp-s2:checked ~ .tp-slides {
  transform: translateX(calc(100% / 3));
}

#tp-s3:checked ~ .tp-slides {
  transform: translateX(calc(200% / 3));
}

.tp-slider-nav {
  display: none;
}

#tp-s1:checked ~ .tp-nav-1,
#tp-s2:checked ~ .tp-nav-2,
#tp-s3:checked ~ .tp-nav-3 {
  display: block;
}

.tp-slider-btn {
  z-index: 2;
  transition: transform 0.2s;
}

.tp-slider-btn:hover {
  transform: scale(1.1);
}

.tp-slider-btn {
  position: absolute;
  bottom: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--tp-navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--tp-shadow);
}

.tp-slider-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.tp-slider-btn.tp-prev {
  right: 14px;
}

.tp-slider-btn.tp-next {
  left: 14px;
}

.tp-slider-dots,
.tp-review-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.tp-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.tp-slider-dots label {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

#tp-s1:checked ~ .tp-slider-dots label[for="tp-s1"],
#tp-s2:checked ~ .tp-slider-dots label[for="tp-s2"],
#tp-s3:checked ~ .tp-slider-dots label[for="tp-s3"] {
  width: 22px;
  background: #fff;
}

.tp-review-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.tp-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.tp-service-item {
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  padding: 22px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tp-service-item:hover {
  border-color: var(--tp-primary);
  box-shadow: var(--tp-shadow);
  transform: translateY(-3px);
}

.tp-service-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--tp-bg-soft);
  color: var(--tp-navy);
  display: grid;
  place-items: center;
}

.tp-service-icon svg {
  width: 24px;
  height: 24px;
}

.tp-service-item p {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
}

.tp-content-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
  align-items: start;
}

.tp-main-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tp-about p {
    color: var(--tp-muted);
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 400;
}
.tp-credentials {
  background: var(--tp-bg-soft);
  border-radius: var(--tp-radius);
  padding: 18px 22px;
  margin-top: 18px;
}

.tp-credentials h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tp-navy);
  font-size: 15px;
  margin-bottom: 10px;
}

.tp-credentials ul {
  list-style: none;
}

.tp-credentials li {
  position: relative;
  padding-right: 22px;
  font-size: 13px;
  margin-bottom: 4px;
}

.tp-credentials li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--tp-primary);
  font-weight: 700;
}

.tp-review-card {
  display: flex;
  gap: 14px;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  padding: 18px;
  margin-bottom: 16px;
}

.tp-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tp-bg-soft);
  color: var(--tp-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tp-stars {
  color: #f5b301;
  letter-spacing: 2px;
  font-size: 16px;
}

.tp-review-body p {
  font-size: 13px;
  margin: 4px 0 8px;
}

.tp-review-body strong {
  display: block;
  font-size: 12px;
}

.tp-review-body small {
  color: var(--tp-muted);
  font-size: 12px;
}

.tp-review-dots span {
  background: var(--tp-border);
}

.tp-review-dots span.tp-active {
  background: var(--tp-primary);
}

.tp-review-form h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tp-navy);
  font-size: 15px;
}

.tp-form-hint {
  color: var(--tp-muted);
  font-size: 12px;
  margin-bottom: 14px;
}

.tp-review-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tp-review-form textarea,
.tp-input-icon {
  border: 1px solid var(--tp-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s;
}

.tp-review-form textarea {
  min-height: 90px;
  padding: 12px 14px;
  resize: vertical;
  font-size: 13px;
  color: var(--tp-text);
  outline: none;
}

.tp-review-form textarea:focus,
.tp-input-icon:focus-within {
  border-color: var(--tp-primary);
}

.tp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tp-input-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--tp-muted);
}

.tp-input-icon input {
  border: none;
  outline: none;
  width: 100%;
  padding: 11px 0;
  font-size: 13px;
  color: var(--tp-text);
  background: transparent;
}

.tp-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tp-navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.tp-btn-submit:hover {
  background: var(--tp-primary-dark);
}

.tp-contact-box {
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
}

.tp-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--tp-border);
}

.tp-contact-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--tp-navy);
}

.tp-btn-small {
  background: var(--tp-primary);
  color: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}

.tp-btn-small:hover {
    background: var(--tp-primary-dark);
    color: #fff;
}

.tp-contact-row.tp-address {
  justify-content: flex-start;
  align-items: flex-start;
  color: var(--tp-navy);
}

.tp-contact-row.tp-address p {
  font-size: 13px;
  color: var(--tp-text);
}

.tp-contact-row.tp-address small {
  color: var(--tp-muted);
  font-size: 12px;
}

.tp-socials {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}

.tp-social {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}

.tp-social svg {
  width: 16px;
  height: 16px;
}

.tp-social.tp-telegram {
  background: var(--tp-primary);
}

.tp-social.tp-whatsapp {
  background: var(--tp-navy);
}

.tp-map {
  position: relative;
  border-radius: var(--tp-radius);
  overflow: hidden;
  height: 230px;
  border: 1px solid var(--tp-border);
}

.tp-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tp-map-link {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tp-navy);
  box-shadow: var(--tp-shadow);
}

.tp-map-link svg {
  width: 16px;
  height: 16px;
}

.tp-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.tp-hours-list {
  list-style: none;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  overflow: hidden;
}

.tp-hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--tp-border);
}

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

.tp-hours-list span {
  font-weight: 600;
  color: var(--tp-navy);
}

.tp-hours-list strong {
  font-weight: 500;
  color: var(--tp-text);
  font-size: 14px;
}

.tp-hours-list li.tp-closed strong {
  color: #e5484d;
  font-weight: 700;
}

.tp-hours-list .tp-day {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-hours-list .tp-today-tick {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
  flex-shrink: 0;
}

.tp-hours-list li.tp-today {
  background: rgba(22, 163, 74, 0.07);
  box-shadow: inset -3px 0 0 #16a34a;
}

.tp-hours-list li.tp-today .tp-today-tick {
  display: inline-block;
}

.tp-hours-list li.tp-today .tp-day,
.tp-hours-list li.tp-today strong {
  color: #15803d;
  font-weight: 700;
}

.tp-hours-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--tp-muted);
}

@media (max-width: 1024px) {
  .tp-hero,
  .tp-content-grid {
    grid-template-columns: 1fr;
  }

  .tp-hero-slider {
    order: -1;
  }

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

@media (max-width: 640px) {
  .tp-page {
    gap: 14px;
  }

  .tp-card {
    padding: 16px;
  }

  .tp-hero-title {
    font-size: 24px;
  }

  .tp-hero-actions {
    gap: 18px;
  }

  .tp-btn-appointment {
    width: 100%;
    justify-content: center;
  }

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

  .tp-form-row {
    grid-template-columns: 1fr;
  }
}

.mini img {
    width: 16px !important;
}















.archive-header {
    background-color: #f4f8fd;
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid #e1e8f0;
}
.archive-header .title2 {
    margin: 0 0 8px 0;
    font-size: 26px;
    color: #1a202c;
    font-weight: 800;
}
.archive-header .subtitle {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}
.mobile-filter-btn {
    display: none;
    width: 100%;
    padding: 12px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.archive-layout {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.archive-sidebar {
    width: 330px;
    flex-shrink: 0;
}
.filter-box {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 20px;
}
.filter-section {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.filter-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}
.filter-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filter-box li {
    margin-bottom: 12px;
}
.filter-box li a {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
}
.filter-box li a.active-filter {
    font-weight: bold;
    color: #0d6efd;
}
.filter-box li a span.count {
    background: #0d6efd;
    padding: 5px;
    border-radius: 5px;
    font-size: 11px;
    color: #ffffff;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230d6efd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    background-size: 14px;
    padding-left: 38px;
    padding-right: 12px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.filter-select::-ms-expand {
    display: none;
}

.filter-select:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fcfcfc;
    color: #333;
    font-family: inherit;
    outline: none;
    margin-bottom: 10px;
}
.filter-select:focus {
    border-color: #0d6efd;
}
.filter-submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: background 0.3s;
}
.filter-submit-btn:hover {
    background-color: #0b5ed7;
}
.archive-content {
    flex: 1;
    min-width: 300px;
}
.archive-content .clinic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* مدال فیلتر موبایل */
.filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.filter-modal.active {
    display: flex;
}
.filter-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 20px;
}
.filter-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    line-height: 1;
}

@media (max-width: 992px) {
    .archive-content .clinic-grid {
        grid-template-columns: repeat(2fr, 1fr);
    }
    .mobile-filter-btn {
        display: flex;
    }
    .archive-sidebar {
        display: none;
    }
    .filter-box {
        position: static;
        border: none;
        padding: 0;
    }
}

.stories.carousel {
    margin-top: 20pxt;
}

@media (max-width: 576px) {
    .archive-content .clinic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .archive-content .clinic h3 {
        font-size: 13px;
    }
    .archive-content .clinic .loc,
    .archive-content .clinic .btn {
        font-size: 11px;
    }
    .archive-content .clinic .mini {
        display: none;
    }
    .soci-features {
        grid-auto-flow: row;
    }
.footercart {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
    padding: 10px 0;
}
    
  .clinic h3 {
      gap: 5px;
      font-size: 12px;
  }
.band-latest .clinic h3 {
    font-size: 12px;
    gap: 5px;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    overflow: hidden;
    display: flex;
}
  .container-header {
    padding: 0 20px !important;
  }
  .loc {
    font-size: 9px;
  }
  .rate {
      margin: 0 0 5px 0;
  }
.herbt a.darman {
    flex-grow: 1;
}

.herbt a.shoro {
    flex-grow: 1;
}
.herbt {
    display: flex;
    align-items: center;
    justify-content: center;
}
.archive-header .title2 {
    font-size: 20px;
}
.btn-block {
    padding: 5px;
}
.btn-outline {
    background: none;
    border: none;
    padding: 0;
}
.title {
    padding-bottom: 0;
}
section.hero.container {
    padding: 0;
    margin: 0;
}
.hero-inner {
    padding: 85px 20px 75px 20px;
    border-radius: 0;
    margin-top: 0;
    height: auto;
    gap: 40px;
    position: relative;
    margin-top: -138px;
    z-index: 1;
}

p.subtitle {
    text-align: center;
}
.footer-badges {
    justify-content: center;
}
.btn-outline:hover {
    color: #1e5eff;
    background: unset;
}
.btn-outline:hover img {
    filter: unset;
}
.timche-meta-icon {
    width: 15px !important;
    height: 15px !important;
}
.timche-meta-row .loc {
    font-size: 9px !important;
}
.timche-meta-icon svg {
    width: 10px !important;
    height: 10px !important;
}
.timche-seller-badge {
    top: 0 !important;
    right: 0 !important;
    box-shadow: unset !important;
    border-bottom: 1px solid var(--border);
    border-radius: 0 10px !important;
    border-left: 1px solid var(--border);
}
.timche-meta-row {
    gap: 5px;
}
.timche-seller-badge {
    box-shadow: unset;
}
.stories.carousel {
    margin-top: 7px;
}
}

span.ic.big.purple-soft {
    background: #1e5eff21;
    border-radius: 10px;
}
span.ic.big.green {
    background: #16a37f1f;
    border-radius: 10px;
}
span.ic.big.blue {
    background: #1e5eff21;
    border-radius: 10px;
}



.broad {
    height: 60px;
    border: 1px solid #ededed;
    background: var(--gap-shop-bg);
    border-radius: 10px;
    box-shadow: unset;
}
.rank-math-breadcrumb {
    background: var(--backtwo);
    width: 100%;
    padding: 3px;
    border-radius: 10px;
    position: relative;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: clip;
    scrollbar-width: none;
    scrollbar-color: var(--backtwo) transparent;
    display: flex;
}
.rank-math-breadcrumb a:first-child {
    color: var(--gap-shop-icon);
    padding: 2px 10px;
    margin-right: 5px;
    font-weight: 500;
}
.rank-math-breadcrumb a
{
	padding:2px 25px;
	margin-right:10px;
	float:right;
	line-height:50px;
	font-size:16px;
	position:relative;
	color:var(--mytextcolor);
	font-weight:600
}
.rank-math-breadcrumb .last {
    padding: 0 25px;
    font-size: 16px;
    line-height: 50px;
    color: var(--hoverreng);
    font-weight: 600;
    margin-right: 10px;
}
.rank-math-breadcrumb li:first-child a
{
	padding-right:1em;
	border-radius:20px 0 0 20px
}
.rank-math-breadcrumb a:hover
{
	color:var(--hoverreng);
}
.rank-math-breadcrumb a::after,.rank-math-breadcrumb a::before
{
	content:"";
	position:absolute;
	top:50%;
	margin-top:-2em;
	border-top:2em solid transparent;
	border-bottom:2em solid transparent;
	border-right:1.1em solid;
	left:-1em
}
.rank-math-breadcrumb a::after {
    z-index: 1;
    border-right-color: #ffffff;
}
.rank-math-breadcrumb a::before
{
	border-right-color:var(--product-btn-footer-border);
	left:-1.1em;
	z-index:1
}
.rank-math-breadcrumb a::before {
    border-right-color: #ededed;
    left: -1.1em;
    z-index: 1;
}
.rank-math-breadcrumb a::after {
    z-index: 1;
    border-right-color: #ffffff;
}
























.clinic-sub-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    background: #fff;
    margin-top: 20px;
}

.clinic-sub-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 15px;
    vertical-align: middle;
}

.clinic-sub-table tr:last-child td {
    border-bottom: none;
}

.clinic-sub-table td:first-child {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #555;
    width: 35%;
    border-left: 1px solid #f0f0f0;
}

.clinic-sub-table td:last-child {
    font-weight: 500;
    background-color: #fff;
}

.clinic-sub-table .status-active {
    color: #10b981;
    font-weight: bold;
}



.clinic-verify-form p {
    margin-bottom: 15px;
}

.clinic-verify-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.clinic-verify-form input[type=text] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 2px;
    font-weight: bold;
    font-family: inherit;
}

.clinic-verify-form input[type=text]:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.clinic-btn {
    width: 100%;
    background: #0d6efd;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}

.clinic-btn:hover {
    background: #0b5ed7;
}

.clinic-msg {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.clinic-msg.success {
    background: #d1fae5;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

.clinic-msg.error {
    background: #fdecea;
    color: #f44336;
    border: 1px solid #f5c6cb;
}

.clinic-history-title {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.clinic-code-badge {
    background: #0d6efd0f;
    padding: 0 10px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: bold;
    color: #0d6efd;
}
.clinic-empty-state {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    color: #666;
    border: 1px dashed #ccc;
    margin-top: 20px;
}


.clinic-form {
    width: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.clinic-form h3 {
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.clinic-form h3:first-of-type {
    margin-top: 0;
}

.clinic-form p {
    margin-bottom: 18px;
}

.clinic-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
    font-size: 14px;
}

.clinic-form input[type=text],
.clinic-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s;
    background: #fafafa;
    font-size: 14px;
}

.clinic-form input[type=text]:focus,
.clinic-form textarea:focus {
    border-color: #0d6efd;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.clinic-form input[type=submit],
.clinic-form button {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}

.clinic-form input[type=submit]:hover,
.clinic-form button:hover {
    background: #0b5ed7;
}

.clinic-form input[type=file] {
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    width: 100%;
    background: #fafafa;
    cursor: pointer;
}

.clinic-hours-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.clinic-hours-table th,
.clinic-hours-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: right;
}

.clinic-hours-table tr:last-child td {
    border-bottom: none;
}

.clinic-hours-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.clinic-hours-table input[type=text] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    background: #fff;
}

.clinic-hours-table td.center {
    text-align: center;
}

.clinic-services-list .service-row {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fafafa;
}

.clinic-services-list input[type=text],
.clinic-services-list textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    background: #fff;
    font-family: inherit;
}

.clinic-remove-service {
    color: #dc3545;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
}

.clinic-remove-service:hover {
    text-decoration: underline;
}

.clinic-cover-preview {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.clinic-cover-preview img {
    max-width: 200px;
    height: auto;
    display: block;
}

.clinic-cover-preview .cover-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.clinic-cover-preview .cover-remove:hover {
    background: #c82333;
}

.clinic-gallery-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.clinic-gallery-preview .gal-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.clinic-gallery-preview .gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-gallery-preview .gal-item .gal-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 22px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s;
}

.clinic-gallery-preview .gal-item .gal-remove:hover {
    background: #c82333;
}

#clinic-map {
    height: 350px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    z-index: 1;
}

.clinic-map-search {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.clinic-map-search input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}

.clinic-map-search button {
    padding: 10px 25px;
    background: #1e5eff;
    border: 1px solid #1e5eff;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}
.clinic-map-search button:hover {
    background: #e9ecef;
}

.clinic-map-coords {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
}

.clinic-msg {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 14px;
}

.clinic-msg.success {
    background: #d1fae5;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

.clinic-msg.error {
    background: #fdecea;
    color: #f44336;
    border: 1px solid #f5c6cb;
}

.clinic-msg.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}


.clinic-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .clinic-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.clinic-register-box {
    max-width: 700px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    margin-top: 20px;
}

.clinic-register-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.clinic-register-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.clinic-register-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.clinic-register-table tr:last-child td {
    border-bottom: none;
}

.clinic-register-table td:first-child {
    font-weight: bold;
    color: #555;
    background-color: #f8f9fa;
    width: 35%;
}

.clinic-register-table td:last-child {
    color: #333;
    background-color: #fff;
}

.clinic-btn {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
    width: 100%;
}

.clinic-btn:hover {
    background: #0b5ed7;
}

.clinic-msg {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 14px;
}

.clinic-msg.success {
    background: #d1fae5;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

.clinic-msg.error {
    background: #fdecea;
    color: #f44336;
    border: 1px solid #f5c6cb;
}

.clinic-msg.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}


li.woocommerce-MyAccount-navigation-link--clinic-info a::before {
    content: "\f0f6";
    font-family: "FontAwesome";
    font-weight: 900;
    color: var(--primary, #0d6efd);
    margin-left: 8px;
}

li.woocommerce-MyAccount-navigation-link--clinic-register a::before {
    content: "\f1ad";
    font-family: "FontAwesome";
    font-weight: 900;
    color: var(--primary, #0d6efd);
    margin-left: 8px;
}

li.woocommerce-MyAccount-navigation-link--clinic-subscription a::before {
    content: "\f0a3";
    font-family: "FontAwesome";
    font-weight: 900;
    color: var(--primary, #0d6efd);
    margin-left: 8px;
}

li.woocommerce-MyAccount-navigation-link--clinic-verify-code a::before {
    content: "\f00c";
    font-family: "FontAwesome";
    font-weight: 900;
    color: var(--primary, #0d6efd);
    margin-left: 8px;
}

li.woocommerce-MyAccount-navigation-link--clinic-pricing a::before {
    content: "\f02d";
    font-family: "FontAwesome";
    font-weight: 900;
    color: var(--primary, #0d6efd);
    margin-left: 8px;
}

li.woocommerce-MyAccount-navigation-link--clinic-featured a::before {
    content: "\f005";
    font-family: "FontAwesome";
    font-weight: 900;
    color: #f59e0b;
    margin-left: 8px;
}

.clinic-custom-orders-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    direction: rtl;
    font-family: inherit;
    box-sizing: border-box;
}
.clinic-custom-orders-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.clinic-custom-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: #eff6ff;
    border-radius: 14px;
    color: #0d6efd;
}
.clinic-custom-header-text {
    flex: 1;
    min-width: 0;
}
.clinic-custom-header-title {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
}
.clinic-custom-header-subtitle {
    margin: 0;
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.7;
}
.clinic-custom-header-count {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #eff6ff;
    color: #0d6efd;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.clinic-custom-orders-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.clinic-custom-order-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.clinic-custom-order-card:hover {
    border-color: #c7d2fe;
    transform: translateY(-1px);
}
.clinic-custom-order-card.clinic-is-expired {
    background: #fafbfc;
}
.clinic-custom-order-card.clinic-is-expired:hover {
    border-color: #f0c0c0;
}
.clinic-custom-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background: #f8f9fb;
    border-bottom: 1px solid #f0f0f1;
    flex-wrap: wrap;
}
.clinic-custom-order-card.clinic-is-expired .clinic-custom-card-head {
    background: #fdf6f6;
    border-bottom-color: #f2d4d4;
}
.clinic-custom-card-id {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1f2937;
}
.clinic-custom-card-id svg {
    color: #0d6efd;
}
.clinic-custom-card-status {
    display: flex;
    align-items: center;
}
.clinic-custom-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
}
.clinic-custom-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.clinic-custom-status-active {
    background: #ecfdf5;
    color: #059669;
}
.clinic-custom-status-active::before {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.clinic-custom-status-expired {
    background: #fef2f2;
    color: #dc2626;
}
.clinic-custom-status-expired::before {
    background: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.clinic-custom-card-body {
    display: flex;
    flex-direction: column;
    padding: 6px 16px 10px;
    flex: 1;
}
.clinic-custom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #f1f3f5;
    font-size: 0.82rem;
}
.clinic-custom-row:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}
.clinic-custom-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
    font-size: 0.78rem;
}
.clinic-custom-label svg {
    color: #9ca3af;
}
.clinic-custom-value {
    color: #1f2937;
    font-weight: 600;
    text-align: left;
    word-break: break-word;
    font-size: 0.82rem;
}
.clinic-custom-code {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: #eff6ff;
    color: #0d6efd;
    border-radius: 7px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    direction: ltr;
}
.clinic-custom-code-expired {
    background: #fef2f2;
    color: #dc2626;
    text-decoration: line-through;
}
.clinic-custom-empty-code {
    color: #9ca3af;
    font-size: 0.78rem;
}
.clinic-custom-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
}
.clinic-custom-date.clinic-date-expired {
    color: #dc2626;
}

/* استایل حالت خالی با فورس کردن !important */
.clinic-custom-empty-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 2px dashed #c7d2fe !important;
    border-radius: 20px !important;
    padding: 60px 20px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
.clinic-custom-empty-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 90px !important;
    height: 90px !important;
    background: #eff6ff !important;
    border-radius: 50% !important;
    margin-bottom: 24px !important;
    color: #0d6efd !important;
}
.clinic-custom-empty-title {
    margin: 0 0 12px 0 !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #1f2937 !important;
    line-height: 1.5 !important;
}
.clinic-custom-empty-desc {
    margin: 0 0 28px 0 !important;
    font-size: 0.95rem !important;
    color: #6b7280 !important;
    line-height: 1.8 !important;
    max-width: 400px !important;
}
.clinic-custom-empty-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 28px !important;
    background: #0d6efd !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3) !important;
}
.clinic-custom-empty-btn:hover {
    background: #0b5ed7 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4) !important;
    color: #ffffff !important;
}

.clinic-custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.clinic-custom-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #4b5563;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1;
}
.clinic-custom-page-btn:hover {
    background: #eff6ff;
    border-color: #0d6efd;
    color: #0d6efd;
    transform: translateY(-1px);
}
.clinic-custom-page-current {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    cursor: default;
}
.clinic-custom-page-current:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    transform: none;
}
.clinic-custom-page-prev,
.clinic-custom-page-next {
    font-weight: 700;
}
.clinic-custom-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 36px;
    color: #9ca3af;
    font-weight: 700;
    font-size: 0.9rem;
}
@media (max-width: 1024px) {
    .clinic-custom-orders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .clinic-custom-orders-grid {
        grid-template-columns: 1fr;
    }
    .clinic-custom-orders-header {
        padding: 18px 16px;
        border-radius: 14px;
        flex-wrap: wrap;
    }
    .clinic-custom-header-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .clinic-custom-header-title {
        font-size: 1rem;
    }
    .clinic-custom-header-subtitle {
        font-size: 0.76rem;
    }
    .clinic-custom-header-count {
        font-size: 0.7rem;
        padding: 3px 9px;
    }
    .clinic-custom-card-head {
        padding: 10px 14px;
    }
    .clinic-custom-card-body {
        padding: 6px 14px 8px;
    }
    .clinic-custom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 0;
    }
    .clinic-custom-value {
        text-align: right;
        width: 100%;
    }
    .clinic-custom-code {
        font-size: 0.76rem;
    }
    .clinic-custom-empty-box {
        padding: 40px 20px !important;
    }
    .clinic-custom-empty-icon {
        width: 72px !important;
        height: 72px !important;
    }
    .clinic-custom-empty-title {
        font-size: 1rem !important;
    }
    .clinic-custom-empty-desc {
        font-size: 0.8rem !important;
    }
    .clinic-custom-pagination {
        gap: 4px;
        margin-top: 18px;
    }
    .clinic-custom-page-btn {
        min-width: 32px;
        height: 32px;
        padding: 0 9px;
        font-size: 0.78rem;
    }
    .clinic-custom-page-dots {
        height: 32px;
        min-width: 20px;
    }
}

.clinic-verify-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    direction: rtl;
    font-family: inherit;
    box-sizing: border-box;
}
.clinic-verify-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 36px 28px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    box-sizing: border-box;
}
.clinic-verify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #eff6ff;
    border-radius: 50%;
    margin-bottom: 16px;
}
.clinic-verify-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: #0d6efd;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.clinic-verify-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
    line-height: 1.5;
}
.clinic-verify-subtitle {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.9;
    margin: 0 0 24px;
}
.clinic-verify-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
}
.clinic-verify-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.clinic-verify-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    font-size: 1.05rem;
    color: #0d6efd;
    background: #f8f9fb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: center;
    letter-spacing: 4px;
    font-weight: 700;
    direction: ltr;
}
.clinic-verify-field input:focus {
    background: #fff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}
.clinic-verify-field input::placeholder {
    color: #cbd5e1;
    letter-spacing: 0;
    font-weight: 500;
    font-size: 0.9rem;
}
.clinic-verify-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.25);
    font-family: inherit;
}
.clinic-verify-btn:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}
.clinic-verify-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.clinic-history-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 24px 24px 20px;
    box-sizing: border-box;
}
.clinic-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f3f5;
}
.clinic-history-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}
.clinic-history-title svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #0d6efd;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.clinic-history-count {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #eff6ff;
    color: #0d6efd;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* تغییر اصلی: دو ستونه کردن تاریخچه */
.clinic-history-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.clinic-history-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
}
.clinic-history-item:hover {
    border-color: #c7d2fe;
    transform: translateY(-1px);
}
.clinic-history-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: #ecfdf5;
    border-radius: 50%;
}
.clinic-history-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #10b981;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.clinic-history-info {
    flex: 1;
    min-width: 0;
}
.clinic-history-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.clinic-history-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.5;
}

.clinic-history-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
    flex-shrink: 0;
}
.clinic-history-date svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.clinic-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f1f3f5;
    flex-wrap: wrap;
}
.clinic-pagination a,
.clinic-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4b5563;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
}
.clinic-pagination a:hover {
    background: #eff6ff;
    border-color: #0d6efd;
    color: #0d6efd;
}
.clinic-pagination .current {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
.clinic-empty-state {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    padding: 40px 24px;
    text-align: center;
    box-sizing: border-box;
}
.clinic-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #f8f9fb;
    border-radius: 50%;
    margin-bottom: 14px;
}
.clinic-empty-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #9ca3af;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.clinic-empty-state p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.9;
}
.clinic-msg {
    width: 100%;
    margin: 0 0 18px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.9;
    border-right: 4px solid transparent;
    direction: rtl;
    box-sizing: border-box;
}
.clinic-msg.success {
    background: #ecfdf5;
    color: #065f46;
    border-right-color: #10b981;
}
.clinic-msg.error {
    background: #fef2f2;
    color: #991b1b;
    border-right-color: #ef4444;
}

/* در موبایل یک ستونه شود */
@media (max-width: 768px) {
    .clinic-history-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .clinic-verify-card {
        padding: 28px 18px 22px;
        border-radius: 14px;
    }
    .clinic-verify-icon {
        width: 56px;
        height: 56px;
    }
    .clinic-verify-icon svg {
        width: 28px;
        height: 28px;
    }
    .clinic-verify-title {
        font-size: 1.1rem;
    }
    .clinic-verify-field input {
        font-size: 0.95rem;
        padding: 12px 14px;
    }
    .clinic-verify-btn {
        padding: 12px 20px;
        font-size: 0.88rem;
    }
    .clinic-history-section {
        padding: 18px 16px 16px;
        border-radius: 14px;
    }
    .clinic-history-item {
        padding: 12px 12px;
        gap: 10px;
        flex-wrap: wrap;
    }
    .clinic-history-icon {
        width: 34px;
        height: 34px;
    }
    .clinic-history-icon svg {
        width: 16px;
        height: 16px;
    }
    .clinic-history-name {
        font-size: 0.86rem;
    }
    .clinic-history-date {
        font-size: 0.74rem;
        width: 100%;
        margin-top: 4px;
        padding-top: 8px;
        border-top: 1px dashed #e5e7eb;
    }
    .clinic-history-count {
        font-size: 0.7rem;
        padding: 3px 9px;
    }
}



.creg-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: rtl !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}
.creg-card {
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 16px !important;
    padding: 28px !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    text-align: center !important;
    box-shadow: none !important;
}
/* .creg-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 5px !important;
    background: linear-gradient(90deg, #0d6efd 0%, #10b981 100%) !important;
} */
.creg-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    text-align: right !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #f1f3f5 !important;
}
.creg-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    flex-shrink: 0 !important;
    background: #eff6ff !important;
    border-radius: 14px !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
}
.creg-header .creg-icon {
    margin: 0 !important;
}
.creg-icon svg {
    width: 26px !important;
    height: 26px !important;
    fill: none !important;
    stroke: #0d6efd !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.creg-icon-success {
    background: #ecfdf5 !important;
}
.creg-icon-success svg {
    stroke: #10b981 !important;
    stroke-width: 2.5 !important;
}
.creg-icon-warning {
    background: #fffbeb !important;
}
.creg-icon-warning svg {
    stroke: #f59e0b !important;
}
.creg-header-text {
    flex: 1 !important;
    min-width: 0 !important;
}
.creg-title {
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    line-height: 1.5 !important;
    border: none !important;
}
.creg-desc {
    margin: 0 !important;
    padding: 10px !important;
    font-size: 0.85rem !important;
    color: #6b7280 !important;
    line-height: 1.9 !important;
    border: none !important;
}
.creg-table {
    background: #f8f9fb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 6px 18px !important;
    margin-bottom: 22px !important;
    text-align: right !important;
}
.creg-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    font-size: 0.88rem !important;
    background: none !important;
}
.creg-row:last-child {
    border-bottom: none !important;
}
.creg-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
}
.creg-label svg {
    width: 15px !important;
    height: 15px !important;
    fill: none !important;
    stroke: #9ca3af !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    margin: 0 !important;
}
.creg-value {
    color: #1f2937 !important;
    font-weight: 600 !important;
    text-align: left !important;
    word-break: break-word !important;
}
.creg-form {
    margin: 0 !important;
    padding: 0 !important;
}
.creg-actions {
    display: flex !important;
    justify-content: center !important;
}
.creg-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 13px 28px !important;
    background: #0d6efd !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.25) !important;
    line-height: 1.6 !important;
}
.creg-btn:hover {
    background: #0b5ed7 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35) !important;
    color: #fff !important;
}
.creg-btn svg {
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    margin: 0 !important;
}
.creg-msg {
    margin: 18px 0 !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    line-height: 1.9 !important;
    border-right: 4px solid transparent !important;
    text-align: right !important;
    box-sizing: border-box !important;
}
.creg-msg-success {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border-right-color: #10b981 !important;
}
.creg-msg-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-right-color: #ef4444 !important;
}
@media (max-width: 500px) {
    .creg-card {
        padding: 22px 18px !important;
        border-radius: 14px !important;
    }
    .creg-header {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    .creg-icon {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        border-radius: 12px !important;
    }
    .creg-icon svg {
        width: 22px !important;
        height: 22px !important;
    }
    .creg-title {
        font-size: 1rem !important;
    }
    .creg-table {
        padding: 4px 14px !important;
    }
    .creg-row {
        font-size: 0.82rem !important;
        padding: 12px 0 !important;
    }
    .creg-btn {
        width: 100% !important;
    }
}







/* استایل‌های اختصاصی صفحه تبلیغات ویژه */
.clinic-feat-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    direction: rtl;
    font-family: inherit;
    box-sizing: border-box;
}

.clinic-feat-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.clinic-feat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
}

.clinic-feat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f3f5;
}

.clinic-feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: #fffbeb;
    border-radius: 14px;
}

.clinic-feat-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #f59e0b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinic-feat-title {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
}

.clinic-feat-subtitle {
    margin: 0;
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.7;
}

.clinic-feat-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: auto;
}

.clinic-feat-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.clinic-feat-progress {
    margin-bottom: 22px;
}

.clinic-feat-progress-bar {
    width: 100%;
    height: 10px;
    background: #f1f3f5;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.clinic-feat-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #fcd34d 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.clinic-feat-progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
}

.clinic-feat-progress-label span:last-child {
    color: #f59e0b;
    font-weight: 700;
}

.clinic-feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.clinic-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.clinic-feat-item-wide {
    grid-column: 1 / -1;
}

.clinic-feat-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.clinic-feat-item-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #f59e0b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinic-feat-item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.clinic-feat-item-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.5;
}

.clinic-feat-item-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.5;
}

/* استایل کارت‌های تعرفه تبلیغات */
.clinic-feat-pricing-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}


.clinic-feat-pricing-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: #fffbeb;
    border-radius: 14px;
}

.clinic-feat-pricing-header-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #f59e0b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinic-feat-grid-plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.clinic-feat-plan-card {
    background: #fff;
    border: 1.5px solid #e9ecef;
    border-radius: 16px;
    padding: 24px 20px 20px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.clinic-feat-plan-card:hover {
    border-color: #fcd34d;
    transform: translateY(-2px);
}

.clinic-feat-plan-card.featured {
    border-color: #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 40%);
}

.clinic-feat-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: #f59e0b;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.clinic-feat-plan-name {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.5;
}

.clinic-feat-plan-subtitle {
    margin: 0 0 14px;
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.7;
}

.clinic-feat-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.clinic-feat-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
}

.clinic-feat-currency {
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: 600;
}

.clinic-feat-valid {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    padding: 8px 12px;
    background: #f8f9fb;
    border-radius: 8px;
    font-size: 0.78rem;
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 16px;
}

.clinic-feat-valid svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #f59e0b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinic-feat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 18px;
    background: #f59e0b;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
    margin-top: auto;
    box-sizing: border-box;
}

.clinic-feat-btn:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
    color: #fff !important;
}

.clinic-feat-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinic-feat-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fffbeb;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #92400e;
    line-height: 1.7;
    font-weight: 500;
}

.clinic-feat-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: none;
    stroke: #f59e0b;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinic-feat-empty {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    padding: 40px 24px;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 18px;
}

.clinic-feat-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #f8f9fb;
    border-radius: 50%;
    margin-bottom: 14px;
}

.clinic-feat-empty-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #9ca3af;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinic-feat-empty p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.9;
}

@media (max-width: 500px) {
    .clinic-feat-card {
        padding: 20px 16px;
        border-radius: 14px;
    }
    .clinic-feat-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    .clinic-feat-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }
    .clinic-feat-icon svg {
        width: 22px;
        height: 22px;
    }
    .clinic-feat-title {
        font-size: 1rem;
    }
    .clinic-feat-status {
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }
    .clinic-feat-grid {
        grid-template-columns: 1fr;
    }
    .clinic-feat-item {
        padding: 12px;
    }
    .clinic-feat-pricing-header {
        padding: 18px 16px;
        border-radius: 14px;
    }
    .clinic-feat-pricing-header-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .clinic-feat-pricing-header-icon svg {
        width: 22px;
        height: 22px;
    }
    .clinic-feat-grid-plans {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .clinic-feat-plan-card {
        padding: 20px 16px 16px;
    }
    .clinic-feat-price {
        font-size: 1.4rem;
    }
}




.spec-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.clinic-card-featured-simple {
    border: 1px solid #f59e0b;
}

.clinic-badge-featured {
    position: absolute;
    top: 0;
    right: 0;
    background: #f59e0b;
    color: #fff;
    padding: 0 12px;
    border-radius: 0 10px;
    font-size: 11px;
    font-weight: bold;
    z-index: 10;
}

.clinic-card-featured-strong {
    border: 2px solid #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.clinic-badge-featured-strong {
    position: absolute;
    top: 0;
    right: 0;
    background: #f59e0b;
    color: #fff;
    padding: 0 12px;
    border-radius: 0 10px;
    font-size: 11px;
    font-weight: bold;
    z-index: 10;=
}

.clinic-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

span.mini.blue {
    background: #1e5eff12;
}















/* --- هدر و دکمه‌ها --- */
.header-burger {
    display: none;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.header-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1f2937;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.header-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-burger.active span:nth-child(2) {
    opacity: 0;
}

.header-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header .btn-login-icon,
.header .btn-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    flex-shrink: 0;
    overflow: hidden;
}

.header .btn-login-icon {
    width: 42px;
    height: 42px;
    background: #1E5EFF;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.header .btn-login-icon:hover {
    background: #0b4bd6;
}

.header .btn-login-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    display: block;
}

.header .btn-avatar {
    width: 42px;
    height: 42px;
    background: transparent;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.header .btn-avatar:hover {
    transform: scale(1.05);
}

.header .btn-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    direction: rtl;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f3f5;
}

.mobile-menu-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    color: #4b5563;
    padding: 0;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: #f1f3f5;
    color: #1f2937;
}

/* --- سرچ باکس داخل منوی موبایل --- */
.mobile-menu-search {
    padding: 16px 16px;
    border-bottom: 1px solid #f1f3f5;
}

.mobile-menu-search .header-search {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 14px;
    height: 42px;
    box-sizing: border-box;
    margin: 0;
}

.mobile-menu-search .header-search input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
    padding: 0;
    min-width: 0;
}

.mobile-menu-search .header-search input[type="text"]::placeholder {
    color: #9ca3af;
}

.mobile-menu-search .header-search button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mobile-menu-search .header-search button[type="submit"] img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.mobile-menu-search .header-search button[type="submit"]:hover img {
    opacity: 1;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 12px;
    overflow-y: auto;
    flex: 1;
}

.mobile-menu-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8f9fb;
}

.mobile-menu-nav a:hover {
    background: #f8f9fb;
    color: #1E5EFF;
}

.mobile-menu-nav a.active {
    background: #eff6ff;
    color: #1E5EFF;
    font-weight: 700;
}

.mobile-menu-nav a::after {
    display: none;
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

.mobile-menu-backdrop.open {
    display: block;
}

/* --- ریسپانسیو هدر --- */
@media (max-width: 900px) {
    .header.container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
        position: relative;
        z-index: 100;
        background: #fff;
    }

    .header-burger {
        display: flex;
        order: 1;
    }

    .header .logo {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 0;
    }

    .header .logo img {
        max-height: 40px;
        width: auto;
        max-width: 100%;
        display: block;
    }

    .header .nav {
        display: none !important;
    }

    .header .header-actions {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
    }

    .header .header-actions .header-search-desktop {
        display: none !important;
    }

    .header .header-actions .btn-login-icon,
    .header .header-actions .btn-avatar {
        width: 42px;
        height: 42px;
    }
}











.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
    z-index: 99999;
    direction: rtl;
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: content-box;
}

.mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: none;
    text-decoration: none !important;
    color: #5c5c5c !important;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 500;
    position: relative;
}

.mbn-item svg {
    width: 24px !important;
    height: 24px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.6 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

.mbn-item span {
    line-height: 1.2;
    display: block;
}

.mbn-item.active {
    color: #1A64C3 !important;
}

.mbn-item.active svg {
    stroke: #1a73e8 !important;
    stroke-width: 2 !important;
}

.mbn-item.active .mbn-center-btn svg {
    stroke: #ffffff !important;
    stroke-width: 2 !important;
}

.mbn-center-wrap {
    overflow: visible !important;
}

.mbn-center-btn {
    position: absolute;
    top: -29px;
    left: 50%;
    margin-left: -29px;
    width: 58px;
    height: 58px;
    background: #1a73e8 !important;
    border-radius: 16px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    z-index: 2;
    box-sizing: border-box;
}

.mbn-center-btn svg {
    width: 26px !important;
    height: 26px !important;
    stroke: #ffffff !important;
    stroke-width: 2 !important;
    transform: rotate(-45deg);
}

.mbn-center-btn .mbn-cart-count {
    position: absolute;
    top: -9px;
    right: 17px;
    background: #ffffff;
    color: #1a73e8 !important;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #1a73e8;
    line-height: 1;
}
.mbn-center-text {
    margin-top: 27px;
    color: #1a73e8 !important;
    font-weight: 600;
}

.mbn-avatar-wrap {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

.mbn-avatar-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .mobile-bottom-nav {
        display: flex;
        align-items: stretch;
    }

    body {
        padding-bottom: 64px;
    }
}
.header-burger {
    display: none;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.header-burger:hover {
    background: #f8f9fb;
}

.header-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1f2937;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.header-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-burger.active span:nth-child(2) {
    opacity: 0;
}

.header-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-search-toggle img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.header-search-toggle:hover {
    background: #f8f9fb;
    border-color: #d1d5db;
}

.header-search-toggle:hover img {
    opacity: 1;
}

.header-search-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 50;
    padding: 12px 16px;
    align-items: center;
}

.header-search-overlay.active {
    display: flex;
}

.header-search-overlay .header-search {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 14px;
    height: 42px;
    box-sizing: border-box;
    margin: 0;
}

.header-search-overlay .header-search input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
    padding: 0;
    min-width: 0;
}

.header-search-overlay .header-search input[type="text"]::placeholder {
    color: #9ca3af;
}

.header-search-overlay .header-search button[type="submit"] {
    display: inline-flex;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-search-overlay .header-search button[type="submit"] img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.header-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f1f3f5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #4b5563;
    padding: 0;
    flex-shrink: 0;
    margin-right: 4px;
    transition: background 0.2s ease;
}

.header-search-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

@media (max-width: 900px) {
    .header-burger {
        display: flex;
    }

    .header-search-toggle {
        display: flex;
    }

    .container-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .header-start {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .header-start .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-start .nav {
        display: none;
    }

    .header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 1;
    }

    .header-actions .header-search-desktop {
        display: none;
    }
}

/* --- منوی کناری موبایل --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -340px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    direction: rtl;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f3f5;
    background: #fff;
}

.mobile-menu-logo {
    display: block;
    flex: 1;
    max-width: 130px;
    text-decoration: none;
}

.mobile-menu-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 38px;
    object-fit: contain;
}

.mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    color: #4b5563;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-right: 12px;
}

.mobile-menu-close:hover {
    background: #f1f3f5;
    color: #1f2937;
}

.mobile-menu-tabs {
    display: flex;
    border-bottom: 1px solid #f1f3f5;
    background: #fff;
    position: relative;
}

.mm-tab {
    flex: 1;
    padding: 14px 12px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.mm-tab.active {
    color: #1E5EFF;
}

.mm-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 20%;
    left: 20%;
    height: 2px;
    background: #1E5EFF;
    border-radius: 2px;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.mm-pane {
    display: none;
    animation: fadeIn 0.2s ease;
}

.mm-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 12px;
}

.mobile-menu-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8f9fb;
}

.mobile-menu-nav a:hover {
    background: #f8f9fb;
    color: #1E5EFF;
}

.mobile-menu-nav a.active {
    background: #eff6ff;
    color: #1E5EFF;
    font-weight: 700;
}

.mobile-menu-nav a::after {
    display: none;
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

.mobile-menu-backdrop.open {
    display: block;
}

/* --- ریسپانسیو هدر --- */
@media (max-width: 900px) {
    .header.container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
        position: relative;
        z-index: 100;
        background: #fff;
    }

    .header.search-active .logo,
    .header.search-active .header-burger,
    .header.search-active .header-actions {
        visibility: hidden;
    }

    .header-burger {
        display: flex;
        order: 1;
    }

    .header .logo {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 0;
    }

    .header .logo img {
        max-height: 40px;
        width: auto;
        max-width: 100%;
        display: block;
    }

    .header .nav {
        display: none !important;
    }

    .header .header-actions {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
    }

    .header .header-actions .header-search-desktop {
        display: none !important;
    }

    .header-search-toggle {
        display: inline-flex;
    }
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 94, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.overlay.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.header-burger {
    display: none;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.header-burger:hover {
    background: #f8f9fb;
}

.header-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1f2937;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.header-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-burger.active span:nth-child(2) {
    opacity: 0;
}

.header-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-search-toggle img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.header-search-toggle:hover {
    background: #f8f9fb;
    border-color: #d1d5db;
}

.header-search-toggle:hover img {
    opacity: 1;
}

.header-search-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 50;
    padding: 12px 16px;
    align-items: center;
}

.header-search-overlay.active {
    display: flex;
}

.header-search-overlay .header-search {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 14px;
    height: 42px;
    box-sizing: border-box;
    margin: 0;
}

.header-search-overlay .header-search input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
    padding: 0;
    min-width: 0;
}

.header-search-overlay .header-search input[type="text"]::placeholder {
    color: #9ca3af;
}

.header-search-overlay .header-search button[type="submit"] {
    display: inline-flex;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-search-overlay .header-search button[type="submit"] img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.header-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f1f3f5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #4b5563;
    padding: 0;
    flex-shrink: 0;
    margin-right: 4px;
    transition: background 0.2s ease;
}

.header-search-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -340px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    direction: rtl;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f3f5;
    background: #fff;
}

.mobile-menu-logo {
    display: block;
    flex: 1;
    max-width: 130px;
    text-decoration: none;
}

.mobile-menu-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 38px;
    object-fit: contain;
}

.mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    color: #4b5563;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-right: 12px;
}

.mobile-menu-close:hover {
    background: #f1f3f5;
    color: #1f2937;
}

.mobile-menu-tabs {
    display: flex;
    border-bottom: 1px solid #f1f3f5;
    background: #fff;
    position: relative;
}

.mm-tab {
    flex: 1;
    padding: 14px 12px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.mm-tab.active {
    color: #1E5EFF;
}

.mm-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 20%;
    left: 20%;
    height: 2px;
    background: #1E5EFF;
    border-radius: 2px;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.mm-pane {
    display: none;
    animation: fadeIn 0.2s ease;
}

.mm-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 12px;
}

.mobile-menu-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8f9fb;
}

.mobile-menu-nav a:hover {
    background: #f8f9fb;
    color: #1E5EFF;
}

.mobile-menu-nav a.active {
    background: #eff6ff;
    color: #1E5EFF;
    font-weight: 700;
}

.mobile-menu-nav a::after {
    display: none;
}

@media (max-width: 900px) {
    .header.container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
        position: relative;
        z-index: 100;
        background: #fff;
    }

    .header.search-active .logo,
    .header.search-active .header-burger,
    .header.search-active .header-actions {
        visibility: hidden;
    }

    .header-burger {
        display: flex;
        order: 1;
    }

    .header .logo {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 0;
    }

    .header .logo img {
        max-height: 40px;
        width: auto;
        max-width: 100%;
        display: block;
    }

    .header .nav {
        display: none !important;
    }

    .header .header-actions {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
    }

    .header .header-actions .header-search-desktop {
        display: none !important;
    }

    .header-search-toggle {
        display: inline-flex;
    }
}


/* --- استایل منوهای تو در تو (زیرمنو) --- */
.mm-item-wrap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f8f9fb;
    padding: 0;
}

.mm-item-wrap > a {
    flex: 1;
    display: block;
    padding: 14px 16px;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: none;
    background: transparent !important;
}

.mm-item-wrap > a:hover,
.mm-item-wrap > a.active {
    color: #1E5EFF;
}

.mm-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mm-submenu-toggle:hover {
    color: #1E5EFF;
}

.mm-item-wrap.open .mm-submenu-toggle svg {
    transform: rotate(180deg);
}

.mm-submenu-toggle svg {
    transition: transform 0.3s ease;
}

.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fb !important;
    border-radius: 10px;
    flex-basis: 100%;
    width: 100%;
}
.mm-item-wrap.open .sub-menu {
    margin-bottom: 10px;
}

.sub-menu li {
    border-bottom: 1px solid #e5e7eb;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu a {
    display: block;
    padding: 12px 16px;
    color: #4b5563;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: none;
}

.sub-menu a:hover {
    color: #1E5EFF;
    background: #fff;
}

.sub-menu a::before {
    content: "—";
    margin-left: 8px;
    color: #9ca3af;
    font-weight: 400;
}

.sub-menu a::after {
    display: none;
}

.mobile-menu-nav a::after {
    display: none !important;
}

.header .btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.header .btn-avatar {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    display: inline-block;
}

.header .btn-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.header-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-search-toggle img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.header-search-toggle:hover {
    background: #f8f9fb;
    border-color: #d1d5db;
}

.header-search-toggle:hover img {
    opacity: 1;
}

@media (max-width: 900px) {
    .header .hide-on-mobile {
        display: none !important;
    }
    
    .header-search-toggle {
        display: inline-flex;
    }
}


.herbt {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.herbt a.darman {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}

.herbt a.shoro {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}

section#specialties {
    display: flex;
    flex-direction: column;
}


.header-actions .btn-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    line-height: 0;
    vertical-align: middle;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-sizing: border-box;
    transition: background .2s ease, border-color .2s ease;
}
.header-actions .btn-cart:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.header-actions .btn-cart svg {
    width: 22px;
    height: 22px;
    display: block;
    margin: 0;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
    stroke: #1E5EFF;
    stroke-width: 2.2;
}

.header-actions .btn-cart:hover svg {
    stroke: #1a4fd6;
}

.header-actions .btn-cart .cart-count {
    position: absolute;
    top: -4px;
    left: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px #ffffff;
}

p.tp-hours-note {
    background: #feaf182b;
    color: #feaf18;
    padding: 10px 20px;
    border-radius: 8px;
    line-height: 2;
}

.container-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.filter-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    flex-direction: row-reverse;
    justify-content: space-between;
}
.filter-switch-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.filter-switch-track {
    position: relative;
    width: 42px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 999px;
    transition: background .2s ease;
    flex-shrink: 0;
}
.filter-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    transition: transform .2s ease;
}
.filter-switch-input:checked + .filter-switch-track {
    background: #2563eb;
}
.filter-switch-input:checked + .filter-switch-track .filter-switch-thumb {
    transform: translateX(18px);
}
.filter-switch-label {
    font-size: 14px;
    color: #374151;
}


.loc-city {
    display: inline;
}

@media (max-width: 767px) {
    .loc-city {
        display: none;
    }
}

.header {
    position: relative;
}

.header .container-header {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header .header-start {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.header .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline-start: auto;
}

@media (min-width: 1024px) {
    .header .header-burger {
        display: none;
    }
}

@media (min-width: 1024px) {
    .header .header-search-overlay {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 10px;
        padding: 0;
        background: transparent;
        display: none;
        z-index: 999;
    }
    
    .header .header-search-overlay.active,
    .header .header-search-overlay.is-open,
    .header .header-search-overlay.show {
        display: block;
    }

    .header .header-search-overlay .header-search {
        display: flex;
        align-items: center;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        padding: 6px 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        max-width: 600px;
        margin: 0 auto;
    }

    .header .header-search-overlay input[type="text"] {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        padding: 8px;
        font-size: 15px;
        font-family: inherit;
        direction: rtl;
    }

    .header .header-search-overlay button {
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
    }
}

@media (max-width: 1023px) {
    .header .header-search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        display: none;
        z-index: 9999;
    }

    .header .header-search-overlay.active,
    .header .header-search-overlay.is-open,
    .header .header-search-overlay.show {
        display: block;
    }

    .header .header-search-overlay .header-search {
        display: flex;
        align-items: center;
        background: #f3f4f6;
        border-radius: 8px;
        padding: 4px 8px;
        width: 100%;
    }

    .header .header-search-overlay input[type="text"] {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        padding: 10px;
        font-family: inherit;
        direction: rtl;
    }
}


@media (max-width: 1023px) {
    .header .header-search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 60px; /* ارتفاع منوی پایین را اینجا تنظیم کن */
        background: #fff;
        padding: 16px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        display: none;
        z-index: 9999;
        overflow-y: auto;
    }

    .header .header-search-overlay.active,
    .header .header-search-overlay.is-open,
    .header .header-search-overlay.show {
        display: block;
    }

    .header .header-search-overlay .header-search {
        display: flex;
        align-items: center;
        background: #f3f4f6;
        border-radius: 8px;
        padding: 4px 8px;
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .header .header-search-overlay input[type="text"] {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        padding: 10px;
        font-family: inherit;
        direction: rtl;
    }
}

#how {
    position: relative;
    overflow: hidden;
}

#how .how {
    position: relative;
}

#how .how-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 200px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

#how .how-line svg {
    width: 100%;
    height: 100%;
    display: block;
}

#how .container {
    position: relative;
    z-index: 2;
}

#how .step {
    background-color: #f1f6ff;
}

@media (max-width: 768px) {
    #how .how-line {
        display: none;
    }
}

.timche-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}

.timche-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    flex-wrap: nowrap;
}

.timche-meta-row .loc {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
}

.timche-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #e8f1fb;
  color: #3b82f6;
  flex-shrink: 0;
}

.timche-meta-icon svg {
  width: 14px;
  height: 14px;
}


.timche-product-card {
  position: relative;
}

.timche-seller-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 5px 10px;
    background: #ffffff94;
    border-radius: 8px;
    font-size: 11px;
    color: #333;
    white-space: nowrap;
    max-width: calc(100% - 40px);
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgb(30 94 255 / 11%);
}

.clinic {
  position: relative;
}

.clinic-badge-rating {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 13px;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.clinic-badge-rating svg {
  display: block;
  flex-shrink: 0;
}



.clinic-reviews {
    direction: rtl;
}

.clinic-reviews-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.clinic-reviews-subtitle {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.9;
    margin: 8px 0 0;
}

.clinic-rating-summary {
    min-width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 13px 18px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #fffdf5;
}

.clinic-rating-summary strong {
    color: #1f2937;
    font-size: 25px;
    line-height: 1;
}

.clinic-rating-summary > span:last-child {
    color: #8a8f98;
    font-size: 11px;
}

.clinic-review-stars {
    position: relative;
    display: inline-block;
    width: 96px;
    height: 20px;
    direction: ltr;
    line-height: 20px;
    letter-spacing: 2px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    white-space: nowrap;
}

.clinic-review-stars-bg,
.clinic-review-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.clinic-review-stars-bg {
    color: #e5e7eb;
}

.clinic-review-stars-fill {
    color: #f5b301;
}

.clinic-review-form-wrap {
    padding: 20px;
    margin-bottom: 26px;
    border: 1px solid #edf0f3;
    border-radius: 14px;
    background: #fafbfc;
}

.clinic-review-form-wrap .comment-reply-title {
    color: #1f2937;
    font-size: 16px;
    margin: 0 0 18px;
}

.clinic-review-form-wrap .comment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.clinic-review-form-wrap .comment-form > * {
    margin: 0;
}

.clinic-review-form-wrap .comment-form-comment,
.clinic-review-form-wrap .clinic-rating-field,
.clinic-review-form-wrap .form-submit,
.clinic-review-form-wrap .comment-notes,
.clinic-review-form-wrap .logged-in-as {
    grid-column: 1 / -1;
}

.clinic-review-form-wrap label,
.clinic-rating-label {
    display: block;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.clinic-review-form-wrap .required {
    color: #dc2626;
}

.clinic-review-form-wrap input[type="text"],
.clinic-review-form-wrap input[type="email"],
.clinic-review-form-wrap textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e1e5ea;
    border-radius: 9px;
    background: #fff;
    color: #1f2937;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.clinic-review-form-wrap input[type="text"],
.clinic-review-form-wrap input[type="email"] {
    height: 42px;
    padding: 0 12px;
}

.clinic-review-form-wrap textarea {
    min-height: 105px;
    resize: vertical;
    padding: 11px 12px;
    line-height: 1.9;
}

.clinic-review-form-wrap input[type="text"]:focus,
.clinic-review-form-wrap input[type="email"]:focus,
.clinic-review-form-wrap textarea:focus {
    border-color: #1e5eff;
    box-shadow: 0 0 0 3px rgba(30, 94, 255, .08);
}

.clinic-rating-field {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

.clinic-rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 2px;
    direction: ltr;
}

.clinic-rating-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.clinic-rating-input label {
    width: 27px;
    height: 30px;
    margin: 0;
    color: #d7dce2;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 30px;
    text-align: center;
    transition: color .15s ease, transform .15s ease;
}

.clinic-rating-input label:hover,
.clinic-rating-input label:hover ~ label,
.clinic-rating-input input:checked ~ label {
    color: #f5b301;
}

.clinic-rating-input label:hover {
    transform: scale(1.08);
}

.clinic-review-submit {
    min-width: 125px;
    height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: #1e5eff;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.clinic-review-submit:hover {
    background: #174ed8;
    transform: translateY(-1px);
}

.clinic-review-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.clinic-review-item {
    padding: 17px 0;
    border-bottom: 1px solid #edf0f3;
}

.clinic-review-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.clinic-review-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.clinic-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.clinic-review-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eaf0ff;
    color: #1e5eff;
    font-size: 15px;
    font-weight: 700;
}

.clinic-review-author strong,
.clinic-review-author time {
    display: block;
}

.clinic-review-author strong {
    color: #273142;
    font-size: 13px;
}

.clinic-review-author time {
    color: #9aa1ab;
    font-size: 11px;
    margin-top: 3px;
}

.clinic-review-item-stars {
    width: 85px;
    height: 18px;
    font-size: 16px;
    line-height: 18px;
}

.clinic-review-item p {
    color: #4b5563;
    font-size: 13px;
    line-height: 2;
    margin: 0;
    padding: 10px;
    background: #eaf0ff59;
    border-radius: 10px;
}

.clinic-review-empty {
    padding: 17px;
    border-radius: 10px;
    background: #f8fafc;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
}

@media (max-width: 600px) {
    .clinic-reviews-header {
        flex-direction: column;
        gap: 16px;
    }

    .clinic-rating-summary {
        width: 100%;
        box-sizing: border-box;
        flex-direction: row;
        justify-content: center;
    }

    .clinic-review-form-wrap {
        padding: 15px;
    }

    .clinic-review-form-wrap .comment-form {
        grid-template-columns: 1fr;
    }

    .clinic-review-form-wrap .comment-form-author,
    .clinic-review-form-wrap .comment-form-email,
    .clinic-review-form-wrap .comment-form-comment,
    .clinic-review-form-wrap .clinic-rating-field,
    .clinic-review-form-wrap .form-submit,
    .clinic-review-form-wrap .comment-notes,
    .clinic-review-form-wrap .logged-in-as {
        grid-column: auto;
    }

.clinic-rating-field {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

    .clinic-review-item-top {
        align-items: flex-start;
        flex-direction: row;
        gap: 8px;
    }
}
.tp-services-carousel.owl-carousel.owl-theme.owl-rtl.owl-loaded.owl-drag .owl-stage {
	padding: 4px 0 !important;
}
.mm-item-wrap.has-submenu a.active {
    color: unset;
    font-weight: 500;
}

.stories.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
}

.container.stor {
    padding-bottom: 0;
}
section.hero.container {
    padding-top: 0;
}

.stories.snapgram .story > .item-link > .item-preview {
    background: radial-gradient(ellipse at 70% 70%, #1e5eff 8%, #1e5eff 42%, #1d73e5 58%) !important;
}

.stories.carousel .story > .item-link > .info .name {
    font-weight: 500;
}
#zuck-modal-content {
    direction: ltr;
    text-align: left;
}
#zuck-modal-content .story-viewer .head .right .close {
    color: #fff;
}
#zuck-modal-content .story-viewer .head .right .close:hover {
    color: #dddddd;
}
#zuck-modal-content .story-viewer .slides-pagination span {
    font-family: initial;
}
#zuck-modal-content .story-viewer .slides-pagination .next {
    right: 20px;
}
#zuck-modal-content .story-viewer .head .time {
    display: none !important;
}

#zuck-modal-content .story-viewer .head .left .time, #zuck-modal-content .story-viewer .head .right .close {
    display: block;
}
#zuck-modal-content .story-viewer.with-back-button .head .left > .back {
    display: none;
}

#stories {
    position: relative;
}
a.tip.link {
    border-radius: 15px !important;
    padding: 8px 30px !important;
}
.stories.snapgram .story.seen {
    opacity: 1 !important;
}
.stories.carousel .story > .item-link > .info .name {
    color: #6e6e6e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.6em;
    line-height: 1.8em;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}
#stories {
    direction: ltr;
}
.zuck-modal,
.zuck-modal .story-viewer,
.zuck-modal .story-viewer * {
  direction: ltr !important;
}
.story-viewer {
  direction: ltr !important;
}
span.previous {
    display: none;
}
#zuck-modal-content .story-viewer .slides-pagination .next {
    right: 0;
}
.stories.carousel .story > .item-link > .info {
    direction: rtl;
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.5em;
    line-height: 1.8em;
    width: 100%;
    max-width: 100%;
    max-height: 3.6em;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}
.stories.carousel {
    margin-top: 7px !important;
}

@media (max-width: 768px) {
    .clinic-custom-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }

    .clinic-custom-label {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .clinic-custom-value {
        text-align: left;
        flex: 1;
        min-width: 0;
        word-break: break-word;
    }

    .clinic-custom-value .clinic-custom-code {
        display: inline-block;
        white-space: nowrap;
    }
}
