/* ============================================================
   TIGET — STYLE.CSS (Complete)
   شامل استایل‌های index.php و ticket.php
   ============================================================ */

:root {
  --primary: #096bea;
  --primary-dark: #064eaa;
  --text: #123b75;
  --muted: #6681a8;
  --border: #d9e7f5;
  --light-blue: #eef7ff;
  --background: #f6fbff;
  --white: #ffffff;
  --danger: #e74c3c;
  --success: #27ae60;
  --blue: #1668e8;
  --blue2: #0b55d4;
  --ink: #112e55;
  --line: #e4ebf5;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  direction: rtl;
  color: var(--text);
  background:
    linear-gradient(
      180deg,
      rgba(219, 244, 255, 0.9),
      rgba(255, 255, 255, 0.96)
    ),
    url("https://images.unsplash.com/photo-1507527764769-09c2b7d9c5e3?auto=format&fit=crop&w=2000&q=80")
      center top / cover fixed no-repeat;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 14px;
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: auto;
}

/* ============================================================
   TOP HEADER (برای ticket.php و صفحات داخلی)
   ============================================================ */
.top-header {
  padding: 18px 0 10px;
}

.header-inner {
  width: min(1470px, calc(100% - 72px));
  min-height: 64px;
  margin: auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(37, 113, 181, 0.08);
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.header-inner .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
}

.header-inner .brand i {
  color: #f5c226;
  font-size: 20px;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 70px;
  direction: rtl;
  height: 100%;
}

.main-menu a {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  color: #17457f;
  font-size: 15px;
  font-weight: 600;
}

.main-menu a.active,
.main-menu a:first-child {
  color: var(--primary);
}

.main-menu a.active::after,
.main-menu a:first-child::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 5px 5px 0 0;
  background: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  direction: ltr;
  color: #113e78;
}

.header-actions i {
  font-size: 23px;
}

.header-actions .login {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: rtl;
  font-size: 13px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* ============================================================
   HERO + HERO-NAV (index.php)
   ============================================================ */
.hero {
  min-height: 496px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 112, 202, 0.1), rgba(0, 91, 174, 0.72)),
    url("https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=2000&q=80")
      center / cover no-repeat;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 80, 150, 0.18), transparent 54%);
}

.hero-nav {
  position: absolute;
  top: 18px;
  right: 50%;
  transform: translateX(50%);
  width: min(1200px, calc(100% - 48px));
  height: 64px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  box-shadow: 0 6px 20px rgba(16, 57, 105, 0.12);
  z-index: 5;
}

.hero-nav .brand .brand-logo {
  height: 30px;
}

.hero-nav .brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  direction: ltr;
  font-family: Arial, sans-serif;
  color: #1767dd;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hero-nav .brand i {
  font-size: 18px;
  color: #ffc21e;
}

.hero-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 13px;
  font-weight: 500;
}

.hero-nav .nav-links a {
  height: 64px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--ink);
}

.hero-nav .nav-links a.active {
  color: #1469e8;
  font-weight: 700;
}

.hero-nav .nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 64%;
  height: 3px;
  border-radius: 5px;
  background: #1267e9;
}

.hero-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}

.hero-nav .login,
.hero-nav .nav-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #18375d;
}

.hero-nav .login {
  font-size: 13px;
}
.hero-nav .nav-action {
  font-size: 19px;
}
.hero-nav .nav-action:hover,
.hero-nav .login:hover {
  color: var(--blue);
}

/* ---- Hero content ---- */
.hero-content {
  padding-top: 118px;
  min-height: 405px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 7px 14px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 14px;
  color: #fff;
}

.hero h1 {
  margin: 0;
  font-size: 39px;
  line-height: 1.52;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.hero p {
  margin: 9px 0 0;
  font-size: 16px;
  line-height: 2;
  color: #edf8ff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ---- Search panel ---- */
.search-panel {
  position: absolute;
  bottom: 38px;
  right: 50%;
  transform: translateX(50%);
  width: min(930px, calc(100% - 48px));
  min-height: 70px;
  padding: 8px;
  background: #fff;
  border-radius: 38px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 28px rgba(9, 72, 130, 0.27);
  color: var(--ink);
  z-index: 4;
}

.search-field {
  height: 52px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 21px;
  border-left: 1px solid var(--line);
  min-width: 0;
  cursor: pointer;
}

.search-field:last-of-type {
  border: 0;
}

.search-field .field-icon {
  font-size: 19px;
  color: #18395f;
  flex-shrink: 0;
}

.search-field b,
.search-field small {
  display: block;
  white-space: nowrap;
}
.search-field b {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.search-field small {
  font-size: 11px;
  color: #8a98ad;
  margin-top: 3px;
}

.search-field .chevron {
  margin-right: auto;
  color: #6e809b;
  font-size: 11px;
}

.search-btn {
  height: 52px;
  width: 142px;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, #2b80f5, #0756d6);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(17, 101, 231, 0.27);
  font-family: inherit;
  flex-shrink: 0;
}

.search-btn i {
  margin-right: 8px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: 38px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 22px;
  margin: 0 0 4px;
  font-weight: 800;
  color: #073c80;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.all-link {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  padding-top: 8px;
  white-space: nowrap;
}

.all-link i {
  font-size: 10px;
  margin-right: 4px;
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 19px;
}

.category {
  text-align: center;
  color: #1e3a61;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.7;
  text-decoration: none;
  transition: transform 0.2s;
}

.category:hover {
  transform: translateY(-3px);
  color: var(--primary);
}

.category-icon {
  height: 62px;
  border-radius: 25px;
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  font-size: 28px;
  transition: 0.25s;
}

.category:hover .category-icon {
  box-shadow: 0 8px 20px rgba(9, 107, 234, 0.15);
}

/* رنگ‌های دسته‌بندی */
.mint {
  background: #dff8ef;
  color: #11a76d;
}
.soft-blue {
  background: #e2edff;
  color: #28568e;
}
.pink {
  background: #fae4fb;
  color: #bd3ca6;
}
.green {
  background: #def7e4;
  color: #13a252;
}
.orange {
  background: #fff0dc;
  color: #f49921;
}
.purple {
  background: #eee3ff;
  color: #8646cd;
}
.cyan {
  background: #ddf6fd;
  color: #119bc7;
}
.blue {
  background: #e0efff;
  color: #1f75e6;
}

/* ============================================================
   CATEGORY LANDING PAGE (category.php)
   ============================================================ */
.category-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 32px;
  border-radius: 22px;
  margin-bottom: 22px;
  border: 1px solid rgba(20, 60, 100, 0.05);
}

.category-hero-icon {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: rgba(255, 255, 255, 0.65);
}

.category-hero-text {
  flex: 1;
  min-width: 0;
}

.category-hero-text h1 {
  font-size: 24px;
  color: #16324f;
  margin-bottom: 6px;
}

.category-hero-text p {
  font-size: 13px;
  color: #4f739b;
  line-height: 1.9;
  max-width: 640px;
}

.category-hero-count {
  flex: 0 0 auto;
  text-align: center;
  padding: 14px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.category-hero-count strong {
  display: block;
  font-size: 22px;
  color: #0c3f78;
}

.category-hero-count span {
  font-size: 11px;
  color: #4f739b;
}

.other-categories {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #e3edf6;
}

.other-categories h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #16477f;
  margin-bottom: 14px;
}

.other-categories h3 i {
  color: var(--primary);
}

.other-categories-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.other-categories-list .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.other-cat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #e3edf6;
  border-radius: 12px;
  background: #f8fbff;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}

.other-cat-card:hover {
  border-color: var(--primary);
  background: #eef6ff;
}

.other-cat-card-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #16477f;
}

.other-cat-card-title i {
  color: var(--primary);
}

.other-cat-card-desc {
  font-size: 11.5px;
  color: #6c8bab;
  line-height: 1.7;
}

.category-about {
  margin-top: 24px;
  padding: 28px 30px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(20, 60, 100, 0.06);
}

.category-about-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
}

.category-about .blog-content a {
  color: #1265c9;
  text-decoration: underline;
}

.category-about .blog-content strong {
  color: #10407b;
}

.category-about .blog-content h2,
.category-about .blog-content h3 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.category-about .blog-content h2::after,
.category-about .blog-content h3::after {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: #e0223c;
}

.category-about .blog-content h3::after {
  height: 18px;
}

@media (max-width: 700px) {
  .category-hero {
    flex-wrap: wrap;
    padding: 22px 20px;
  }
  .category-hero-count {
    width: 100%;
  }
}

/* ============================================================
   BLOG (blog.php / blog-post.php)
   ============================================================ */
.blog-hero {
  padding: 26px 4px 8px;
  margin-bottom: 6px;
}

.blog-hero h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  color: #16324f;
  margin-bottom: 6px;
}

.blog-hero h1 i {
  color: var(--primary);
}

.blog-hero p {
  font-size: 13px;
  color: #4f739b;
}

.blog-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
}

.blog-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid #dbe9f5;
  background: #fff;
  color: #3a5a80;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.blog-cat-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.blog-cat-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.blog-card-cat {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 20px;
  background: #eaf3ff;
  color: #176ae5;
  font-size: 10.5px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 8px;
}

.blog-card-cat:hover {
  background: #176ae5;
  color: #fff;
}

.blog-post-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0 0;
  padding: 5px 14px;
  border-radius: 20px;
  background: #eaf3ff;
  color: #176ae5;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.blog-post-cat:hover {
  background: #176ae5;
  color: #fff;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 18px 0 10px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e7f0f8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 60, 100, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 60, 100, 0.1);
}

.blog-card-photo {
  display: block;
  height: 170px;
  overflow: hidden;
}

.blog-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 18px 18px 20px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: #8ba0bc;
  margin-bottom: 8px;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card-body h2 {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.blog-card-body h2 a {
  color: #16324f;
  text-decoration: none;
}

.blog-card-body h2 a:hover {
  color: var(--primary);
}

.blog-card-body > p {
  font-size: 12.5px;
  color: #64809f;
  line-height: 1.9;
  margin-bottom: 12px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

/* ---------- صفحه تک‌مقاله ---------- */
.blog-article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 26px;
  align-items: start;
  padding: 10px 0 50px;
}

.blog-article {
  background: #fff;
  border: 1px solid #e7f0f8;
  border-radius: 20px;
  padding: 30px 32px 36px;
  box-shadow: 0 8px 24px rgba(20, 60, 100, 0.05);
}

.blog-article h1 {
  font-size: 24px;
  color: #16324f;
  margin: 10px 0 6px;
  line-height: 1.6;
}

.blog-cover {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 16px;
  margin: 18px 0 24px;
}

.blog-content {
  font-size: 14.5px;
  color: #445c7a;
  line-height: 2.2;
}

.blog-content h2 {
  font-size: 18px;
  color: #10407b;
  margin: 26px 0 10px;
}

.blog-content h3 {
  font-size: 16px;
  color: #10407b;
  margin: 20px 0 8px;
}

.blog-content p {
  margin-bottom: 14px;
}

.blog-content ul,
.blog-content ol {
  margin: 10px 0 16px;
  padding-inline-start: 22px;
}

.blog-content li {
  margin-bottom: 8px;
}

.blog-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 14px 0;
}

.blog-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f3f9ff 0%, #eaf4ff 100%);
  border: 1px solid #dfeefc;
  border-radius: 16px;
}

.blog-cta-box strong {
  display: block;
  color: #10407b;
  font-size: 15px;
  margin-bottom: 4px;
}

.blog-cta-box p {
  font-size: 12.5px;
  color: #4f739b;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 90px;
}

.blog-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 1px solid #f0f5fa;
}

.blog-sidebar-item:last-child {
  border-bottom: 0;
}

.blog-sidebar-item img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 56px;
}

.blog-sidebar-item strong {
  display: block;
  font-size: 12.5px;
  color: #16324f;
  line-height: 1.7;
  margin-bottom: 4px;
}

.blog-sidebar-item span {
  font-size: 10px;
  color: #8ba0bc;
}

@media (max-width: 900px) {
  .blog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-article-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .blog-cards {
    grid-template-columns: 1fr;
  }
  .blog-article {
    padding: 22px 18px 26px;
  }
}

/* ---------- اشتراک‌گذاری در شبکه‌های اجتماعی ---------- */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.share-label {
  font-size: 12px;
  color: #7c8ea6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #e3edf6;
  background: #fff;
  color: #4f739b;
  font-size: 15px;
  cursor: pointer;
  transition: 0.15s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 60, 100, 0.12);
}

.share-btn.telegram:hover { background: #26A5E4; color: #fff; border-color: #26A5E4; }
.share-btn.whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share-btn.twitter:hover  { background: #000; color: #fff; border-color: #000; }
.share-btn.copy-link:hover,
.share-btn.copy-link.copied { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- فهرست مطالب (TOC) و باکس مقالات مرتبط ---------- */
.toc-box,
.related-box {
  background: #f8fbfe;
  border: 1px solid #e7f0f8;
  border-radius: 16px;
  padding: 6px 20px;
  margin-bottom: 22px;
}

.related-box {
  background: #fff;
  padding: 20px;
}

.related-box h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #16477f;
  margin-bottom: 14px;
}

.toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: none;
  border: 0;
  padding: 14px 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #16477f;
  cursor: pointer;
}

.toc-toggle span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-chevron {
  color: #7c93b4;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.toc-toggle.collapsed .toc-chevron {
  transform: rotate(180deg);
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.toc-list li {
  border-right: 2px solid #e3edf6;
  margin-bottom: 4px;
}

.toc-list li.toc-level-3 {
  padding-right: 14px;
}

.toc-list a {
  display: block;
  padding: 6px 12px;
  font-size: 12.5px;
  color: #55759d;
  text-decoration: none;
  line-height: 1.7;
  transition: 0.15s ease;
}

.toc-list a:hover {
  color: var(--primary);
  background: #eef6ff;
  border-radius: 0 8px 8px 0;
}

.toc-box .toc-list {
  padding-bottom: 14px;
}

/* ============================================================
   CARDS (پیشنهادهای ویژه)
   ============================================================ */
.offers {
  background: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  direction: rtl;
}

.card {
  border: 1px solid #e0e9f4;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 13px rgba(26, 73, 132, 0.06);
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 11px 25px rgba(26, 73, 132, 0.13);
}

.photo {
  height: 160px;
  position: relative;
  background: #cce8ff;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.favorite {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #40607f;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: 0.2s;
}

.favorite:hover {
  color: var(--danger);
}

.tag {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #ffae19;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

.tag.inactive {
  background: #e74c3c;
  left: auto;
  right: 10px;
}

.card.is-inactive .photo img {
  filter: grayscale(60%);
  opacity: 0.75;
}

.card-body {
  padding: 12px 13px 13px;
}

.card h3 {
  font-size: 15px;
  margin: 0 0 4px;
  font-weight: 800;
  color: #16477f;
}

.card .desc {
  font-size: 11px;
  color: #8392a7;
  margin: 0;
  min-height: 23px;
}

.meta {
  display: flex;
  direction: rtl;
  justify-content: space-between;
  align-items: center;
  margin: 9px 0 12px;
  font-size: 12px;
  color: #263e60;
}

.rate {
  color: #61748d;
}
.rate i {
  color: #ffbd29;
  margin-right: 3px;
}

.buy {
  display: block;
  text-align: center;
  border-radius: 22px;
  padding: 9px;
  background: linear-gradient(135deg, #267bf3, #0b58d8);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(11, 88, 216, 0.3);
}

.buy.is-disabled {
  background: #9db3cc;
  box-shadow: none;
}
.buy.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ============================================================
   TRUST (چرا تیگت؟)
   ============================================================ */
.trust {
  background: linear-gradient(90deg, #f4fbff, #eff9ff);
  padding: 34px 0;
}

.trust h2 {
  font-size: 24px;
  margin: 0 0 25px;
  font-weight: 800;
  color: #073c80;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  align-items: center;
}

.app-promo {
  min-height: 150px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: radial-gradient(circle at 30% 50%, #d1f4ff, transparent 54%);
}

.phone {
  height: 150px;
  width: 83px;
  border: 5px solid #1a293e;
  border-radius: 18px;
  background: linear-gradient(160deg, #1c83e9, #0c4bba);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transform: rotate(-11deg);
  box-shadow: 0 10px 20px rgba(58, 139, 209, 0.33);
  flex-shrink: 0;
}

.promo-copy h3 {
  font-size: 21px;
  line-height: 1.5;
  color: #1269dc;
  margin: 0;
}

.promo-copy p {
  color: #6f8199;
  font-size: 11px;
  line-height: 1.8;
  margin: 4px 0;
}

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

.trust-icon {
  width: 58px;
  height: 58px;
  border-radius: 21px;
  background: #e6f2ff;
  color: #1971e6;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin: auto;
}

.trust-item:nth-child(3) .trust-icon {
  color: #1ea16d;
}
.trust-item:nth-child(4) .trust-icon {
  color: #8245cf;
}
.trust-item:nth-child(5) .trust-icon {
  color: #e5b215;
}

.trust-item h4 {
  font-size: 13px;
  margin: 10px 0 3px;
  color: #16477f;
}

.trust-item p {
  font-size: 10px;
  color: #798aa2;
  margin: 0;
  line-height: 1.7;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 0;
  align-items: center;
}

.island-card {
  height: 96px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), #e1f3ff),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=800&q=80")
      center / cover;
  display: flex;
  align-items: center;
  padding: 13px;
  color: #17385f;
}

.island-card b {
  font-size: 15px;
}
.island-card p {
  font-size: 10px;
  margin: 4px 0;
  color: #54708e;
}

.stat {
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 6px 12px;
  min-height: 54px;
}

.stat:first-of-type {
  border: 0;
}

.stat i {
  font-size: 23px;
  color: #1a73e7;
  display: block;
  margin-bottom: 4px;
}

.stat b {
  font-size: 13px;
  display: block;
  color: #16477f;
}
.stat span {
  font-size: 10px;
  color: #74859b;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  background: linear-gradient(110deg, #062543, #051f39);
  color: #fff;
  padding: 44px 0 18px;
  margin-top: 60px;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #2482f4, #6fc6ff, #2482f4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.15fr 1.15fr 1.6fr;
  gap: 30px;
}

.footer-brand .brand .brand-logo {
  height: 34px;
}

.footer-brand .brand {
  color: #fff;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.5px;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-brand .brand i {
  color: #2482f4;
  font-size: 20px;
}

.footer-brand p,
.footer-col li,
.newsletter p {
  color: #b5c6d9;
  font-size: 11px;
  line-height: 2;
  margin: 8px 0;
}

.footer-contact {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(200, 222, 246, 0.14);
}

.footer-contact li {
  margin: 0 0 8px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfe0f5;
  text-decoration: none;
  font-size: 11.5px;
  direction: ltr;
  transition: color 0.15s ease;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #cfe0f5;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.footer-social a:hover {
  background: #176ae5;
  color: #fff;
  transform: translateY(-2px);
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust img {
  max-height: 60px;
  width: auto;
  border-radius: 6px;
}

.btn-install-app {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn-install-app:hover {
  background: var(--primary, #096bea);
  border-color: var(--primary, #096bea);
}
.btn-install-app i {
  font-size: 15px;
}

.footer-contact a i {
  color: #2482f4;
  width: 14px;
  text-align: center;
}

.footer-contact a:hover {
  color: #6fc6ff;
}

.footer-col h4,
.newsletter h4 {
  font-size: 14px;
  margin: 0 0 12px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after,
.newsletter h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background: #2482f4;
  border-radius: 2px;
}

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

.footer-col a {
  color: #b5c6d9;
  text-decoration: none;
  transition: color 0.15s ease, padding-right 0.15s ease;
}

.footer-col a:hover {
  color: #6fc6ff;
  padding-right: 4px;
}

.newsletter {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.newsletter-form {
  display: flex;
  margin-top: 11px;
}

.newsletter-form input {
  height: 42px;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0 10px 10px 0;
  padding: 0 12px;
  font-family: inherit;
  font-size: 11px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.newsletter-form input::placeholder {
  color: #8ba0bc;
}

.newsletter-form button {
  border: 0;
  background: #176ae5;
  color: #fff;
  border-radius: 10px 0 0 10px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.newsletter-form button:hover {
  background: #0d5cd0;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(200, 222, 246, 0.18);
  margin-top: 30px;
  padding-top: 16px;
  color: #8da2bb;
  font-size: 10.5px;
}

.copyright a {
  color: #8da2bb;
  text-decoration: none;
}

.copyright a:hover {
  color: #6fc6ff;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 15px 0 20px;
  color: #5d7ba0;
  font-size: 13px;
}

.breadcrumb i {
  font-size: 11px;
  color: #5d7ba0;
}
.breadcrumb a {
  color: var(--primary);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
}
.breadcrumb a:hover {
  color: var(--primary-dark);
}

/* ============================================================
   PAGE LAYOUT (ticket.php)
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(410px, 0.95fr);
  grid-template-areas:
    "details  booking"
    "routing  booking"
    "content  booking";
  gap: 22px;
  direction: ltr;
  align-items: start;
  padding: 6px 0 40px;
}

/* جایگاه هر بلوک در گرید */
.details-section {
  grid-area: details;
  direction: rtl;
}
.booking-card {
  grid-area: booking;
  direction: rtl;
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.routing-section {
  grid-area: routing;
  direction: rtl;
}
.content-card {
  grid-area: content;
  direction: rtl;
}

/* ============================================================
   DETAILS
   ============================================================ */
.title-row {
  display: flex;
  justify-content: flex-start;
  text-align: right;
}

.date-label {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 9px 20px;
  color: #fff;
  background: var(--primary);
  border-radius: 25px;
  font-size: 13px;
}

.date-label i {
  font-size: 17px;
}

h1 {
  margin-top: 14px;
  color: #073c80;
  font-size: 37px;
  font-weight: 800;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #17457f;
  font-size: 21px;
  font-weight: 700;
}

.rating .star {
  color: #f3b91d;
  font-size: 29px;
}
.rating small {
  color: #23497d;
  font-size: 13px;
  font-weight: 400;
}

.intro {
  max-width: 550px;
  margin: 13px 0 18px;
  color: #51709a;
  font-size: 14px;
  line-height: 2.1;
}

.hero-image {
  width: 100%;
  height: 294px;
  overflow: hidden;
  border-radius: 14px;
  background: #ddd;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.gallery-item {
  position: relative;
  height: 86px;
  overflow: hidden;
  border-radius: 10px;
}

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

.more-images span {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.more-images::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0;
  padding: 18px 8px;
  background: linear-gradient(135deg, #f3f9ff 0%, #eaf4ff 100%);
  border: 1px solid #dfeefc;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(72, 131, 177, 0.07);
}

.feature {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-left: 1px solid rgba(59, 130, 210, 0.16);
  color: #42668f;
  text-align: center;
  font-size: 12px;
}

.feature:last-child {
  border-left: 0;
}
.feature strong {
  color: #134278;
  font-size: 12px;
  font-weight: 700;
}
.feature span {
  font-size: 11px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(72, 131, 177, 0.15);
  border-radius: 50%;
  font-size: 18px;
}

/* ============================================================
   CONTENT CARD + TABS
   ============================================================ */
.content-card {
  overflow: hidden;
  border: 1px solid #dce9f4;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 24px rgba(72, 131, 177, 0.08);
  backdrop-filter: blur(6px);
}

.tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 58px;
  padding: 0 25px;
  border-bottom: 1px solid #e3edf6;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs button {
  position: relative;
  height: 60px;
  color: #315980;
  background: transparent;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}

.tabs button:hover {
  color: var(--primary);
}

.tabs button.active {
  color: var(--primary);
  font-weight: 700;
}

.tabs button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

.tab-panel {
  display: none;
  animation: fadeInTab 0.3s ease;
}
.tab-panel.active {
  display: block;
}

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

.description {
  padding: 28px 28px 15px;
}

.description h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #10407b;
  font-size: 18px;
}

.description h2 i {
  color: var(--primary);
  font-size: 22px;
}
.description p {
  margin-top: 15px;
  color: #55759d;
  font-size: 14px;
  line-height: 2.2;
}

.description-content {
  margin-top: 15px;
  color: #55759d;
  font-size: 14px;
  line-height: 2.2;
}
.description-content p {
  margin-top: 15px;
}
.description-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13px;
}
.description-content table,
.description-content th,
.description-content td {
  border: 1px solid #e3edf6;
}
.description-content th,
.description-content td {
  padding: 10px 12px;
  text-align: right;
}
.description-content th {
  background: #f7fafd;
  color: #10407b;
  font-weight: 700;
}
.description-content ul,
.description-content ol {
  margin: 10px 0;
  padding-inline-start: 22px;
}
/* روی موبایل جدول‌های عریض به‌جای شکستن، اسکرول افقی می‌گیرند */
@media (max-width: 640px) {
  .description-content {
    overflow-x: auto;
  }
}

/* کارت تبلیغاتیِ درون‌متنی برای معرفی بلیط/پکیج داخل توضیحات یا بلاگ */
.content-embed-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f7fafd;
  border: 1px solid #e3edf6;
  border-radius: 14px;
  padding: 10px;
  margin: 18px 0;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.content-embed-card:hover {
  border-color: var(--primary, #096bea);
  box-shadow: 0 4px 14px rgba(9, 107, 234, 0.12);
}
.content-embed-card img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.content-embed-body {
  flex: 1;
  min-width: 0;
}
.content-embed-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary, #096bea);
  background: #e7f1fd;
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 4px;
}
.content-embed-tag.package {
  color: #b8860b;
  background: #fdf3d9;
}
.content-embed-body h4 {
  margin: 2px 0;
  font-size: 14px;
  color: #10407b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content-embed-body strong {
  font-size: 13px;
  color: #55759d;
}
.content-embed-arrow {
  color: #9db3cc;
  font-size: 14px;
  flex-shrink: 0;
}

.notice {
  margin-top: 17px;
  padding: 16px 20px;
  border: 1px solid #e0edf8;
  border-radius: 12px;
  background: #f0f8ff;
}

.notice h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #0768dc;
  font-size: 15px;
}

.notice ul {
  padding-right: 17px;
  color: #53759d;
  font-size: 12px;
  line-height: 2.4;
}

/* ============================================================
   SERVICE ROW
   ============================================================ */
.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 0 28px 25px;
}

.service-row > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 10px;
}

.service-row i {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary);
  border: 1px solid #c9e3fc;
  border-radius: 50%;
  background: #f0f8ff;
  font-size: 18px;
}

.service-row strong {
  color: #174a86;
  font-size: 12px;
}
.service-row span {
  color: #6684a8;
  font-size: 10px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid #e0edf8;
  border-radius: 12px;
  background: #f7fbff;
  transition: 0.2s ease;
}

.service-item:hover {
  border-color: #c9e3fc;
  background: #eef7ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 107, 234, 0.06);
}

.service-item > i {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 18px;
  border: 1px solid #c9e3fc;
}

.service-item strong {
  display: block;
  color: #174a86;
  font-size: 13px;
  margin-bottom: 3px;
}

.service-item span {
  display: block;
  color: #6684a8;
  font-size: 11px;
  line-height: 1.6;
}

/* ============================================================
   RULES LIST
   ============================================================ */
.rules-list {
  margin-top: 18px;
  padding-right: 22px;
  list-style: none;
  counter-reset: ruleCounter;
}

.rules-list li {
  position: relative;
  padding: 12px 48px 12px 16px;
  margin-bottom: 10px;
  border: 1px solid #e6eff7;
  border-radius: 12px;
  background: #fafcff;
  color: #4f6f97;
  font-size: 13px;
  line-height: 2;
  counter-increment: ruleCounter;
}

.rules-list li::before {
  content: counter(ruleCounter);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.rules-list li strong {
  color: #16477f;
  font-weight: 700;
}

/* ============================================================
   REVIEWS SUMMARY
   ============================================================ */
.reviews-summary {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  align-items: center;
  margin: 20px 0 25px;
  padding: 22px 24px;
  background: #f7fbff;
  border: 1px solid #e0edf8;
  border-radius: 14px;
}

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

.score-big {
  font-size: 46px;
  font-weight: 800;
  color: #073c80;
  line-height: 1;
  margin-bottom: 8px;
}

.score-stars {
  color: #f3b91d;
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.score-count {
  font-size: 11px;
  color: #6681a8;
}

.reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.review-bar-row {
  display: grid;
  grid-template-columns: 60px 1fr 38px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #4f6f97;
}

.review-bar {
  height: 8px;
  border-radius: 4px;
  background: #e4edf6;
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f3b91d, #f7d060);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* ============================================================
   REVIEW FORM
   ============================================================ */
.review-form-card {
  margin: 25px 0;
  padding: 22px 24px;
  background: linear-gradient(135deg, #f7fbff, #eef7ff);
  border: 1px solid #d3e8fb;
  border-radius: 16px;
}

.review-form-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #16477f;
  margin: 0 0 18px;
  font-weight: 700;
}

.review-form-card h3 i {
  color: var(--primary);
  font-size: 18px;
}
.review-form-card .form-group {
  margin-bottom: 18px;
}

.review-form-card .form-group label {
  display: block;
  font-size: 13px;
  color: #315980;
  margin-bottom: 8px;
  font-weight: 600;
}

.review-form-card .required {
  color: var(--danger);
  margin-right: 3px;
}

.review-form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d6e6f4;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13px;
  color: #224d82;
  background: #fff;
  resize: vertical;
  min-height: 120px;
  transition: 0.2s;
  line-height: 1.9;
}

.review-form-card textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(9, 107, 234, 0.08);
}

.char-counter {
  text-align: left;
  font-size: 11px;
  color: #8392a7;
  margin-top: 6px;
  direction: rtl;
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 5px;
  direction: ltr;
}

.star-rating input {
  display: none;
}

.star-rating label {
  cursor: pointer;
  color: #d6e4f0;
  font-size: 28px;
  transition: 0.15s;
  margin: 0;
  line-height: 1;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #f3b91d;
  transform: scale(1.08);
}

#reviewAlert {
  margin-bottom: 14px;
}

#reviewAlert .alert-error,
#reviewAlert .alert-success {
  padding: 11px 15px;
  border-radius: 10px;
  font-size: 12.5px;
  margin: 0;
  line-height: 1.8;
}

.review-login-notice {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px dashed #c9e3fc;
  border-radius: 14px;
}

.review-login-notice > i {
  font-size: 38px;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}

.review-login-notice p {
  color: #4f6f97;
  font-size: 13px;
  margin-bottom: 18px;
  line-height: 1.8;
}

.btn-login-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 30px;
  background: linear-gradient(90deg, #0871f5, #075ddd);
  color: #fff;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.btn-login-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(8, 105, 231, 0.24);
}

/* ============================================================
   REVIEWS LIST
   ============================================================ */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.review-item {
  padding: 16px 18px;
  border: 1px solid #e6eff7;
  border-radius: 14px;
  background: #fff;
  transition: 0.2s;
}

.review-item:hover {
  border-color: #c9e3fc;
  box-shadow: 0 4px 12px rgba(9, 107, 234, 0.05);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef7ff;
  color: var(--primary);
  font-size: 16px;
  border: 1px solid #d3e8fb;
}

.review-meta {
  flex: 1;
}
.review-meta strong {
  display: block;
  color: #16477f;
  font-size: 13px;
  margin-bottom: 2px;
}
.review-meta span {
  font-size: 11px;
  color: #8392a7;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: #d6e4f0;
  font-size: 13px;
}

.review-stars i.active {
  color: #f3b91d;
}

.review-text {
  color: #4f6f97;
  font-size: 13px;
  line-height: 2;
  margin: 0;
}

/* ============================================================
   BOOKING CARD
   ============================================================ */
.booking-card {
  padding: 20px 22px;
  border: 1px solid #dbe9f5;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(83, 135, 180, 0.1);
  backdrop-filter: blur(6px);
}

.booking-header,
.ticket-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #16477f;
}

.booking-header h2,
.ticket-title h2 {
  font-size: 18px;
  font-weight: 800;
}
.booking-header i,
.ticket-title i {
  color: var(--primary);
  font-size: 22px;
}

.calendar {
  margin-top: 16px;
}

.date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.date-chip {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e3edf6;
  background: #fff;
  color: #1e3454;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: 0.15s ease;
}

.date-chip:hover {
  border-color: var(--primary);
}

.date-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.custom-date-wrap {
  margin-top: 10px;
}

.custom-date-wrap[hidden] {
  display: none;
}

.custom-date-wrap .datepicker-plot-area {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  border: 1px solid #e3edf6;
  border-radius: 12px;
  box-shadow: none;
}

.calendar-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 11px 0 30px;
  padding: 13px 15px;
  border: 1px solid #d3e8fb;
  border-radius: 13px;
  background: #f0f8ff;
}

.calendar-info i {
  margin-top: 3px;
  color: var(--primary);
  font-size: 18px;
}
.calendar-info p {
  color: #4f739b;
  font-size: 11px;
  line-height: 1.9;
}

.ticket-title {
  margin-bottom: 15px;
}
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 12px 13px;
  border: 1px solid #e2edf6;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.ticket-radio,
.ticket-icon {
  align-self: center;
}

/* نشان‌های قوانین/شرایط هر نوع بلیط (جنسیت، حداقل نفرات، ظرفیت و ...) */
.ticket-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
}

.ticket-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  background: #eef5fc;
  color: #2c6cad;
  white-space: nowrap;
}

.ticket-tag i {
  font-size: 9px;
}

/* بخش توضیحات/قوانین اختصاصی همان بلیط */
.ticket-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed #e3edf6;
  font-size: 10px;
  color: #8392a7;
  line-height: 1.8;
}

.ticket-note i {
  margin-top: 2px;
  color: #cf9a1a;
  font-size: 10px;
}

.ticket:hover,
.ticket.active {
  border-color: #378be9;
  box-shadow: 0 4px 14px rgba(17, 113, 223, 0.08);
}

.ticket input {
  display: none;
}

.ticket-radio {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #d6e4f0;
  border-radius: 50%;
}

.ticket.active .ticket-radio {
  border: 5px solid #fff;
  background: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.ticket-content {
  flex: 1;
}
.ticket-content h3 {
  margin-bottom: 5px;
  color: #17477f;
  font-size: 14px;
}
.ticket-content p {
  margin-bottom: 5px;
  color: #6685a8;
  font-size: 10px;
}
.ticket-content strong {
  color: #315883;
  font-size: 12px;
}

.ticket-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 21px;
}

.ticket-icon.blue {
  color: #096bea;
  background: #e9f4ff;
}
.ticket-icon.pink {
  color: #dc5aa4;
  background: #fff0f8;
}
.ticket-icon.gold {
  color: #e0aa0b;
  background: #fff8df;
}
.ticket-icon.purple {
  color: #7c55d4;
  background: #f1ebff;
}

.checkout {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid #e3edf6;
  color: #245487;
  font-size: 13px;
}

.checkout strong {
  font-size: 14px;
}

.checkout button {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  color: #fff;
  background: linear-gradient(90deg, #0871f5, #075ddd);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s ease;
}

.checkout button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(8, 105, 231, 0.24);
}

.checkout button i {
  margin-right: 8px;
}

/* ============================================================
   AUTH
   ============================================================ */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-card {
  width: min(420px, 100%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbe9f5;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 15px 40px rgba(37, 113, 181, 0.1);
  text-align: center;
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--primary);
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}

.auth-brand .brand-logo {
  height: 30px;
}
.auth-card h2 {
  font-size: 20px;
  color: #073c80;
  margin-bottom: 8px;
}

.auth-desc {
  font-size: 12px;
  color: #6681a8;
  margin-bottom: 28px;
  line-height: 1.8;
}

.auth-back {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  color: var(--primary);
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #315980;
  margin-bottom: 7px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #d6e6f4;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: #224d82;
  background: #fafcff;
  transition: 0.2s;
}

.form-group textarea {
  height: auto;
  min-height: 100px;
  padding: 14px 16px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(9, 107, 234, 0.08);
  background: #fff;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  height: 54px;
  background: linear-gradient(90deg, #0871f5, #075ddd);
  color: #fff;
  border: none;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(8, 105, 231, 0.24);
}

.btn-full {
  width: 100%;
  margin-top: 8px;
}

.btn-apply {
  height: 50px;
  padding: 0 22px;
  background: #eef7ff;
  color: var(--primary);
  border: 1px solid #c9e3fc;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

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

/* ============================================================
   ALERTS
   ============================================================ */
.alert-error {
  background: #fff0f0;
  border: 1px solid #ffcccc;
  color: #c0392b;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 20px;
}

.alert-success {
  background: #f0fff4;
  border: 1px solid #c6f6d5;
  color: #22543d;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 20px;
}

/* ============================================================
   CART
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
  direction: rtl;
}

.cart-form-card,
.cart-summary-card {
  background: rgba(255, 255, 255, 0.89);
  border: 1px solid #dbe9f5;
  border-radius: 17px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(83, 135, 180, 0.06);
}

.cart-form-card h2,
.cart-summary-card h2 {
  font-size: 18px;
  color: #16477f;
  margin-bottom: 20px;
  font-weight: 800;
}

.coupon-row {
  display: flex;
  gap: 8px;
}
.coupon-row input {
  flex: 1;
}

.coupon-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff2d9 100%);
  border: 1.5px dashed #f0b93a;
  border-radius: 16px;
}

.coupon-box-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffb62d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 4px 10px rgba(255, 182, 45, 0.35);
}

.coupon-box-body {
  flex: 1;
  min-width: 0;
}

.coupon-box-body h2 {
  font-size: 14px !important;
  color: #8a5a00 !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
}

.coupon-box .coupon-row input {
  height: 46px;
  background: #fff;
  border: 1px solid #f3d99a;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13px;
}

.coupon-box .btn-apply {
  height: 46px;
}

@media (max-width: 480px) {
  .coupon-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eef3f9;
  font-size: 13px;
  color: #315980;
}

.summary-item strong {
  color: #16477f;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  margin-top: 8px;
  border-top: 2px solid #dbe9f5;
  font-size: 15px;
  font-weight: 700;
  color: #16477f;
}

.summary-total strong {
  font-size: 18px;
  color: var(--primary);
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 17px;
  border: 1px solid #dbe9f5;
}

.empty-cart i {
  font-size: 64px;
  color: #c9d8e9;
  margin-bottom: 20px;
  display: block;
}

/* ============================================================
   DATE PICKER CUSTOM
   ============================================================ */
.datepicker-plot-area {
  font-family: "Vazirmatn", sans-serif !important;
  direction: rtl;
  border-radius: 14px !important;
  box-shadow: 0 15px 40px rgba(37, 113, 181, 0.15) !important;
  border: 1px solid #dbe9f5 !important;
}

.datepicker-day-view .table-days td span {
  color: #315980 !important;
  font-family: "Vazirmatn", sans-serif !important;
}

.datepicker-day-view .table-days td.selected span {
  background: var(--primary) !important;
  color: #fff !important;
}

/* ============================================================
   RESPONSIVE — INDEX
   ============================================================ */
@media (max-width: 1100px) {
  .page-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "details"
      "booking"
      "routing"
      "content";
  }

  .booking-card {
    order: unset;
    position: static;
  }
  .details-section {
    order: unset;
  }

  .main-menu {
    gap: 25px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .booking-card {
    order: 2;
  }
  .details-section {
    order: 1;
  }
  .main-menu {
    gap: 25px;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .hero-nav .nav-links {
    gap: 18px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories {
    grid-template-columns: repeat(4, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .app-promo {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .island-card {
    grid-column: 1 / -1;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-field {
    padding: 0 11px;
  }
}

@media (max-width: 700px) {
  .container,
  .header-inner {
    width: min(100% - 28px, 600px);
  }
  .header-inner {
    min-height: 58px;
    padding: 0 14px;
  }
  .header-inner .brand {
    font-size: 16px;
    gap: 5px;
  }
  .header-inner .brand i {
    font-size: 14px;
  }
  .header-inner .brand .brand-logo {
    height: 24px;
  }

  .lightbox-content {
    max-width: 92vw;
    max-height: 68vh;
  }
  .lightbox-content img,
  .lightbox-content video {
    max-height: 68vh;
  }
  .lightbox-close {
    width: 36px;
    height: 36px;
    top: 10px;
    left: 10px;
    font-size: 16px;
  }
  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .lightbox-nav.prev {
    right: 6px;
  }
  .lightbox-nav.next {
    left: 6px;
  }
  .lightbox-counter {
    bottom: 12px;
    right: 14px;
    font-size: 11px;
    padding: 4px 10px;
  }
  .lightbox-thumbs {
    max-width: 92vw;
    bottom: 10px;
    gap: 6px;
  }
  .lightbox-thumb {
    width: 44px;
    height: 44px;
  }
  .main-menu {
    display: none;
  }
  .header-actions {
    gap: 15px;
  }
  .header-actions .login {
    font-size: 11px;
  }
  .header-actions i {
    font-size: 18px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  h1 {
    font-size: 27px;
  }
  .intro {
    font-size: 12px;
  }
  .hero-image {
    height: 220px;
  }
  .gallery {
    gap: 6px;
  }
  .gallery-item {
    height: 62px;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 0;
  }
  .feature:nth-child(2) {
    border-left: 0;
  }
  .tabs {
    gap: 20px;
    padding: 0 12px;
  }
  .tabs button {
    font-size: 11px;
  }
  .description {
    padding: 20px 16px 12px;
  }
  .description h2 {
    font-size: 15px;
  }
  .description p {
    font-size: 12px;
  }
  .notice {
    padding: 12px;
  }
  .notice ul {
    font-size: 10px;
  }
  .service-row {
    grid-template-columns: 1fr;
    padding: 0 16px 20px;
  }
  .booking-card {
    padding: 16px 13px;
  }
  .auth-card {
    padding: 30px 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col {
    display: none;
  }
  .cart-form-card,
  .cart-summary-card {
    padding: 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .reviews-summary {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px;
  }
  .rules-list li {
    padding: 10px 42px 10px 12px;
    font-size: 12px;
  }
  .rules-list li::before {
    width: 22px;
    height: 22px;
    font-size: 11px;
    right: 10px;
  }
  .review-header {
    flex-wrap: wrap;
  }
  .review-stars {
    width: 100%;
    justify-content: flex-start;
  }
  .review-form-card {
    padding: 18px 14px;
  }
  .star-rating label {
    font-size: 24px;
  }
  .review-form-card h3 {
    font-size: 14px;
  }
}

@media (max-width: 670px) {
  .hero-nav,
  .search-panel {
    width: calc(100% - 28px);
  }
  .hero-nav {
    padding: 0 15px;
  }
  .hero-nav .nav-links {
    display: none;
  }
  .hero {
    min-height: 590px;
  }
  .hero-content {
    padding-top: 102px;
    justify-content: flex-start;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 14px;
  }
  .search-panel {
    bottom: 25px;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 7px;
  }
  .search-field {
    height: 55px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
    padding: 0 7px;
  }
  .search-field:nth-of-type(odd) {
    border-left: 1px solid var(--line);
  }
  .search-field:last-of-type {
    border-bottom: 0;
  }
  .search-btn {
    grid-column: 1 / -1;
    width: 100%;
    height: 48px;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .categories {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 8px;
  }
  .category-icon {
    height: 54px;
    font-size: 23px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .photo {
    height: 190px;
  }
  .trust-grid {
    gap: 18px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .hero-nav .login span {
    display: none;
  }
  .hero-nav .nav-actions {
    gap: 9px;
  }
  .hero-nav .brand {
    font-size: 16px;
    gap: 5px;
  }
  .hero-nav .brand i {
    font-size: 14px;
  }
  .hero-nav .brand .brand-logo {
    height: 22px;
  }
}
/* ============================================================
   PRODUCT GALLERY (ticket.php)
   ============================================================ */
.product-gallery {
  width: 100%;
  margin-bottom: 16px;
}

.gallery-main {
  position: relative;
  width: 100%;
  height: 294px;
  border-radius: 14px;
  overflow: hidden;
  background: #d6e6f4;
  cursor: zoom-in;
}

.gallery-main-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.gallery-main-stage img,
.gallery-main-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
}

.gallery-main-stage video {
  cursor: pointer;
}

/* دکمه‌های ناوبری */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #16477f;
  font-size: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition:
    opacity 0.2s,
    background 0.2s,
    transform 0.2s;
  z-index: 3;
}

.gallery-main:hover .gallery-nav {
  opacity: 1;
}

.gallery-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav.prev {
  right: 12px;
}
.gallery-nav.next {
  left: 12px;
}

/* شمارنده */
.gallery-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(6px);
}

.gallery-counter i {
  font-size: 11px;
}

/* دکمه بزرگنمایی */
.gallery-zoom {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #16477f;
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: 0.2s;
  z-index: 2;
}

.gallery-zoom:hover {
  background: #fff;
  transform: scale(1.08);
}

/* بندانگشتی‌ها */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  position: relative;
  height: 86px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #cce8ff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover {
  transform: translateY(-2px);
}

.gallery-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(9, 107, 234, 0.18);
}

/* آیکون پلی روی بندانگشتی ویدیو */
.thumb-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 20, 40, 0.94);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
  animation: lightboxFade 0.25s ease;
}

@keyframes lightboxFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 90vw;
  max-height: 78vh;
  display: grid;
  place-items: center;
  box-sizing: border-box;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: block;
}

/* دکمه بستن */
.lightbox-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

/* دکمه‌های ناوبری */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav.prev {
  right: 30px;
}
.lightbox-nav.next {
  left: 30px;
}

/* شمارنده Lightbox */
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  right: 30px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

/* بندانگشتی‌های Lightbox */
.lightbox-thumbs {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  max-width: 60vw;
  overflow-x: auto;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  scrollbar-width: thin;
}

.lightbox-thumbs::-webkit-scrollbar {
  height: 5px;
}
.lightbox-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.lightbox-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  transition: 0.2s;
  opacity: 0.55;
}

.lightbox-thumb:hover {
  opacity: 1;
}

.lightbox-thumb.active {
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(9, 107, 234, 0.6);
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-thumb .thumb-play-icon {
  width: 22px;
  height: 22px;
  font-size: 9px;
}

/* جلوگیری از اسکرول بدنه وقتی Lightbox باز است */
body.lightbox-open {
  overflow: hidden;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .lightbox-nav.prev {
    right: 12px;
  }
  .lightbox-nav.next {
    left: 12px;
  }

  .lightbox-close {
    top: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .lightbox-thumbs {
    max-width: 80vw;
  }
}

@media (max-width: 700px) {
  .gallery-main {
    height: 240px;
  }

  .gallery-nav {
    opacity: 1;
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
    gap: 8px;
  }
  .gallery-thumb {
    height: 66px;
  }

  .lightbox-content img,
  .lightbox-content video {
    max-width: 96vw;
    max-height: 68vh;
  }

  .lightbox-thumbs {
    max-width: 92vw;
    bottom: 12px;
  }
  .lightbox-thumb {
    width: 48px;
    height: 48px;
  }

  .lightbox-counter {
    bottom: 82px;
    right: 50%;
    transform: translateX(50%);
  }
}
/* ============================================================
   PAGE CONTENT (about, faq, contact)
   ============================================================ */
.page-content {
  padding: 10px 0 40px;
}

/* ============================================================
   PAGE HERO (سربرگ صفحات داخلی)
   ============================================================ */
.page-hero {
  border-radius: 20px;
  padding: 50px 40px;
  margin-bottom: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(0, 80, 180, 0.72),
    rgba(9, 107, 234, 0.55)
  );
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80")
    center / cover no-repeat;
}

.about-hero::after {
  background-image: url("https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=1600&q=80");
}

.faq-hero::after {
  background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80");
}

.contact-hero::after {
  background-image: url("https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&w=1600&q=80");
}

.page-hero-content {
  max-width: 720px;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.page-hero h1 {
  font-size: 34px;
  margin: 0 0 14px;
  color: #fff;
  line-height: 1.5;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.page-hero p {
  font-size: 15px;
  line-height: 2;
  color: #e8f4ff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   ABOUT — داستان ما
   ============================================================ */
.about-story {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dbe9f5;
  border-radius: 17px;
  padding: 36px 34px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(83, 135, 180, 0.06);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-story-text h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #16477f;
  font-size: 20px;
  margin-bottom: 18px;
  font-weight: 800;
}

.about-story-text h2 i {
  color: var(--primary);
}

.about-story-text p {
  color: #51709a;
  font-size: 14px;
  line-height: 2.1;
  margin-bottom: 14px;
}

.about-story-text p strong {
  color: var(--primary);
  font-weight: 700;
}

.about-story-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.visual-card {
  background: linear-gradient(135deg, #f7fbff, #eef7ff);
  border: 1px solid #d3e8fb;
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  transition: 0.2s;
}

.visual-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(9, 107, 234, 0.1);
}

.visual-card i {
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.visual-card b {
  display: block;
  color: #073c80;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.visual-card span {
  color: #6681a8;
  font-size: 11px;
}

/* ============================================================
   ABOUT — ارزش‌ها
   ============================================================ */
.about-values {
  margin-bottom: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.value-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe9f5;
  border-radius: 17px;
  padding: 28px 22px;
  text-align: center;
  transition: 0.25s;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(83, 135, 180, 0.12);
  border-color: #c9e3fc;
}

.value-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eef7ff, #d3e8fb);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.value-card h3 {
  color: #16477f;
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 800;
}

.value-card p {
  color: #6681a8;
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
}

/* ============================================================
   CTA Box
   ============================================================ */
.cta-box {
  background: linear-gradient(120deg, #073c80, #096bea);
  border-radius: 18px;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #fff;
  box-shadow: 0 15px 40px rgba(9, 107, 234, 0.25);
}

.cta-box .cta-content {
  flex: 1;
}

.cta-box h2 {
  font-size: 20px;
  margin: 0 0 6px;
  font-weight: 800;
  color: #fff;
}

.cta-box p {
  font-size: 13px;
  margin: 0;
  color: #d3e8fb;
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--primary);
  min-width: 200px;
  height: 50px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.faq-cat-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe9f5;
  border-radius: 15px;
  padding: 20px 14px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

.faq-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(9, 107, 234, 0.1);
}

.faq-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef7ff, #d3e8fb);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin: 0 auto 12px;
}

.faq-cat-card h3 {
  font-size: 14px;
  color: #16477f;
  margin: 0 0 4px;
  font-weight: 700;
}

.faq-cat-card span {
  font-size: 11px;
  color: #6681a8;
}

.faq-group {
  margin-bottom: 35px;
  scroll-margin-top: 100px;
}

.faq-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #16477f;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0edf8;
}

.faq-group-title i {
  color: var(--primary);
  font-size: 20px;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e0edf8;
  border-radius: 14px;
  overflow: hidden;
  transition: 0.2s;
}

.accordion-item:hover {
  border-color: #c9e3fc;
}

.accordion-item.open {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(9, 107, 234, 0.08);
}

.accordion-head {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: #16477f;
  transition: 0.2s;
}

.accordion-head:hover {
  color: var(--primary);
}

.accordion-q {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  line-height: 1.7;
}

.accordion-q i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.accordion-icon {
  color: #6681a8;
  font-size: 13px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  padding: 0 22px;
}

.accordion-item.open .accordion-body {
  max-height: 500px;
  padding: 0 22px 20px 22px;
}

.accordion-body p {
  color: #55759d;
  font-size: 13px;
  line-height: 2.1;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #eef4fa;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe9f5;
  border-radius: 15px;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(9, 107, 234, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-icon.blue {
  background: #e6f2ff;
  color: #096bea;
}
.contact-icon.green {
  background: #def7e4;
  color: #13a252;
}
.contact-icon.purple {
  background: #f1ebff;
  color: #7c55d4;
}
.contact-icon.orange {
  background: #fff0dc;
  color: #f49921;
}

.contact-info {
  flex: 1;
  min-width: 0;
}

.contact-info h3 {
  font-size: 12px;
  color: #6681a8;
  margin: 0 0 4px;
  font-weight: 600;
}

.contact-info strong {
  display: block;
  color: #16477f;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
  direction: ltr;
  text-align: right;
  word-break: break-word;
}

.contact-info span {
  font-size: 10px;
  color: #8392a7;
}

/* Main contact area */
.contact-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  margin-bottom: 30px;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbe9f5;
  border-radius: 17px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(83, 135, 180, 0.06);
}

.contact-form-wrapper h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #16477f;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-form-wrapper h2 i {
  color: var(--primary);
}

.contact-form-wrapper > p {
  color: #6681a8;
  font-size: 12px;
  margin-bottom: 22px;
}

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

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #d6e6f4;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13px;
  color: #224d82;
  background: #fafcff;
  transition: 0.2s;
}

.contact-form .form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236681a8' stroke-width='2' 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 16px center;
  padding-left: 40px;
}

.contact-form .form-group textarea {
  height: auto;
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.9;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(9, 107, 234, 0.08);
}

.contact-form .form-group label {
  display: block;
  font-size: 12.5px;
  color: #315980;
  margin-bottom: 7px;
  font-weight: 600;
}

.contact-form .required {
  color: var(--danger);
}

/* Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbe9f5;
  border-radius: 15px;
  padding: 22px;
}

.sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #16477f;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 16px;
}

.sidebar-card h3 i {
  color: var(--primary);
  font-size: 16px;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f7fbff;
  border-radius: 10px;
  font-size: 12px;
  color: #6681a8;
}

.hours-list li strong {
  color: #16477f;
  font-weight: 700;
  direction: ltr;
}

.hours-list li.highlight {
  background: linear-gradient(90deg, #eef7ff, #e0efff);
  border: 1px solid #c9e3fc;
}

.hours-list li.highlight strong {
  color: var(--primary);
}

.social-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-item {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f8ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: 0.2s;
  border: 1px solid #d3e8fb;
}

.social-item:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(9, 107, 234, 0.25);
}

.faq-mini p {
  color: #6681a8;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 12px;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  transition: gap 0.2s;
}

.mini-link:hover {
  gap: 12px;
}

/* Map */
.contact-map h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #16477f;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-map h2 i {
  color: var(--primary);
}

.map-wrapper {
  width: 100%;
  height: 400px;
  border-radius: 17px;
  overflow: hidden;
  border: 1px solid #dbe9f5;
  box-shadow: 0 4px 20px rgba(83, 135, 180, 0.06);
}

.map-wrapper iframe {
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-main {
    grid-template-columns: 1fr;
  }
  .faq-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .page-hero {
    padding: 35px 22px;
  }
  .page-hero h1 {
    font-size: 22px;
  }
  .page-hero p {
    font-size: 13px;
  }

  .about-story {
    padding: 24px 20px;
  }
  .about-story-text h2 {
    font-size: 16px;
  }
  .about-story-text p {
    font-size: 13px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .value-card {
    padding: 22px 18px;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
    gap: 16px;
  }
  .cta-box h2 {
    font-size: 16px;
  }
  .cta-box .btn-primary {
    width: 100%;
  }

  .faq-categories {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .faq-cat-card {
    padding: 16px 10px;
  }
  .faq-cat-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .faq-cat-card h3 {
    font-size: 12px;
  }

  .faq-group-title {
    font-size: 15px;
  }
  .accordion-head {
    padding: 15px 16px;
    font-size: 13px;
  }
  .accordion-body {
    padding: 0 16px;
  }
  .accordion-item.open .accordion-body {
    padding: 0 16px 16px;
  }
  .accordion-body p {
    font-size: 12px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 22px 18px;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    height: 300px;
  }
  .contact-map h2 {
    font-size: 15px;
  }
}
/* ============================================================
   ROUTING SECTION (ticket.php)
   ============================================================ */
.routing-section {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dbe9f5;
  border-radius: 17px;
  padding: 24px 26px;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(83, 135, 180, 0.06);
  backdrop-filter: blur(6px);
}

.routing-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #16477f;
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px;
}

.routing-header h2 i {
  color: var(--primary);
  font-size: 20px;
}

.routing-header p {
  color: #6681a8;
  font-size: 12px;
  margin: 0 0 20px;
}

.routing-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.route-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px;
  border: 1px solid #e0edf8;
  border-radius: 14px;
  background: #f7fbff;
  color: #16477f;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.route-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(9, 107, 234, 0.04));
  opacity: 0;
  transition: opacity 0.25s;
}

.route-btn:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(9, 107, 234, 0.15);
}

.route-btn:hover::before {
  opacity: 1;
}

.route-btn i {
  font-size: 22px;
  transition: transform 0.25s;
}

.route-btn img,
.route-btn svg {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  transition: transform 0.25s;
}

.route-btn:hover i,
.route-btn:hover img,
.route-btn:hover svg {
  transform: scale(1.15);
}

/* رنگ اختصاصی هر سرویس (روی برچسب متنی) */
.route-btn.neshan {
  color: #0066cc;
}

.route-btn.balad {
  color: #ff6600;
}

.route-btn.google {
  color: #4285f4;
}

.route-btn.waze {
  color: #33ccff;
}
.route-btn.waze i {
  color: #33ccff;
}

.route-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.routing-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f0f8ff;
  border: 1px solid #d3e8fb;
  border-radius: 10px;
  color: #4f739b;
  font-size: 12px;
}

.routing-info i {
  color: var(--primary);
  font-size: 14px;
}

.routing-info strong {
  color: #16477f;
  direction: ltr;
  display: inline-block;
}

/* ============================================================
   ROUTING RESPONSIVE
   ============================================================ */
@media (max-width: 700px) {
  .routing-section {
    padding: 18px 16px;
  }
  .routing-actions {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .route-btn {
    padding: 14px 8px;
    font-size: 12px;
  }
  .route-btn i {
    font-size: 20px;
  }
  .routing-header h2 {
    font-size: 15px;
  }
}
/* ============================================================
   SEARCH PANEL — فرم واقعی
   ============================================================ */
.search-panel .search-select,
.search-panel .search-input-date {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  color: #8a98ad;
  width: 100%;
  padding: 0;
  margin-top: 3px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.search-panel .search-select:focus,
.search-panel .search-input-date:focus {
  color: var(--ink);
}

.search-panel .search-select option {
  color: #112e55;
  background: #fff;
  padding: 8px;
}

.search-panel .search-input-date::placeholder {
  color: #8a98ad;
}

.search-panel .search-input-date {
  padding: 0;
}

/* Fix arrow position */
.search-panel .search-field {
  position: relative;
}
.search-panel .search-field .chevron {
  pointer-events: none;
}

/* ============================================================
   کشویی سفارشی (جایگزین select بومی — کل کادر کلیک‌پذیر + لیست زیبا)
   ============================================================ */
.search-field.custom-dropdown {
  cursor: pointer;
}
.search-field-date {
  cursor: pointer;
}
.dropdown-trigger {
  display: block;
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  padding: 0;
  margin-top: 3px;
  font-family: inherit;
  font-size: 11px;
  color: #8a98ad;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-dropdown.open .dropdown-trigger,
.custom-dropdown.open .chevron {
  color: var(--primary, #096bea);
}
.custom-dropdown.open .chevron {
  transform: rotate(180deg);
}
.search-field .chevron {
  transition: transform 0.2s;
}

.dropdown-panel {
  display: none;
  /* position: fixed (نه absolute) عمداً — چون هدر (.hero) خودش overflow:hidden
     دارد (برای تصویر پس‌زمینه) و یک منوی absolute داخلش هنگام باز شدن پایین
     همان کادر بریده/پنهان می‌شد. با fixed، موقعیت دقیق با جاوااسکریپت
     (getBoundingClientRect) محاسبه و به‌عنوان top/right اینلاین ست می‌شود،
     در نتیجه از کلیپ‌شدن توسط هدر خارج می‌ماند. */
  position: fixed;
  min-width: 230px;
  max-width: 280px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(9, 72, 130, 0.2);
  padding: 8px;
  z-index: 999;
  cursor: default;
}
.dropdown-panel.open {
  display: block;
  animation: dropdownFade 0.15s ease-out;
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-option {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: #18395f;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.dropdown-option:hover {
  background: #f2f7fd;
}
.dropdown-option.active {
  background: var(--primary, #096bea);
  color: #fff;
  font-weight: 700;
}
@media (max-width: 670px) {
  .dropdown-panel {
    min-width: 200px;
    max-width: calc(100vw - 60px);
  }
}

/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */
.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe9f5;
  border-radius: 17px;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(83, 135, 180, 0.06);
}

.search-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  color: #073c80;
  margin: 0 0 6px;
  font-weight: 800;
}

.search-title i {
  color: var(--primary);
  font-size: 20px;
}

.search-subtitle {
  color: #6681a8;
  font-size: 13px;
  margin: 0;
  line-height: 1.8;
}

.search-subtitle strong {
  color: var(--primary);
}

.search-count {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #eef7ff, #d3e8fb);
  border: 1px solid #c9e3fc;
  border-radius: 14px;
  font-size: 13px;
  color: #16477f;
  white-space: nowrap;
  font-weight: 600;
}

.search-count i {
  color: var(--primary);
  font-size: 18px;
}

.search-count strong {
  font-size: 20px;
  color: var(--primary);
  font-weight: 800;
  margin: 0 4px;
}

/* Chips فیلتر */
.search-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0edf8;
  border-radius: 14px;
}

.filter-label {
  font-size: 12px;
  color: #6681a8;
  font-weight: 600;
  margin-left: 6px;
}

.filter-label i {
  color: var(--primary);
  margin-left: 4px;
}

.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f0f8ff;
  border: 1px solid #d3e8fb;
  color: #4f739b;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  white-space: nowrap;
}

.chip:hover {
  background: #e0efff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.chip.active {
  background: linear-gradient(135deg, #2b80f5, #0756d6);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(9, 107, 234, 0.25);
}

/* گرید نتایج */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .search-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .search-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 14px;
  }

  .search-title {
    font-size: 17px;
  }
  .search-count {
    padding: 10px 16px;
    font-size: 12px;
  }
  .search-count strong {
    font-size: 17px;
  }

  .search-filters {
    padding: 10px 12px;
    gap: 6px;
  }

  .filter-label {
    width: 100%;
    margin-bottom: 4px;
  }
  .chip {
    padding: 5px 12px;
    font-size: 11px;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ACCOUNT PANEL (account.php)
   ============================================================ */
.account-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 32px;
  border-radius: 22px;
  margin-bottom: 26px;
  background: linear-gradient(135deg, #f3f9ff 0%, #eaf4ff 100%);
  border: 1px solid #dfeefc;
}

.account-avatar {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(20, 60, 100, 0.1);
}

.account-hero-text {
  flex: 1;
  min-width: 0;
}

.account-hero-text h1 {
  font-size: 19px;
  color: #16324f;
  margin-bottom: 4px;
}

.account-hero-text p {
  font-size: 12.5px;
  color: #4f739b;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.account-hero-count {
  text-align: center;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.account-hero-count strong {
  display: block;
  font-size: 20px;
  color: #0c3f78;
}

.account-hero-count span {
  font-size: 10.5px;
  color: #4f739b;
}

.account-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #16324f;
  margin: 22px 0 14px;
}

.account-section-title i {
  color: var(--primary);
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e7f0f8;
  border-radius: 16px;
  transition: box-shadow 0.15s ease;
}

.order-row:hover {
  box-shadow: 0 8px 22px rgba(20, 60, 100, 0.07);
}

.order-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}

.order-row-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef6ff;
  color: var(--primary);
  font-size: 17px;
}

.order-row-main strong {
  display: block;
  font-size: 13.5px;
  color: #16324f;
  margin-bottom: 4px;
}

.order-row-meta {
  font-size: 11px;
  color: #8ba0bc;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.order-row-amount {
  font-size: 14px;
  font-weight: 700;
  color: #0c3f78;
  white-space: nowrap;
}

.order-row-actions {
  display: flex;
  gap: 8px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #d6e6f5;
  border-radius: 10px;
  color: #2c6cad;
  background: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.15s ease;
}

.btn-outline:hover {
  background: #f3f9ff;
  border-color: var(--primary);
}

/* ============================================================
   ORDER DETAIL / SUCCESS PAGE (order.php)
   ============================================================ */
.order-success-banner {
  text-align: center;
  padding: 32px 24px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #effbf3 0%, #e5f8ec 100%);
  border: 1px solid #cdeed9;
  border-radius: 20px;
}

.order-success-icon {
  font-size: 52px;
  color: var(--success, #27ae60);
  margin-bottom: 10px;
}

.order-success-banner h1 {
  font-size: 19px;
  color: #14532d;
  margin-bottom: 10px;
}

.order-success-banner p {
  font-size: 13px;
  color: #2f6b45;
  line-height: 2;
}

.order-summary-card {
  background: #fff;
  border: 1px solid #e7f0f8;
  border-radius: 18px;
  padding: 8px 22px;
  margin-bottom: 10px;
}

.order-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #f0f5fa;
  font-size: 12.5px;
  color: #7c8ea6;
}

.order-summary-row:last-child {
  border-bottom: 0;
}

.order-summary-row strong {
  color: #16324f;
  font-size: 13px;
}

.order-summary-row.total strong {
  color: var(--primary);
  font-size: 16px;
}

.tracking-code {
  direction: ltr;
  font-family: monospace;
  letter-spacing: 1px;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e7f0f8;
  border-radius: 14px;
}

.order-item-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eef6ff;
  color: var(--primary);
}

.order-item-info {
  flex: 1;
  min-width: 0;
}

.order-item-info strong {
  display: block;
  font-size: 13px;
  color: #16324f;
  margin-bottom: 4px;
}

.order-item-info span {
  font-size: 11px;
  color: #8ba0bc;
}

.order-item-price {
  font-size: 13px;
  font-weight: 700;
  color: #0c3f78;
  white-space: nowrap;
}

.order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  border-radius: 13px;
  background: #eafbf0;
  color: #1a9c4b;
  border: 1px solid #bfeed0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-call:hover {
  background: #1a9c4b;
  color: #fff;
}

@media (max-width: 600px) {
  .order-actions {
    grid-template-columns: 1fr;
  }
  .account-hero {
    flex-wrap: wrap;
  }
  .account-hero-count {
    width: 100%;
  }
}

/* ============================================================
   PRINTABLE TICKET (ticket-print.php)
   ============================================================ */
.print-body {
  background: #eef3f8;
}

.print-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid #e3edf6;
}

.print-toolbar a {
  color: #55759d;
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.print-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  background: linear-gradient(90deg, #0871f5, #075ddd);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.print-page {
  max-width: 680px;
  margin: 30px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ticket-voucher {
  background: #fff;
  border: 1px solid #e3edf6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 60, 100, 0.06);
}

.ticket-voucher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: linear-gradient(110deg, #062543, #051f39);
}

.ticket-voucher-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  direction: ltr;
}
.ticket-voucher-brand .brand-logo {
  height: 30px;
  width: auto;
}

.ticket-voucher-brand i {
  color: #2482f4;
}

.ticket-voucher-badge {
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: #cfe0f5;
  font-size: 10.5px;
  font-weight: 700;
}

.ticket-voucher-body {
  padding: 22px 24px;
}

.ticket-voucher-body h2 {
  font-size: 17px;
  color: #16324f;
  margin-bottom: 18px;
}

.ticket-voucher-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.ticket-voucher-grid div span {
  display: block;
  font-size: 10.5px;
  color: #8ba0bc;
  margin-bottom: 4px;
}

.ticket-voucher-grid div strong {
  font-size: 13px;
  color: #16324f;
}

.ticket-voucher-tracking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px dashed #cfe0f5;
  border-radius: 12px;
  background: #f8fbfe;
}

.ticket-voucher-tracking span {
  font-size: 11px;
  color: #7c8ea6;
}

.ticket-voucher-tracking strong {
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 1px;
  color: #0c3f78;
  direction: ltr;
}

.ticket-voucher-footer {
  padding: 12px 24px;
  background: #f8fbfe;
  border-top: 1px solid #eef3f8;
  font-size: 10.5px;
  color: #8ba0bc;
  line-height: 1.9;
}

@media print {
  .no-print,
  .print-toolbar {
    display: none !important;
  }
  body.print-body {
    background: #fff;
  }
  .print-page {
    margin: 0;
    max-width: none;
  }
  .ticket-voucher {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-after: always;
  }
}

/* ============================================================
   TRUST BADGES (single.php)
   ============================================================ */
.trust-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  padding: 14px 6px 4px;
  border-top: 1px dashed #e3edf6;
  margin-top: 6px;
}

.trust-mini span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #6f89a8;
}

.trust-mini i {
  color: #2fae63;
  font-size: 11px;
}

.trust-section {
  padding: 8px 28px 30px;
}

.trust-section h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  color: #10407b;
  margin-bottom: 16px;
}

.trust-section h3 i {
  color: var(--primary);
}

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

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 18px 12px;
  background: #f8fbfe;
  border: 1px solid #e7f0f8;
  border-radius: 14px;
  transition: 0.15s ease;
}

.trust-item:hover {
  border-color: #c9e3fc;
  background: #f3f9ff;
}

.trust-item i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(20, 60, 100, 0.08);
  margin-bottom: 4px;
}

.trust-item strong {
  font-size: 12.5px;
  color: #16324f;
}

.trust-item span {
  font-size: 10.5px;
  color: #8ba0bc;
  line-height: 1.7;
}

.trust-item a {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-item a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-section {
    padding: 8px 18px 24px;
  }
}

/* ============================================================
   PACKAGES / BUNDLES (single.php)
   ============================================================ */
.packages-section {
  margin-top: 10px;
}

.package-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.package-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e7f0f8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 60, 100, 0.06);
}

.package-photo {
  position: relative;
  height: 160px;
}

.package-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  background: #e0aa0b;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.package-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.package-body h3 {
  font-size: 15px;
  color: #16324f;
  margin-bottom: 8px;
}

.package-desc {
  font-size: 12px;
  color: #64809f;
  line-height: 1.9;
  margin-bottom: 12px;
}

.package-items-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  flex: 1;
}

.package-items-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #445c7a;
  padding: 6px 0;
  border-bottom: 1px dashed #eef3f8;
}

.package-items-list li:last-child {
  border-bottom: 0;
}

.package-items-list i {
  color: #2fae63;
  font-size: 12px;
}

.package-current-tag {
  margin-right: auto;
  padding: 2px 8px;
  border-radius: 10px;
  background: #eef6ff;
  color: var(--primary);
  font-size: 9.5px;
  font-weight: 700;
}

.package-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.package-old-price {
  display: block;
  font-size: 11px;
  color: #a9bccf;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.package-final-price {
  font-size: 17px;
  color: #0c3f78;
}

.package-save-badge {
  padding: 5px 10px;
  border-radius: 10px;
  background: #eafbf0;
  color: #1a9c4b;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .package-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   نوار شناور پایین صفحه (فقط موبایل) — جستجو، تماس، سبد خرید، تفریحات، خانه
   ============================================================ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9998;
  align-items: flex-end;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(9, 72, 130, 0.2);
  padding: 8px 6px 10px;
}
.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  text-decoration: none;
  color: #55759d;
  font-size: 10px;
  transition: color 0.15s;
}
.mbn-item i {
  font-size: 17px;
  color: #10407b;
  transition: color 0.15s;
}
.mbn-item:active {
  color: var(--primary, #096bea);
}
.mbn-item:active i {
  color: var(--primary, #096bea);
}
.mbn-item span {
  white-space: nowrap;
}
.mbn-cart {
  position: relative;
  margin-top: -30px;
}
.mbn-cart-circle {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary, #096bea), var(--primary-dark, #064eaa));
  box-shadow: 0 8px 18px rgba(9, 107, 234, 0.45);
  border: 4px solid #fff;
  margin-bottom: 3px;
}
.mbn-cart-circle i {
  color: #fff;
  font-size: 20px;
}
.mbn-cart-badge {
  position: absolute;
  top: -3px;
  left: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 10px;
  background: var(--danger, #e74c3c);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
  /* فضای خالی ته صفحه تا محتوا زیر نوار شناور گم نشود */
  body {
    padding-bottom: 82px;
  }
}
