@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Amiri:wght@400;700&display=swap');

:root {
  --primary-color: #1a365d;
  --secondary-color: #2b6cb0;
  --accent-color: #e53e3e;
  --light-color: #f7fafc;
  --dark-color: #2d3748;
  --text-color: #2d3748;
  --text-light: #718096;
  --border-radius: 10px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #06b6d4;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition-fast: all 0.15s ease
}

html::-webkit-scrollbar {
  width: 8px
}

html::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .1);
  border-radius: 10px
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, .1)
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #e53e3e, var(--accent-color))
}

nav.top-nav {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 10px 30px;
  font-size: .9rem;
  display: flex;
  justify-content: space-between;
  align-items: center
}

nav.top-nav .log {
  display: flex;
  gap: 15px
}

.top-nav .city-select,
.top-nav a {
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-family: Tajawal, sans-serif;
  font-size: .85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px
}

.top-nav .city-select select {
  background-color: transparent;
  padding: 0 10px;
  border: 0;
  color: #fff
}

.top-nav .city-select select option {
  color: #000
}

nav.top-nav a:hover {
  background: rgba(255, 255, 255, .3);
  transform: translateY(-2px)
}

nav.navbar {
  background-color: #fff;
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px
}

nav.navbar .nav-logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px
}

.nav-links a:hover {
  color: var(--secondary-color)
}

.nav-links a.active {
  color: var(--secondary-color);
  font-weight: 700
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px
}

.mobile-menu-btn {
  display: none;
  background: 0 0;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 8px;
  border-radius: 5px;
  transition: var(--transition)
}

.mobile-menu-btn:hover {
  background-color: rgba(43, 108, 176, .1)
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 15px rgba(0, 0, 0, .1);
  z-index: 1100;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s
}

.mobile-nav.active {
  transform: translateX(0)
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee
}

.mobile-nav-header h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin: 0
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  font-weight: 500
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  background-color: rgba(43, 108, 176, .1);
  color: var(--secondary-color)
}

.mobile-nav-links a i {
  width: 20px;
  text-align: center
}

.close-menu {
  background: 0 0;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  transition: var(--transition)
}

.close-menu:hover {
  background-color: rgba(0, 0, 0, .05)
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  z-index: 1050
}

.overlay.active {
  display: block
}

.hvr-buzz {
  display: inline-block;
  transform: perspective(1px) translateZ(0)
}

.hvr-buzz:active,
.hvr-buzz:focus,
.hvr-buzz:hover {
  animation-name: hvr-buzz;
  animation-duration: .15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite
}

@keyframes hvr-buzz {
  50% {
    transform: translateX(3px) rotate(2deg)
  }

  100% {
    transform: translateX(-3px) rotate(-2deg)
  }
}

@media (max-width:1023px) {
  .nav-links {
    display: none
  }

  .mobile-menu-btn,
  .mobile-nav {
    display: block
  }

  nav.top-nav {
    padding: 8px 15px;
    font-size: .85rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px
  }

  .top-nav .log {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center
  }

  .top-nav .city-select,
  .top-nav a {
    padding: 5px 12px;
    font-size: .8rem
  }

  nav.navbar {
    padding: 12px 15px;
    position: relative
  }

  nav.navbar .nav-logo h1 {
    font-size: 1.4rem
  }
}

@media (max-width:767px) {
  nav.top-nav {
    padding: 8px 15px;
    font-size: .85rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px
  }

  .top-nav .log {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center
  }

  .top-nav .city-select,
  .top-nav a {
    padding: 5px 12px;
    font-size: .8rem
  }

  nav.navbar {
    padding: 12px 15px;
    position: relative
  }

  .nav-links {
    display: none
  }

  .mobile-menu-btn,
  .mobile-nav {
    display: block
  }

  nav.navbar .nav-logo h1 {
    font-size: 1.4rem
  }
}

@media (max-width:479px) {
  nav.top-nav {
    flex-direction: column;
    text-align: center
  }

  .top-nav .log {
    flex-direction: column;
    width: 100%;
    gap: 8px
  }

  .top-nav .city-select,
  .top-nav a {
    width: 100%;
    justify-content: center
  }

  .mobile-nav {
    width: 100%
  }

  .mobile-nav-header h3,
  nav.nar .nav-logo h1 {
    font-size: 1.2rem
  }
}

header.site-main-header {
  position: relative;
  width: 100%;
  background: linear-gradient(rgba(26, 54, 93, .85), rgba(43, 108, 176, .85)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover
}

header .main-sitesearch {
  width: 100%;
  display: flex;
  margin: 0 auto;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
  position: relative
}

header .main-sitesearch input {
  flex: 1;
  padding: 18px 25px !important;
  border: none;
  outline: 0;
  font-family: Tajawal, sans-serif;
  font-size: 1rem;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px
}

header .main-sitesearch button {
  background: linear-gradient(to right, var(--accent-color), #fc8181);
  color: #fff;
  border: none;
  padding: 0 35px;
  cursor: pointer;
  transition: var(--transition);
  font-family: Tajawal, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px
}

header .main-sitesearch button:hover {
  background: linear-gradient(to right, #c53030, #e53e3e)
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 10px;
  border: 1px solid #e1e5e9;
  display: none;
  animation: .3s slideDown
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.search-results ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.search-results li {
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #f5f7fa;
  transition: .2s
}

.search-results li:last-child {
  border-bottom: none
}

.search-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  transition: .3s;
  text-decoration: none;
  color: #333
}

.search-item:hover {
  background: linear-gradient(135deg, #667eea 0, #764ba2 100%);
  color: #fff;
  transform: translateX(5px)
}

.search-item::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 15px;
  margin-right: 10px;
  transition: .3s
}

.search-item[data-service="0"]::before {
  background: linear-gradient(135deg, #667eea 0, #764ba2 100%)
}

.search-item[data-service="1"]::before {
  background: linear-gradient(135deg, #f093fb 0, #f5576c 100%)
}

.search-item:hover::before {
  transform: scale(1.3);
  background: #fff
}

.search-item-content {
  flex: 1;
  font-size: 16px;
  line-height: 1.5
}

.search-item-details {
  display: flex;
  flex-direction: column;
  gap: 5px
}

.search-item-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 3px
}

.search-item-category {
  font-size: 13px;
  color: #6c757d;
  background: #f8f9fa;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-left: 5px
}

.search-item:hover .search-item-category {
  background: rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .9)
}

.highlight {
  background: linear-gradient(120deg, rgba(255, 236, 210, .8) 0, rgba(252, 182, 159, .8) 100%);
  padding: 2px 4px;
  border-radius: 4px;
  color: #d35400;
  font-weight: 600
}

.search-item:hover .highlight {
  background: rgba(255, 255, 255, .3);
  color: #fff
}

.no-results {
  padding: 30px 20px;
  text-align: center;
  color: #6c757d;
  font-size: 16px
}

.no-results i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
  color: #adb5bd
}

.search-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 10px
}

.search-loader .spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: 1s linear infinite spin
}

.search-results::-webkit-scrollbar {
  width: 8px
}

.search-results::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 15px 15px 0
}

.search-results::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0, #764ba2 100%);
  border-radius: 4px
}

.search-results::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a6fd8 0, #6a4190 100%)
}

header .site-header-bg {
  position: relative;
  padding: 100px
}

header .site-header-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,224C960,224,1056,256,1152,245.3C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') 0 0/cover
}

header .site-header-bg .inner-site-header-bg {
  width: 100%;
  padding: 60px
}

header .logo-txt {
  margin-bottom: 20px;
  text-align: center;
  font-family: Tajawal, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #f5f5f5
}

header .header-txt {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #fff
}

@media (max-width:768px) {
  header.site-main-header {
    background: linear-gradient(rgba(26, 54, 93, .9), rgba(43, 108, 176, .9)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80') center/cover
  }

  header .main-sitesearch {
    flex-direction: column;
    border-radius: 15px;
    margin: 0 auto;
    max-width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2)
  }

  header .main-sitesearch input {
    padding: 15px 20px !important;
    border-radius: 15px !important;
    font-size: .95rem;
    text-align: center;
    -webkit-border-radius: 15px !important;
    -moz-border-radius: 15px !important;
    -ms-border-radius: 15px !important;
    -o-border-radius: 15px !important
  }

  header .main-sitesearch button {
    display: none;
    padding: 12px 25px;
    border-radius: 0 0 15px 15px !important;
    font-size: .95rem;
    justify-content: center;
    gap: 10px
  }

  header .site-header-bg {
    padding: 60px 20px !important
  }

  header .site-header-bg .inner-site-header-bg {
    padding: 30px 20px !important
  }

  header .logo-txt {
    font-size: 2rem !important;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.3
  }

  header .header-txt {
    font-size: 1rem !important;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: center
  }
}

@media (max-width:480px) {
  header.site-main-header {
    background: linear-gradient(rgba(26, 54, 93, .95), rgba(43, 108, 176, .95)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80') center/cover
  }

  header .main-sitesearch {
    max-width: 95%;
    border-radius: 12px
  }

  header .main-sitesearch input {
    padding: 12px 15px !important;
    font-size: .9rem
  }

  header .main-sitesearch button {
    padding: 10px 20px;
    font-size: .9rem
  }

  header .site-header-bg {
    padding: 40px 15px !important
  }

  header .site-header-bg .inner-site-header-bg {
    padding: 20px 15px !important
  }

  header .logo-txt {
    font-size: 1.7rem !important;
    margin-bottom: 12px
  }

  header .header-txt {
    font-size: .9rem !important;
    margin-bottom: 20px
  }
}

.premium-city-offers {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px
}

.section-header {
  text-align: center;
  margin-bottom: 40px
}

.section-title {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative
}

.section-title i {
  color: #fbbf24;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2))
}

.title-underline {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px
}

.section-subtitle {
  color: var(--text-light)
}

.classic-slideshow {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  margin-bottom: 30px
}

.slideshow-container {
  width: 100%;
  height: 100%
}

.slideshow-slide.fixed-ad {
  border: 3px solid var(--accent-color)
}

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden
}

.slide-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: brightness(.8);
  transition: transform 6s cubic-bezier(.25, .46, .45, .94)
}

.slideshow-slide.active .slide-background img {
  filter: brightness(1);
  transform: scale(1.1)
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 54, 93, .7) 0, rgba(43, 108, 176, .5) 50%, rgba(26, 54, 93, .8) 100%)
}

.slide-content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 80px;
  z-index: 3
}

.content-container {
  max-width: 600px;
  transform: translateX(-50px);
  opacity: 0
}

.slideshow-slide.active .content-container {
  transform: translateX(0);
  opacity: 1
}

.badge-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px
}

.feature-badge {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(229, 62, 62, .4)
}

.location-tag {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  padding: 6px 15px;
  border-radius: 15px;
  font-size: .85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .3)
}

.main-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 4px 15px rgba(0, 0, 0, .5)
}

.slide-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .95);
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
  max-width: 90%
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 15px
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  padding: 15px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(43, 108, 176, .4);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left .6s
}

.cta-button:hover {
  box-shadow: 0 8px 25px rgba(43, 108, 176, .6)
}

.cta-button:hover::before {
  left: 100%
}

.icon-button {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, .15);
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: .3s;
  backdrop-filter: blur(10px)
}

.icon-button:hover {
  background: rgba(255, 255, 255, .25);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(255, 255, 255, .2)
}

.slideshow-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 25px;
  z-index: 10
}

.control-arrow {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, .9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
  font-size: 1.1rem
}

.control-arrow:hover {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3)
}

.pagination-indicators {
  display: flex;
  gap: 12px
}

.indicator-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, .5);
  border-radius: 50%;
  cursor: pointer;
  position: relative
}

.indicator-dot.active {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, .8);
  animation: 3s infinite gentlePulse
}

.indicator-dot.active::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: 2s infinite pulse
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1
  }

  50% {
    transform: scale(1.2);
    opacity: .5
  }
}

.slideshow-container {
  position: relative;
  overflow: hidden
}

.slideshow-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .8s;
  z-index: 1
}

.slideshow-slide.active {
  opacity: 1;
  z-index: 2
}

.dash-effect {
  animation: 1.2s ease-in-out dashFade
}

.dash-bar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3)
}

@keyframes dashFade {

  0%,
  100% {
    opacity: 0
  }

  30%,
  70% {
    opacity: 1
  }
}

.random-bars-effect {
  animation: 1.2s ease-in-out barsFade
}

.random-bar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3)
}

@keyframes barsFade {

  0%,
  100% {
    opacity: 0
  }

  30%,
  70% {
    opacity: 1
  }
}

.content-container {
  transition: .8s cubic-bezier(.25, .46, .45, .94);
  transition-delay: 0.3s
}

.indicator-dot {
  transition: .4s
}

@keyframes gentlePulse {

  0%,
  100% {
    transform: scale(1.2);
    box-shadow: 0 0 0 rgba(255, 255, 255, .4)
  }

  50% {
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, .8)
  }
}

.control-arrow {
  transition: .4s cubic-bezier(.4, 0, .2, 1)
}

.control-arrow:hover {
  transform: scale(1.1);
  animation: 2s infinite gentleGlow
}

@keyframes gentleGlow {

  0%,
  100% {
    box-shadow: 0 5px 20px rgba(0, 0, 0, .2)
  }

  50% {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3)
  }
}

.ads-restore-placeholder {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px dashed #cbd5e0;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: .5s cubic-bezier(.4, 0, .2, 1);
  margin-bottom: 30px;
  cursor: pointer;
  position: relative;
  overflow: hidden
}

.ads-restore-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  transition: left .8s
}

.ads-restore-placeholder:hover::before {
  left: 100%
}

.ads-restore-placeholder:hover {
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .1)
}

.restore-content {
  position: relative;
  z-index: 2
}

.restore-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(43, 108, 176, .3);
  transition: .5s
}

.ads-restore-placeholder:hover .restore-icon {
  transform: rotate(15deg) scale(1.1)
}

.ads-restore-placeholder h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  transition: .3s
}

.ads-restore-placeholder p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.5
}

.restore-ads-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: .4s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 6px 20px rgba(43, 108, 176, .3);
  position: relative;
  overflow: hidden
}

.restore-ads-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left .6s
}

.restore-ads-btn:hover::before {
  left: 100%
}

.restore-ads-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43, 108, 176, .4)
}

.cta-button {
  transition: .4s cubic-bezier(.4, 0, .2, 1)
}

.cta-button:hover {
  transform: translateY(-2px) translateX(-2px);
  box-shadow: 0 8px 25px rgba(43, 108, 176, .4)
}

.slideshow-container * {
  transform: translateZ(0);
  backface-visibility: hidden
}

@media (max-width:768px) {
  .slideshow-slide {
    transition: opacity .6s
  }

  .dash-effect,
  .random-bars-effect {
    display: none
  }

  .ads-restore-placeholder {
    padding: 30px 20px;
    margin-bottom: 20px
  }

  .restore-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem
  }
}

.integrated-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px
}

.enhanced-ads-section {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  border: 1px solid #e2e8f0;
  transition: .3s
}

.enhanced-ads-section.hidden {
  opacity: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden
}

.ads-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9
}

.ads-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px
}

.ads-controls {
  display: flex;
  gap: 8px
}

.ads-btn {
  width: 35px;
  height: 35px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
  transition: .2s;
  font-size: .9rem
}

.ads-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
  transform: scale(1.05)
}

.enhanced-ads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.enhanced-ad {
  background: #f8fafc;
  border-radius: 15px;
  overflow: hidden;
  transition: .3s;
  border: 1px solid #e2e8f0
}

.enhanced-ad:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15)
}

.ad-visual {
  position: relative
}

.ad-image-large {
  height: 120px;
  overflow: hidden;
  position: relative
}

.ad-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s
}

.enhanced-ad:hover .ad-image-large img {
  transform: scale(1.1)
}

.ad-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .3s
}

.enhanced-ad:hover .ad-overlay {
  opacity: 1
}

.view-details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .9);
  color: var(--primary-color);
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: .8rem;
  transition: .3s
}

.view-details:hover {
  background: #fff;
  transform: scale(1.05)
}

.ad-content {
  padding: 15px
}

.ad-type-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: #fff;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: .7rem;
  font-weight: 700;
  margin-bottom: 8px
}

.static-ad .ad-type-badge {
  background: var(--accent-color)
}

.ad-content h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
  line-height: 1.3
}

.ad-excerpt {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.4
}

.ad-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(43, 108, 176, .1);
  color: var(--secondary-color);
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .8rem;
  transition: .3s;
  width: 100%;
  justify-content: center
}

.ad-link-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateX(-3px)
}

.quick-links-panel {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  padding: 25px;
  color: #fff;
  box-shadow: 0 8px 30px rgba(26, 54, 93, .3)
}

.links-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px
}

.links-header h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0
}

.links-header i {
  font-size: 1.5rem;
  color: #fbbf24
}

.quick-links-grid {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.quick-link-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, .1);
  padding: 15px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: .3s;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1)
}

.quick-link-card:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateX(-5px)
}

.link-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, .2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0
}

.link-content {
  flex: 1
}

.link-title {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 3px
}

.link-desc {
  display: block;
  font-size: .8rem;
  opacity: .8
}

.link-arrow {
  opacity: 0;
  transition: .3s;
  font-size: .9rem
}

.quick-link-card:hover .link-arrow {
  opacity: 1;
  transform: translateX(-3px)
}

@media (max-width:1024px) {
  .enhanced-ads-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px
  }
}

@media (max-width:768px) {
  .premium-city-offers {
    margin: 20px auto;
    padding: 0 15px
  }

  .section-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 10px
  }

  .classic-slideshow {
    height: 400px;
    border-radius: 15px
  }

  .slide-content-wrapper {
    padding: 0 30px
  }

  .content-container {
    max-width: 100%
  }

  .main-title {
    font-size: 2rem
  }

  .slide-description {
    font-size: 1rem;
    max-width: 100%
  }

  .action-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
  }

  .icon-button {
    width: 45px;
    height: 45px
  }

  .slideshow-controls {
    bottom: 20px;
    gap: 15px
  }

  .control-arrow {
    width: 45px;
    height: 45px;
    font-size: 1rem
  }

  .quick-links-panel {
    padding: 20px;
    display: none
  }

  .enhanced-ads-grid,
  .integrated-grid {
    grid-template-columns: 1fr;
    gap: 15px
  }

  .enhanced-ads-section {
    padding: 20px
  }

  .ads-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start
  }

  .ads-controls {
    align-self: flex-end
  }
}

@media (max-width:480px) {
  .section-title {
    font-size: 1.6rem
  }

  .classic-slideshow {
    height: 350px
  }

  .slide-content-wrapper {
    padding: 0 20px
  }

  .main-title {
    font-size: 1.6rem
  }

  .cta-button {
    padding: 12px 24px;
    font-size: .9rem
  }

  .badge-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px
  }

  .enhanced-ads-section {
    padding: 15px;
    border-radius: 15px
  }

  .enhanced-ads-grid {
    gap: 12px
  }

  .ad-image-large {
    height: 100px
  }

  .ad-content {
    padding: 12px
  }

  .ad-content h5 {
    font-size: .9rem
  }

  .ad-excerpt {
    font-size: .75rem
  }

  .ads-title {
    font-size: 1.1rem
  }
}

.compact-offers-section {
  background: linear-gradient(135deg, #fafbfc 0, #fff 100%);
  padding: 30px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0
}

.compact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9
}

.header-title {
  display: flex;
  align-items: center;
  gap: 12px
}

.header-title i {
  color: var(--accent-color);
  font-size: 1.3rem;
  background: rgba(229, 62, 62, .1);
  padding: 8px;
  border-radius: 10px
}

.header-title h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0
}

.mini-view-all {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  transition: .2s;
  background: rgba(43, 108, 176, .05)
}

.mini-view-all:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateX(-2px)
}

.offers-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px
}

.offer-card-vertical {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  border: 1px solid #f1f5f9;
  transition: .3s;
  display: flex;
  flex-direction: column
}

.offer-card-vertical:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  border-color: #e2e8f0
}

.card-image-top {
  position: relative;
  height: 160px;
  overflow: hidden
}

.card-image-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s
}

.offer-card-vertical:hover .card-image-top img {
  transform: scale(1.05)
}

.offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px
}

.card-content-vertical {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.offer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.offer-description {
  font-size: .85rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1
}

.offer-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-light)
}

.offer-location i {
  color: var(--secondary-color);
  font-size: .8rem
}

.offer-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(43, 108, 176, .1);
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  transition: .2s;
  border: 1px solid transparent;
  margin-top: auto
}

.offer-action-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateX(-2px);
  border-color: var(--secondary-color)
}

.no-offers-container {
  grid-column: 1/-1;
  text-align: center;
  padding: 40px 20px
}

.loading-offers-bar {
  background: rgba(255, 255, 255, .8);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  border: 1px solid #f1f5f9
}

.loading-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: .9rem;
  font-weight: 600
}

.loading-text i {
  color: var(--secondary-color)
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 3px;
  width: 60%;
  animation: 2s ease-in-out infinite loadingProgress
}

@keyframes loadingProgress {

  0%,
  100% {
    transform: translateX(-100%)
  }

  50% {
    transform: translateX(100%)
  }
}

.no-offers-message {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  border: 1px solid #f1f5f9;
  max-width: 400px;
  margin: 0 auto
}

.message-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--text-light);
  font-size: 1.5rem
}

.no-offers-message h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px
}

.no-offers-message p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: .9rem;
  line-height: 1.4
}

.suggest-offer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 108, 176, .1);
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  transition: .2s
}

.suggest-offer-link:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-1px)
}

.offer-card-vertical {
  animation: .5s ease-out fadeInUp
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media (max-width:1024px) {
  .offers-grid-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }
}

@media (max-width:768px) {
  .compact-offers-section {
    padding: 25px 0
  }

  .section-container {
    padding: 0 15px
  }

  .offers-grid-layout {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto
  }

  .compact-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start
  }

  .card-content-vertical {
    padding: 15px;
    gap: 10px
  }

  .card-image-top {
    height: 140px
  }

  .no-offers-container {
    padding: 30px 15px
  }

  .no-offers-message {
    padding: 30px 20px
  }
}

@media (max-width:480px) {
  .header-title h3 {
    font-size: 1.2rem
  }

  .offer-title {
    font-size: 1rem
  }

  .loading-text {
    font-size: .85rem
  }
}

.premium-jobs-section {
  background: linear-gradient(135deg, #fff 0, #f0f4f8 50%, #fff 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden
}

.premium-jobs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, .03) 0, transparent 50%), radial-gradient(circle at 90% 80%, rgba(239, 68, 68, .03) 0, transparent 50%);
  pointer-events: none
}

.premium-jobs-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0, var(--secondary-color) 50%, transparent 100%)
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2
}

.jobs-header {
  text-align: center;
  margin-bottom: 35px
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.section-title i {
  color: var(--accent-color);
  font-size: 1.5rem;
  background: rgba(229, 62, 62, .1);
  padding: 8px;
  border-radius: 8px
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0 auto;
  max-width: 500px;
  line-height: 1.5
}

.jobs-slider-container {
  position: relative;
  margin-bottom: 35px;
  padding: 0 20px
}

.jobs-swiper {
  padding: 10px 5px 45px
}

.job-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
  transition: .3s;
  border: 1px solid #f1f5f9;
  height: 100%;
  position: relative
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  transform: scaleX(0);
  transition: transform .4s
}

.job-card:hover::before {
  transform: scaleX(1)
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12)
}

.job-image {
  position: relative;
  height: 150px;
  overflow: hidden
}

.job-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s
}

.job-card:hover .job-image img {
  transform: scale(1.05)
}

.job-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: .7rem;
  font-weight: 600;
  z-index: 2
}

.job-content {
  padding: 20px
}

.job-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.job-description {
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 12px;
  font-size: .85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.job-meta {
  margin-bottom: 15px
}

.job-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-light)
}

.job-location i {
  color: var(--secondary-color);
  font-size: .8rem
}

.job-actions {
  display: flex;
  align-items: center
}

.apply-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: .85rem;
  transition: .3s;
  flex: 1
}

.apply-btn:hover {
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, .3)
}

.no-jobs-card.compact {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center
}

.no-jobs-content {
  max-width: 100%
}

.no-jobs-card.compact .empty-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--text-light);
  font-size: 1.5rem
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-5px)
  }
}

.no-jobs-card.compact .no-jobs-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px
}

.no-jobs-card.compact .no-jobs-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: .9rem;
  line-height: 1.4
}

.suggest-job-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: .85rem;
  transition: .3s
}

.suggest-job-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, .3)
}

.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
  border: 1px solid #f1f5f9;
  height: 100%;
  transition: .3s
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .12)
}

.info-content .info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--light-color), #e2e8f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--secondary-color);
  font-size: 1.2rem
}

.info-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px
}

.info-content p {
  color: var(--text-light);
  font-size: .85rem;
  line-height: 1.4;
  margin: 0
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 25px
}

.slider-controls.centered {
  justify-content: center
}

.swiper-button-next,
.swiper-button-prev {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: pointer;
  transition: .3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  font-size: .9rem;
  position: static;
  margin: 0;
  order: 1
}

.swiper-button-next {
  order: 3
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: scale(1.1)
}

.swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  width: auto !important;
  order: 2;
  display: flex;
  align-items: center;
  gap: 5px
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #cbd5e0;
  opacity: 1;
  transition: .3s;
  margin: 0 2px !important
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(26, 54, 93, .3)
}

.jobs-footer {
  text-align: center;
  padding-top: 25px
}

.view-more-jobs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 108, 176, .1);
  color: var(--secondary-color);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: .9rem;
  transition: .3s;
  border: 1px solid rgba(43, 108, 176, .2)
}

.view-more-jobs:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-2px)
}

.swiper-slide.single-job {
  max-width: 400px;
  margin: 0 auto
}

@media (max-width:768px) {
  .premium-jobs-section {
    padding: 40px 0
  }

  .section-container {
    padding: 0 15px
  }

  .section-title {
    font-size: 1.5rem
  }

  .jobs-slider-container {
    padding: 0 15px
  }

  .job-content {
    padding: 18px
  }

  .job-meta {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start
  }

  .slider-controls {
    gap: 12px;
    margin-top: 20px
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 35px;
    height: 35px
  }

  .no-jobs-card.compact {
    padding: 25px 15px
  }
}

@media (max-width:480px) {
  .premium-jobs-section {
    padding: 30px 0
  }

  .section-title {
    font-size: 1.3rem
  }

  .job-image {
    height: 130px
  }

  .job-content {
    padding: 15px
  }

  .job-title {
    font-size: 1rem
  }

  .swiper-slide.single-job {
    max-width: 100%
  }

  .job-actions {
    flex-direction: column;
    gap: 10px
  }

  .apply-btn {
    width: 100%
  }

  .slider-controls {
    gap: 10px
  }
}

.gradient-stats-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 80px 0;
  position: relative;
  overflow: hidden
}

.gradient-stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .1) 0, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .05) 0, transparent 50%);
  pointer-events: none
}

.gradient-stats-header {
  text-align: center;
  margin-bottom: 60px
}

.gradient-stats-header .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px
}

.gradient-stats-header .section-title i {
  color: #fbbf24;
  font-size: 2rem;
  background: rgba(255, 255, 255, .15);
  padding: 12px;
  border-radius: 12px;
  backdrop-filter: blur(10px)
}

.gradient-stats-header .section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .9);
  margin: 0 auto;
  max-width: 500px;
  line-height: 1.5
}

.gradient-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px
}

.gradient-stat-item {
  background: rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 30px 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  transition: .4s cubic-bezier(.175, .885, .32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  overflow: hidden
}

.gradient-stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
  transition: left .6s
}

.gradient-stat-item:hover::before {
  left: 100%
}

.gradient-stat-item:hover {
  background: rgba(255, 255, 255, .15);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .2)
}

.stat-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, .15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  transition: .3s;
  border: 1px solid rgba(255, 255, 255, .2)
}

.gradient-stat-item:hover .stat-icon-wrapper {
  background: rgba(255, 255, 255, .25);
  transform: scale(1.1) rotate(5deg);
  color: #fbbf24
}

.stat-text {
  flex: 1;
  width: 100%
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3)
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, .9);
  margin: 0;
  font-weight: 500
}

.features-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background: rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2)
}

.feature-item {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: .3s;
  padding: 20px;
  border-radius: 12px
}

.feature-item:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-3px)
}

.feature-item i {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, .15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fbbf24;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: .3s
}

.feature-item:hover i {
  background: rgba(255, 255, 255, .25);
  transform: scale(1.1)
}

.feature-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff
}

.feature-content p {
  font-size: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  line-height: 1.5
}

@media (max-width:1200px) {
  .gradient-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .features-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
  }

  .gradient-stat-item {
    padding: 25px 20px
  }

  .stat-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.6rem
  }

  .stat-number {
    font-size: 2.2rem
  }
}

@media (max-width:768px) {
  .gradient-stats-section {
    padding: 60px 0
  }

  .gradient-stats-header .section-title {
    font-size: 1.8rem
  }

  .gradient-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto
  }

  .gradient-stat-item {
    padding: 25px 20px;
    flex-direction: row;
    text-align: right;
    gap: 20px
  }

  .stat-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    flex-shrink: 0
  }

  .stat-text {
    text-align: right;
    flex: 1
  }

  .features-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 20px
  }

  .feature-item {
    flex-direction: row;
    text-align: right;
    gap: 20px
  }

  .feature-item i {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    flex-shrink: 0
  }

  .feature-content {
    text-align: right;
    flex: 1
  }
}

@media (max-width:480px) {
  .gradient-stats-section {
    padding: 50px 0
  }

  .gradient-stats-header .section-title {
    font-size: 1.6rem;
    flex-direction: column;
    gap: 12px
  }

  .gradient-stats-header .section-subtitle {
    font-size: 1.1rem
  }

  .gradient-stat-item {
    flex-direction: column;
    text-align: center;
    gap: 15px
  }

  .stat-text {
    text-align: center
  }

  .stat-number {
    font-size: 2rem
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 15px
  }

  .feature-content {
    text-align: center
  }

  .features-bar {
    padding: 25px 20px
  }
}

@media (min-width:1400px) {
  .gradient-stats-grid {
    gap: 30px
  }

  .gradient-stat-item {
    padding: 35px 30px
  }

  .features-bar {
    gap: 40px;
    padding: 50px 40px
  }
}

.main-footer {
  background: var(--dark-color);
  color: #fff;
  position: relative;
  overflow: hidden
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .05) 0, transparent 50%), radial-gradient(circle at 90% 80%, rgba(255, 255, 255, .03) 0, transparent 50%);
  pointer-events: none
}

.footer-main {
  padding: 70px 0 40px;
  position: relative;
  z-index: 2
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 50px
}

.footer-brand {
  max-width: 100%
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px
}

.footer-logo i {
  font-size: 2.5rem;
  color: var(--accent-color);
  background: rgba(255, 255, 255, .1);
  padding: 15px;
  border-radius: 12px;
  backdrop-filter: blur(10px)
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff
}

.footer-description {
  color: rgba(255, 255, 255, .9);
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 1.05rem;
  text-align: justify
}

.social-links {
  justify-content: center;
  display: flex;
  gap: 12px
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, .1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: .3s;
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
  font-size: 1.2rem
}

.social-link:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  color: #fff
}

.footer-categories-section {
  width: 100%
}

.section-main-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  text-align: center
}

.section-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px
}

.footer-categories-grid {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-height: 285px;
  overflow-y: auto;
  padding: 10px
}

.footer-categories-grid::-webkit-scrollbar {
  width: 6px
}

.footer-categories-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .1);
  border-radius: 10px
}

.footer-categories-grid::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 10px
}

.category-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, .05);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: .3s;
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px)
}

.category-link:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-3px);
  border-color: var(--accent-color)
}

.category-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, .1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden
}

.category-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1)
}

.category-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1
}

.category-name {
  font-weight: 600;
  font-size: 1rem;
  color: #fff
}

.category-desc {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.3
}

footer .footer-quick-links {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 40px
}

footer .quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px
}

footer .quick-links-column {
  display: flex;
  flex-direction: column
}

.column-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px
}

.column-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.footer-links li a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: .3s;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0
}

.footer-links li a i {
  color: var(--accent-color);
  font-size: .9rem;
  width: 20px;
  text-align: center
}

.footer-links li a:hover {
  color: #fff;
  transform: translateX(-5px)
}

.footer-bottom {
  background: rgba(0, 0, 0, .3);
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  position: relative;
  z-index: 2
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.copyright p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: .95rem
}

.footer-bottom-links {
  display: flex;
  gap: 25px
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: .9rem;
  transition: .3s
}

.footer-bottom-links a:hover {
  color: var(--accent-color)
}

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

  .footer-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    max-height: 300px
  }

  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px
  }

  .footer-brand {
    text-align: center
  }

  .footer-logo,
  .social-links {
    justify-content: center
  }
}

@media (max-width:768px) {
  .footer-main {
    padding: 50px 0 30px
  }

  .footer-categories-grid {
    grid-template-columns: 1fr;
    max-height: 400px
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px
  }

  .footer-bottom-links {
    gap: 20px
  }

  .footer-logo {
    flex-direction: column;
    gap: 10px
  }

  .logo-text {
    font-size: 1.5rem
  }

  .section-main-title {
    font-size: 1.3rem
  }
}

@media (max-width:480px) {
  .footer-main {
    padding: 40px 0 25px
  }

  .footer-top {
    gap: 30px
  }

  .footer-categories-grid {
    gap: 15px
  }

  .category-link {
    padding: 12px;
    gap: 12px
  }

  .category-icon {
    width: 45px;
    height: 45px
  }

  .category-icon img {
    width: 25px;
    height: 25px
  }

  .category-name {
    font-size: .95rem
  }

  .category-desc {
    font-size: .8rem
  }

  .column-subtitle {
    font-size: 1.1rem
  }

  .footer-links li a {
    font-size: .95rem
  }

  .social-links {
    gap: 8px
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .4s cubic-bezier(.175, .885, .32, 1.275);
  box-shadow: 0 4px 20px rgba(229, 62, 62, .3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 9999
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.back-to-top:hover {
  background: linear-gradient(135deg, #e53e3e, var(--accent-color));
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 25px rgba(229, 62, 62, .4)
}

.back-to-top i {
  font-size: 1.2rem;
  transition: transform .3s
}

.back-to-top:hover i {
  transform: translateY(-2px)
}

@media (max-width:768px) {
  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px
  }

  .back-to-top i {
    font-size: 1.1rem
  }
}

.ab-page,
.ads-page,
.cat-container,
.contact-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100vh
}

.ab-page-header,
.cat-page-header,
.contact-page .page-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e2e8f0
}

.ab-page-title,
.cat-page-title,
.contact-page .page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px
}

.ab-page-subtitle,
.cat-page-subtitle,
.contact-page .page-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin: 0
}

.ab-page-title .ab-fa-icon,
.cat-page-title .cat-icon-wrapper {
  color: var(--accent-color);
  font-size: 2.2rem
}

.ab-fa-icon,
.cat-icon-wrapper {
  display: inline-block;
  transition: .3s
}

.ab-section-title .ab-fa-icon,
.cat-section-header h2 .cat-icon-wrapper {
  color: var(--accent-color)
}

.ab-feature-item .ab-fa-icon {
  color: #48bb78;
  font-size: .9rem
}

.ab-ad-location .ab-fa-icon,
.cat-ad-location .cat-icon-wrapper {
  color: var(--secondary-color)
}

.ab-section,
.cat-categories-grid-section {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
  border: 1px solid #f1f5f9
}

.ab-section-header,
.cat-section-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9
}

.ab-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0
}

.cat-section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px
}

.ab-sidebar-header,
.cat-sidebar-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 20px;
  border-radius: 15px 15px 0 0;
  margin-bottom: 0
}

.ab-sidebar-title,
.cat-sidebar-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px
}

.ab-ads-container,
.cat-featured-ads {
  background: #fff;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
  border: 1px solid #f1f5f9;
  border-top: none
}

.ab-ad-card,
.cat-featured-ad-card {
  border-bottom: 1px solid #f1f5f9;
  transition: .3s
}

.ab-ad-card:hover,
.cat-featured-ad-card:hover {
  background: #f8fafc
}

.ab-card-title,
.cat-ad-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1.3
}

.ab-ad-location,
.cat-ad-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 15px
}

.ab-ad-image,
.cat-ad-image {
  height: 180px;
  overflow: hidden
}

.ab-card-img,
.cat-ad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s
}

.ab-ad-card:hover .ab-card-img,
.cat-featured-ad-card:hover .cat-ad-img {
  transform: scale(1.05)
}

.ab-ad-content,
.cat-ad-content {
  padding: 20px
}

.ab-ad-action,
.cat-ad-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(43, 108, 176, .1);
  color: var(--secondary-color);
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s
}

.ab-ad-action:hover,
.cat-ad-action-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateX(-3px)
}

.ab-mobile-ads-slider {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .1)
}

.ab-ad-slide {
  position: relative;
  height: 300px
}

.ab-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.ab-ad-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
  color: #fff;
  padding: 20px
}

.ab-ad-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px
}

.ab-ad-region {
  font-size: .9rem;
  opacity: .9
}

.ab-ad-link {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
  font-weight: 600;
  transition: .3s
}

.ab-ad-link:hover {
  background: #e53e3e;
  transform: translateY(-2px)
}

.ab-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  margin-bottom: 60px
}

.ab-main {
  display: flex;
  flex-direction: column;
  gap: 40px
}

.ab-content-box {
  margin-top: 15px
}

.ab-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 15px
}

.ab-strong {
  color: var(--primary-color);
  font-weight: 700
}

.ab-highlight {
  color: var(--secondary-color);
  font-weight: 600;
  background: rgba(43, 108, 176, .1);
  padding: 2px 6px;
  border-radius: 4px
}

.ab-features-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.ab-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text-color)
}

.ab-cta-button,
.ab-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  border: none;
  text-decoration: none;
  font-weight: 600;
  transition: .3s
}

.ab-cta-button {
  padding: 12px 24px;
  border-radius: 10px;
  margin-top: 15px
}

.ab-submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer
}

.ab-cta-button:hover,
.ab-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 108, 176, .3)
}

.ab-contact-section {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
  border: 1px solid #f1f5f9
}

.ab-contact-header {
  text-align: center;
  border-bottom: none;
  margin-bottom: 40px
}

.ab-contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 10px
}

.ab-contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px
}

.ab-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.ab-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: .3s
}

.ab-info-card:hover {
  transform: translateX(5px);
  border-color: var(--secondary-color)
}

.ab-info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  flex-shrink: 0
}

.ab-info-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px
}

.ab-phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 5px
}

.ab-phone-link,
.ab-social-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color .3s
}

.ab-phone-link:hover,
.ab-social-link:hover {
  color: var(--primary-color)
}

.ab-contact-form {
  background: #f8fafc;
  border-radius: 15px;
  padding: 30px;
  border: 1px solid #e2e8f0
}

.ab-form-group {
  margin-bottom: 20px
}

.ab-form-label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px
}

.ab-form-input,
.ab-form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  font-family: Tajawal, sans-serif;
  transition: .3s
}

.ab-form-input:focus,
.ab-form-textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, .1);
  outline: 0
}

.ab-no-ads {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-light)
}

.ab-no-ads .ab-fa-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: .5
}

.ab-no-ads-text {
  margin: 0;
  font-size: 1.1rem
}

.cat-page {
  font-family: inherit
}

.cat-categories-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start
}

.cat-categories-sidebar {
  height: fit-content
}

.cat-featured-ad-card {
  padding: 20px;
  transition: .4s cubic-bezier(.175, .885, .32, 1.275);
  position: relative;
  overflow: hidden
}

.cat-featured-ad-card:last-child {
  border-bottom: none
}

.cat-featured-ad-card:hover {
  transform: translateX(-5px)
}

.cat-ad-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px
}

.cat-ad-image {
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 15px
}

.cat-ad-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .3s
}

.cat-featured-ad-card:hover .cat-ad-overlay {
  opacity: 1
}

.cat-quick-view {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: .3s
}

.cat-quick-view:hover {
  background: var(--accent-color);
  color: #fff;
  transform: scale(1.1)
}

.cat-ad-description {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.cat-ad-meta {
  margin-bottom: 15px
}

.cat-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px
}

.cat-category-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 25px 20px;
  text-decoration: none;
  color: inherit;
  transition: .4s cubic-bezier(.175, .885, .32, 1.275);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  text-align: center
}

.cat-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  transform: scaleX(0);
  transition: transform .4s
}

.cat-category-card:hover::before {
  transform: scaleX(1)
}

.cat-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
  background: #fff;
  border-color: var(--secondary-color)
}

.cat-category-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid #e2e8f0;
  transition: .4s;
  position: relative;
  overflow: hidden
}

.cat-category-card:hover .cat-category-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: scale(1.1) rotate(5deg)
}

.cat-category-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  transition: .4s;
  filter: brightness(.8)
}

.cat-category-card:hover .cat-category-img {
  filter: brightness(0) invert(1);
  transform: scale(1.1)
}

.cat-icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(43, 108, 176, .1), rgba(26, 54, 93, .1));
  opacity: 0;
  transition: opacity .3s
}

.cat-category-card:hover .cat-icon-overlay {
  opacity: 1
}

.cat-category-content {
  text-align: center
}

.cat-category-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.3
}

.cat-category-desc {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.cat-category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 108, 176, .1);
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: .9rem;
  transition: .3s
}

.cat-category-card:hover .cat-category-link {
  background: var(--secondary-color);
  color: #fff;
  transform: translateX(-5px)
}

.cat-section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0
}

.ab-swiper {
  position: relative
}

.ab-swiper-wrapper {
  display: flex;
  transition: transform .3s
}

.ab-swiper-slide {
  flex-shrink: 0;
  width: 100%
}

.ab-swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center
}

.ab-lg-hide,
.ab-md-hide,
.cat-lg-hide,
.cat-md-hide {
  display: block
}

@media (max-width:1024px) {

  .ab-content,
  .cat-categories-content {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .ab-sidebar,
  .cat-categories-sidebar {
    position: static
  }

  .ab-contact-content {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .ab-md-hide,
  .cat-md-hide {
    display: none
  }

  .cat-categories-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .cat-featured-ads {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px
  }

  .cat-featured-ad-card {
    border-bottom: none;
    border-right: 1px solid #f1f5f9
  }
}

@media (max-width:768px) {

  .ab-page,
  .ads-page,
  .cat-container {
    padding: 20px 15px
  }

  .ab-page-title,
  .cat-page-title {
    font-size: 2rem
  }

  .ab-section,
  .cat-categories-grid-section {
    padding: 25px
  }

  .cat-section-header h2 {
    font-size: 1.5rem
  }

  .ab-contact-section {
    padding: 30px 25px
  }

  .ab-contact-form {
    padding: 25px
  }

  .ab-info-card {
    flex-direction: column;
    text-align: center;
    gap: 15px
  }

  .ab-lg-hide,
  .cat-lg-hide {
    display: none
  }

  .cat-categories-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .cat-featured-ads {
    grid-template-columns: 1fr;
    gap: 15px
  }

  .cat-featured-ad-card {
    border-right: none
  }

  .cat-category-card {
    padding: 20px 15px
  }

  .cat-category-icon {
    width: 70px;
    height: 70px
  }

  .cat-category-img {
    width: 40px;
    height: 40px
  }
}

@media (max-width:480px) {

  .ab-page-title,
  .cat-page-title {
    font-size: 1.7rem;
    flex-direction: column;
    gap: 10px
  }

  .ab-section-title {
    font-size: 1.4rem
  }

  .ab-ad-slide {
    height: 250px
  }

  .cat-category-name {
    font-size: 1.1rem
  }

  .cat-category-desc {
    font-size: .85rem
  }
}

.com-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px
}

.com-stat-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
  border: 1px solid #e2e8f0;
  transition: transform .3s
}

.com-stat-card:hover {
  transform: translateY(-5px)
}

.com-stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: #fff;
  font-size: 1.5rem
}

.com-stat-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px
}

.com-stat-content p {
  color: var(--text-light);
  margin: 0;
  font-weight: 500
}

.com-ad-section {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid #e2e8f0
}

.com-ad-container {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.com-ad-banner {
  border-radius: 15px;
  padding: 40px 30px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center
}

.com-ad-banner[style*=background] {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important
}

.com-ad-banner:not([style*=background]) {
  background: linear-gradient(135deg, #667eea 0, #764ba2 100%)
}

.com-ad-banner:not([style*=background])::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,224C960,224,1056,256,1152,245.3C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') 0 0/cover
}

.com-ad-content {
  position: relative;
  z-index: 2;
  max-width: 600px
}

.com-ad-content h4 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .3)
}

.com-ad-content p {
  margin-bottom: 25px;
  opacity: .95;
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3)
}

.com-ad-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .2);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px);
  font-size: .9rem
}

.com-ad-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #667eea;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.com-ad-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  background: #f8fafc
}

.com-mobile-ads-section {
  margin-top: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  border: 1px solid #e2e8f0
}

.com-mobile-ads-container {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.com-mobile-ad-card {
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0
}

.com-mobile-ad-banner {
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important
}

.com-mobile-ad-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4))
}

.com-mobile-ad-content {
  position: relative;
  z-index: 2
}

.com-mobile-ad-content h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5)
}

.com-mobile-ad-content p {
  font-size: .85rem;
  margin-bottom: 12px;
  opacity: .95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5)
}

.com-mobile-ad-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  color: #667eea;
  padding: 6px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: .8rem;
  transition: .3s
}

.com-mobile-ad-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2)
}

.com-comments-scrollable-area {
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
  margin-top: 15px
}

.com-comments-scrollable-area::-webkit-scrollbar {
  width: 6px
}

.com-comments-scrollable-area::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px
}

.com-comments-scrollable-area::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px
}

.com-comments-scrollable-area::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color)
}

.com-toggle-replies-btn {
  background: var(--light-color);
  border: 1px solid #e2e8f0;
  color: var(--text-light);
  transition: .3s
}

.com-toggle-replies-btn.com-active,
.com-toggle-replies-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color)
}

.com-replies-container {
  padding: 15px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: .3s
}

.com-replies-container.com-show {
  display: block !important
}

.com-sidebar-ads-section {
  margin-top: 30px;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
  border: 1px solid #e2e8f0
}

.com-side-ads-container {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.com-side-ad-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  transition: transform .3s
}

.com-side-ad-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1)
}

.com-side-ad-image {
  margin-bottom: 10px
}

.com-side-ad-image .com-img {
  object-fit: cover;
  border-radius: 8px
}

.com-side-ad-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px
}

.com-side-ad-content p {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.4
}

.com-side-ad-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  transition: color .3s
}

.com-side-ad-link:hover {
  color: var(--primary-color)
}

.com-comment-interaction-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0
}

.com-interaction-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--light-color);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: var(--text-light);
  font-size: .9rem;
  cursor: pointer;
  transition: .3s;
  text-decoration: none;
  border: none;
  font-family: inherit
}

.com-interaction-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
  transform: translateY(-2px)
}

.com-reply-toggle-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color)
}

.com-comments-count {
  background: var(--secondary-color);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: .8rem;
  margin-right: 8px
}

.com-comments-filter {
  margin-top: 10px
}

.com-filter-select {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: var(--text-color);
  font-size: .9rem;
  cursor: pointer
}

.com-comment-actions {
  display: flex;
  gap: 8px
}

.com-action-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--light-color);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: var(--text-light);
  font-size: .8rem;
  cursor: pointer;
  transition: .3s;
  border: none
}

.com-action-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color)
}

.com-comment-date {
  font-size: .8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px
}

.com-replies-container {
  margin: 15px 0;
  padding-top: 15px
}

.com-replies-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--text-light);
  font-weight: 600;
  font-size: .9rem
}

.com-reply-item {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.com-reply-indicator {
  color: var(--secondary-color);
  font-size: .9rem;
  margin-top: 5px;
  flex-shrink: 0
}

.com-reply-content-wrapper {
  flex: 1
}

.com-reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px
}

.com-reply-user {
  display: flex;
  align-items: center;
  gap: 8px
}

.com-reply-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover
}

.com-reply-username {
  font-weight: 600;
  font-size: .9rem;
  color: var(--dark-color)
}

.com-reply-owner-badge {
  background: var(--secondary-color);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 600
}

.com-reply-content {
  color: var(--text-color);
  line-height: 1.5;
  font-size: .9rem;
  margin-bottom: 8px;
  border-right: 3px solid var(--secondary-color);
  background: #f8fafc;
  padding: 10px;
  border-radius: 0 8px 8px 0
}

.com-reply-date {
  font-size: .8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px
}

.com-edited-badge {
  color: var(--accent-color);
  font-size: .7rem
}

.com-reply-form-container {
  margin-top: 15px;
  padding: 15px;
  background: var(--light-color);
  border-radius: 10px;
  border: 1px solid #e2e8f0
}

.com-reply-textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: Tajawal, sans-serif;
  font-size: .9rem;
  resize: vertical;
  transition: var(--transition)
}

.com-reply-textarea:focus {
  border-color: var(--secondary-color);
  outline: 0;
  box-shadow: 0 0 0 2px rgba(43, 108, 176, .1)
}

.com-textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px
}

.com-char-counter {
  font-size: .8rem;
  color: var(--text-light)
}

.com-char-counter .com-current {
  color: var(--secondary-color);
  font-weight: 600
}

.com-reply-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-end
}

.com-submit-reply-btn {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .85rem;
  transition: var(--transition)
}

.com-cancel-reply-btn {
  background: #a0aec0;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .85rem;
  transition: var(--transition)
}

.com-cancel-reply-btn:hover,
.com-submit-reply-btn:hover {
  transform: translateY(-1px)
}

.com-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  background: linear-gradient(135deg, #f8fafc 0, #fff 100%);
  min-height: 100vh
}

.com-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  padding: 40px 30px;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--box-shadow)
}

.com-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,224C960,224,1056,256,1152,245.3C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') 0 0/cover
}

.com-header-content {
  position: relative;
  z-index: 2;
  text-align: center
}

.com-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3)
}

.com-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .2);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px)
}

.com-comments-section {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid #e2e8f0
}

.com-comments-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px
}

.com-comment-card,
.com-comments-card,
.com-rating-card {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px
}

.com-comment-header,
.com-comments-header,
.com-rating-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0
}

.com-comment-title,
.com-comments-title,
.com-rating-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px
}

.com-comment-subtitle,
.com-rating-subtitle {
  font-size: .9rem;
  color: var(--text-light);
  margin-top: 5px
}

.com-comment-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05)
}

.com-comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px
}

.com-comment-user {
  display: flex;
  align-items: center;
  gap: 12px
}

.com-comment-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary-color)
}

.com-comment-user-info {
  display: flex;
  flex-direction: column
}

.com-comment-username {
  font-weight: 600;
  color: var(--primary-color);
  font-size: .95rem
}

.com-comment-stars {
  color: #fbbf24;
  font-size: .8rem;
  margin-top: 2px
}

.com-comment-content {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: .95rem
}

.com-comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: var(--text-light)
}

.com-comment-like {
  display: flex;
  align-items: center;
  gap: 5px
}

.com-user-comment-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  border: 2px solid #e2e8f0;
  margin-bottom: 20px
}

.com-user-comment-header {
  display: flex;
  justify-content: space-between
}

.com-user-rating-badge {
  color: #fbbf24;
  margin-bottom: 10px
}

.com-user-comment {
  background: #f8fafc;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 20px
}

.com-user-ratings {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  border: 1px solid #e2e8f0
}

.com-rating-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 5px 0
}

.com-rating-item:last-child {
  margin-bottom: 0
}

.com-user-stars {
  color: #fbbf24
}

.com-comment-actions {
  display: flex;
  gap: 15px;
  justify-content: center
}

.com-delete-comment,
.com-edit-comment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  font-size: .9rem
}

.com-edit-comment {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff
}

.com-delete-comment {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff
}

.com-delete-comment:hover,
.com-edit-comment:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.com-rating-content {
  text-align: center
}

.com-rating-text {
  color: var(--text-color);
  margin-bottom: 20px;
  font-size: 1rem
}

.com-likes-container {
  display: flex;
  gap: 15px;
  justify-content: center
}

.com-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer
}

.com-like-up {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff
}

.com-like-down {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff
}

.com-like-btn:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15)
}

.com-stars-container {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.com-star-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-color);
  border: 2px solid #e2e8f0;
  cursor: pointer
}

.com-star-item:hover {
  border-color: var(--secondary-color);
  transform: translateX(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1)
}

.com-star-number {
  font-weight: 700;
  color: var(--primary-color);
  width: 20px
}

.com-stars {
  color: #fbbf24;
  font-size: 1.1rem
}

.com-star-label {
  flex: 1;
  text-align: right;
  font-weight: 500
}

.com-comment-textarea {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: Tajawal, sans-serif;
  font-size: 1rem;
  resize: vertical;
  transition: border-color .3s
}

.com-comment-textarea:focus {
  border-color: var(--secondary-color);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, .1)
}

.com-comment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px
}

.com-comment-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 500
}

.com-comment-submit {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  display: flex;
  align-items: center;
  gap: 8px
}

.com-comment-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 108, 176, .3)
}

.com-edit-form {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--secondary-color);
  margin-top: 15px
}

.com-edit-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: Tajawal, sans-serif;
  font-size: 1rem;
  resize: vertical;
  margin-bottom: 15px
}

.com-edit-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end
}

.com-save-edit {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px
}

.com-cancel-edit {
  background: linear-gradient(135deg, #a0aec0, #718096);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px
}

.com-comment-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0
}

.com-page-btn {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: .3s
}

.com-page-btn.com-active,
.com-page-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color)
}

.com-no-comments {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light)
}

.com-no-comments .com-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #cbd5e0
}

.com-login-required {
  text-align: center;
  padding: 30px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px dashed #cbd5e0
}

.com-login-required .com-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 15px
}

.com-login-required h5 {
  color: var(--primary-color);
  margin-bottom: 10px
}

.com-login-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: .3s
}

.com-login-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px)
}

.com-success-msg {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500
}

.com-error-msg {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500
}

.com-like-btn.com-active {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, .3);
  border: 2px solid var(--secondary-color)
}

.com-like-up.com-active {
  background: linear-gradient(135deg, #2d7d46, #225a33) !important
}

.com-like-down.com-active {
  background: linear-gradient(135deg, #c53030, #9b2c2c) !important
}

.com-star-item.com-active {
  border-color: var(--secondary-color);
  background: rgba(43, 108, 176, .1);
  transform: translateX(-5px) scale(1.02);
  box-shadow: 0 4px 15px rgba(43, 108, 176, .2)
}

.com-star-item.com-active .com-stars {
  color: #f59e0b
}

.com-like-radio,
.com-star-radio {
  display: none !important
}

.com-like-option {
  cursor: pointer;
  display: inline-block
}

.com-star-option {
  cursor: pointer;
  display: block
}

.com-like-btn,
.com-star-item {
  transition: .3s
}

.com-like-btn:hover,
.com-star-item:hover {
  transform: translateY(-2px)
}

@media (min-width:1200px) {
  .com-comments-grid {
    grid-template-columns: 400px 1fr;
    gap: 30px
  }
}

@media (max-width:1199px) and (min-width:1025px) {
  .com-comments-grid {
    grid-template-columns: 350px 1fr;
    gap: 25px
  }

  .com-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .com-header {
    padding: 35px 25px
  }

  .com-title {
    font-size: 2.2rem
  }
}

@media (max-width:1024px) {
  .com-comments-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .com-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px
  }

  .com-container {
    padding: 0 15px;
    margin: 30px auto
  }

  .com-header {
    padding: 30px 20px;
    border-radius: 15px
  }

  .com-title {
    font-size: 2rem
  }

  .com-ad-section,
  .com-comments-section {
    padding: 25px;
    border-radius: 15px
  }

  .com-ad-banner {
    padding: 30px 20px;
    min-height: 200px
  }

  .com-ad-content h4 {
    font-size: 1.5rem
  }

  .com-ad-content p {
    font-size: 1rem
  }

  .com-comments-scrollable-area {
    max-height: 500px
  }
}

@media (max-width:767px) {
  .com-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
  }

  .com-stat-card {
    padding: 20px 15px;
    border-radius: 12px
  }

  .com-stat-content h3 {
    font-size: 1.5rem
  }

  .com-stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-bottom: 12px
  }

  .com-mobile-ad-banner {
    min-height: 100px;
    padding: 15px
  }

  .com-mobile-ad-content h6 {
    font-size: .9rem
  }

  .com-mobile-ad-content p {
    font-size: .8rem;
    margin-bottom: 10px
  }

  .com-mobile-ad-link {
    padding: 5px 10px;
    font-size: .75rem
  }

  .com-comment-item {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px
  }

  .com-comment-avatar {
    width: 40px;
    height: 40px
  }

  .com-comment-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
  }

  .com-comment-interaction-buttons {
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap
  }

  .com-interaction-btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
    padding: 8px 12px;
    font-size: .85rem
  }

  .com-comment-card,
  .com-comments-card,
  .com-rating-card {
    padding: 20px;
    border-radius: 12px
  }

  .com-likes-container {
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap
  }

  .com-like-btn {
    flex: 1;
    min-width: 140px;
    justify-content: center;
    padding: 10px 15px
  }

  .com-comment-actions {
    flex-direction: column;
    gap: 10px
  }

  .com-comment-submit {
    width: 100%;
    justify-content: center
  }

  .com-reply-item {
    flex-direction: row;
    gap: 10px;
    padding: 12px
  }

  .com-reply-indicator {
    margin-top: 5px
  }

  .com-reply-header {
    flex-direction: row;
    align-items: center;
    gap: 10px
  }

  .com-reply-actions {
    align-self: center
  }

  .com-comment-pagination {
    flex-wrap: wrap;
    gap: 5px
  }

  .com-page-btn {
    padding: 6px 10px;
    font-size: .85rem
  }

  .com-header {
    padding: 25px 15px
  }

  .com-title {
    font-size: 1.8rem
  }

  .com-city-badge {
    font-size: .9rem;
    padding: 6px 12px
  }

  .com-comments-scrollable-area {
    max-height: 400px
  }
}

@media (max-width:575px) {
  .com-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .com-stat-card {
    padding: 15px;
    text-align: center
  }

  .com-stat-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem
  }

  .com-stat-content h3 {
    font-size: 1.3rem
  }

  .com-mobile-ad-banner {
    min-height: 90px;
    padding: 12px
  }

  .com-mobile-ad-content h6 {
    font-size: .85rem
  }

  .com-mobile-ad-link {
    padding: 4px 8px;
    font-size: .7rem
  }

  .com-header {
    padding: 20px 12px;
    border-radius: 12px
  }

  .com-title {
    font-size: 1.6rem;
    margin-bottom: 10px
  }

  .com-ad-section,
  .com-comments-section {
    padding: 20px 15px;
    border-radius: 12px
  }

  .com-ad-banner {
    padding: 20px 15px;
    min-height: 180px
  }

  .com-ad-content h4 {
    font-size: 1.3rem
  }

  .com-ad-content p {
    font-size: .9rem
  }

  .com-ad-cta-button {
    padding: 10px 20px;
    font-size: .9rem
  }

  .com-comments-scrollable-area {
    max-height: 350px
  }
}

@media (max-width:479px) {
  .com-container {
    padding: 0 10px;
    margin: 20px auto
  }

  .com-stats-grid {
    gap: 8px
  }

  .com-stat-card {
    padding: 12px 10px
  }

  .com-stat-content h3 {
    font-size: 1.2rem
  }

  .com-stat-content p {
    font-size: .85rem
  }

  .com-mobile-ad-banner {
    min-height: 80px;
    padding: 10px
  }

  .com-mobile-ad-content h6 {
    font-size: .8rem
  }

  .com-mobile-ad-content p {
    font-size: .75rem
  }

  .com-header {
    padding: 15px 10px
  }

  .com-title {
    font-size: 1.4rem
  }

  .com-city-badge {
    font-size: .8rem;
    padding: 5px 10px
  }

  .com-comments-section {
    padding: 15px 10px
  }

  .com-comment-card,
  .com-comments-card,
  .com-rating-card {
    padding: 15px
  }

  .com-comment-item {
    padding: 12px
  }

  .com-comment-interaction-buttons {
    flex-direction: column;
    gap: 8px
  }

  .com-interaction-btn {
    width: 100%
  }

  .com-likes-container {
    flex-direction: column
  }

  .com-like-btn {
    width: 100%
  }

  .com-stars-container {
    gap: 8px
  }

  .com-star-item {
    padding: 10px 15px
  }

  .com-reply-item {
    flex-direction: column;
    gap: 8px
  }

  .com-reply-indicator {
    transform: rotate(90deg);
    align-self: flex-start
  }

  .com-reply-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
  }

  .com-reply-actions {
    align-self: flex-start
  }

  .com-comments-scrollable-area {
    max-height: 300px
  }
}

@media (hover:none) and (pointer:coarse) {

  .com-interaction-btn,
  .com-like-btn,
  .com-page-btn,
  .com-star-item {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center
  }

  .com-comment-textarea,
  .com-reply-textarea {
    font-size: 16px
  }
}

.com-fade-in {
  animation: .6s ease-out comFadeIn
}

@keyframes comFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media (hover:hover) {
  .com-stat-card:hover {
    transform: translateY(-3px)
  }

  .com-interaction-btn:hover,
  .com-like-btn:hover,
  .com-star-item:hover {
    transform: translateY(-2px)
  }
}

@media (prefers-color-scheme:dark) {
  .com-container {
    background: linear-gradient(135deg, #1a202c 0, #2d3748 100%)
  }

  .com-ad-section,
  .com-comment-card,
  .com-comment-item,
  .com-comments-card,
  .com-comments-section,
  .com-rating-card,
  .com-stat-card {
    background: #2d3748;
    color: #e2e8f0;
    border-color: #4a5568
  }
}

@media (max-width:767px) {

  .com-comment-textarea,
  .com-reply-textarea {
    font-size: 16px
  }

  .com-filter-select {
    width: 100%;
    max-width: 200px
  }

  .com-comment-content,
  .com-rating-text,
  .com-reply-content {
    line-height: 1.6
  }

  .com-comment-title,
  .com-comments-title,
  .com-rating-title {
    font-size: 1.1rem
  }
}

.com-img {
  max-width: 100%;
  height: auto
}

.com-mobile-ad-content .com-img,
.com-side-ad-image .com-img {
  width: 100%;
  height: auto;
  object-fit: cover
}

@media print {

  .com-ad-section,
  .com-mobile-ad-container,
  .com-mobile-ads-section,
  .com-sidebar-ads-section {
    display: none !important
  }

  .com-container {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important
  }
}

.welcome-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 40px rgba(43, 108, 176, .3)
}

.welcome-content {
  flex: 1
}

.welcome-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px
}

.welcome-text {
  font-size: 1.1rem;
  opacity: .9;
  line-height: 1.6;
  margin: 0
}

.welcome-stats {
  display: flex;
  gap: 30px
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px
}

.stat-item i {
  font-size: 1.5rem;
  opacity: .9
}

.stat-item span {
  font-size: .9rem;
  font-weight: 600
}

.contact-main-section {
  background: #fff;
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, .08);
  border: 1px solid #f1f5f9
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start
}

.contact-info-card {
  background: linear-gradient(135deg, #f8fafc, #fff);
  border-radius: 20px;
  padding: 0;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  height: fit-content;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .05)
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 30px;
  text-align: center
}

.header-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, .2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem
}

.card-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px
}

.card-subtitle {
  opacity: .9;
  margin: 0;
  font-size: .95rem
}

.contact-methods {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  border: 1px solid #e2e8f0;
  transition: .3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .03)
}

.contact-method:hover {
  transform: translateX(8px);
  border-color: var(--secondary-color);
  box-shadow: 0 5px 20px rgba(43, 108, 176, .15)
}

.method-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0
}

.method-icon.primary {
  background: rgba(43, 108, 176, .1);
  color: var(--secondary-color)
}

.method-icon.secondary {
  background: rgba(26, 54, 93, .1);
  color: var(--primary-color)
}

.method-icon.accent {
  background: rgba(229, 62, 62, .1);
  color: var(--accent-color)
}

.method-icon.social {
  background: rgba(59, 89, 152, .1);
  color: #3b5998
}

.method-info {
  display: flex;
  flex-direction: column;
  flex: 1
}

.method-label {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 600
}

.method-value {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 4px
}

.method-desc {
  font-size: .8rem;
  color: var(--text-light)
}

.link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color .3s
}

.link:hover {
  color: var(--accent-color)
}

.contact-features {
  padding: 25px 30px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 20px
}

.feature-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1
}

.feature-highlight i {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem
}

.feature-text {
  display: flex;
  flex-direction: column
}

.feature-text strong {
  color: var(--primary-color);
  font-size: .9rem
}

.feature-text span {
  color: var(--text-light);
  font-size: .8rem
}

.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
  height: fit-content
}

.contact-form-card .card-header {
  background: linear-gradient(135deg, var(--accent-color), #fc8181)
}

.user-info-banner {
  background: #e6fffa;
  color: #234e52;
  padding: 15px 20px;
  border-radius: 10px;
  margin: 20px 30px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border: 1px solid #81e6d9
}

.contact-form {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.form-group label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px
}

.form-group label i {
  color: var(--secondary-color);
  font-size: .9rem
}

.form-input,
.form-textarea {
  padding: 15px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1.05rem;
  transition: .3s;
  background: #f8fafc;
  font-family: inherit
}

.form-input:focus,
.form-textarea:focus {
  outline: 0;
  border-color: var(--secondary-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 108, 176, .1)
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6
}

.textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px
}

.char-count,
.textarea-footer .hint {
  font-size: .8rem;
  color: var(--text-light)
}

.phone-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px
}

.input-wrapper {
  position: relative
}

.input-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: .9rem;
  font-weight: 600
}

.input-wrapper .form-input {
  padding-left: 50px
}

.input-hint {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: 5px;
  line-height: 1.4
}

.radio-group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px
}

.radio-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 20px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  transition: .3s;
  text-align: center;
  position: relative;
  background: #f8fafc
}

.radio-option:hover {
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .1)
}

.radio-option input[type=radio] {
  display: none
}

.radio-checkmark {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e0;
  border-radius: 50%;
  transition: .3s
}

.radio-option input[type=radio]:checked+.radio-checkmark {
  border-color: var(--secondary-color);
  background: var(--secondary-color)
}

.radio-option input[type=radio]:checked+.radio-checkmark::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

.radio-option input[type=radio]:checked~.radio-content {
  color: var(--secondary-color)
}

.radio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: color .3s
}

.radio-content i {
  font-size: 1.8rem;
  color: inherit;
  margin-bottom: 5px
}

.radio-content span {
  font-weight: 700;
  font-size: .95rem
}

.radio-content small {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: -5px
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px
}

.reset-btn {
  background: #e2e8f0;
  color: var(--text-light);
  border: none;
  padding: 15px 25px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center
}

.reset-btn:hover {
  background: #cbd5e0;
  color: var(--primary-color)
}

.submit-btn {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  border: none;
  padding: 15px 25px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 2;
  position: relative;
  overflow: hidden
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43, 108, 176, .4)
}

.btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: 1s linear infinite spin
}

@keyframes spin {
  0% {
    transform: rotate(0)
  }

  100% {
    transform: rotate(360deg)
  }
}

.alert {
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 1.05rem;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 12px
}

.alert-success {
  background: #c6f6d5;
  color: #22543d;
  border-color: #9ae6b4
}

.alert-warning {
  background: #fed7d7;
  color: #742a2a;
  border-color: #feb2b2
}

@media (max-width:1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .contact-main-section {
    padding: 40px
  }

  .welcome-card {
    flex-direction: column;
    gap: 30px;
    text-align: center
  }

  .welcome-stats {
    justify-content: center
  }
}

@media (max-width:768px) {
  .contact-page {
    padding: 20px 15px
  }

  .page-title {
    font-size: 2.2rem;
    flex-direction: column;
    gap: 15px
  }

  .page-header {
    margin-bottom: 40px;
    padding: 30px 20px
  }

  .contact-main-section {
    padding: 30px 25px;
    border-radius: 20px
  }

  .contact-form-card,
  .contact-info-card {
    border-radius: 15px
  }

  .card-header,
  .contact-form,
  .contact-methods {
    padding: 25px 20px
  }

  .contact-features {
    padding: 20px;
    flex-direction: column;
    gap: 15px
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .phone-inputs-grid,
  .radio-group-grid {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 15px
  }

  .form-actions {
    flex-direction: column
  }
}

@media (max-width:480px) {
  .page-title {
    font-size: 1.8rem
  }

  .contact-main-section {
    padding: 25px 20px
  }

  .welcome-card {
    padding: 30px 20px
  }

  .welcome-stats {
    flex-direction: column;
    gap: 20px
  }

  .header-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem
  }

  .card-title {
    font-size: 1.4rem
  }
}

.news-modern-news-page {
  min-height: 100vh
}

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

.news-modern-hero {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden
}

.news-hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center
}

.news-hero-text {
  z-index: 2;
  position: relative
}

.news-page-header {
  margin-bottom: 30px
}

.news-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2
}

.news-page-subtitle {
  font-size: 1.2rem;
  opacity: .9;
  color: #fff;
  max-width: 500px
}

.news-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px
}

.news-stat-card {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition)
}

.news-stat-card:hover {
  background: rgba(255, 255, 255, .15);
  transform: translateY(-2px)
}

.news-stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, .2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem
}

.news-stat-content {
  display: flex;
  flex-direction: column
}

.news-stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1
}

.news-stat-label {
  font-size: .875rem;
  opacity: .8;
  margin-top: 4px
}

.news-hero-visual {
  position: relative;
  width: 300px;
  height: 200px
}

.news-floating-elements {
  position: relative;
  width: 100%;
  height: 100%
}

.news-floating-megaphone,
.news-floating-news,
.news-floating-star {
  position: absolute;
  font-size: 4rem;
  animation: 6s ease-in-out infinite news-float
}

.news-floating-news {
  top: 20px;
  right: 0;
  animation-delay: 0s
}

.news-floating-star {
  top: 60px;
  left: 20px;
  animation-delay: 2s
}

.news-floating-megaphone {
  bottom: 20px;
  right: 40px;
  animation-delay: 4s
}

@keyframes news-float {

  0%,
  100% {
    transform: translateY(0) rotate(0)
  }

  50% {
    transform: translateY(-20px) rotate(5deg)
  }
}

.news-hero-wave {
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0
}

.news-hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px
}

.news-mobile-page-header {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  display: none
}

.news-mobile-header-content {
  text-align: center
}

.news-mobile-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.news-mobile-page-subtitle {
  color: var(--text-secondary);
  font-size: 1rem
}

.news-featured-ad-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border)
}

.news-ad-content {
  display: grid
}

.news-ad-details {
  display: flex;
  flex-direction: column
}

.news-ad-title {
  color: var(--text-primary)
}

.news-ad-description {
  color: var(--text-secondary);
  flex: 1
}

.news-ad-features {
  display: flex
}

.news-ad-footer {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.news-ad-meta {
  display: flex;
  gap: 20px
}

.news-main-content {
  padding: 40px 0
}

.news-layout-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  margin-bottom: 60px
}

.news-featured-article {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border)
}

.news-article-image {
  position: relative;
  height: 400px;
  overflow: hidden
}

.news-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition)
}

.news-featured-article:hover .news-article-image img {
  transform: scale(1.05)
}

.news-article-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px
}

.news-article-content {
  padding: 30px
}

.news-article-header {
  margin-bottom: 20px
}

.news-article-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-primary)
}

.news-article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.news-meta-items {
  display: flex;
  gap: 20px
}

.news-meta-item {
  display: flex;
  align-items: center;
  color: var(--text-light)
}

.news-article-actions {
  display: flex;
  gap: 8px
}

.news-article-body {
  margin-bottom: 25px
}

.news-article-excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.1rem
}

.news-article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.news-tag {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 500
}

.news-article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-light)
}

.news-engagement {
  display: flex;
  gap: 20px
}

.news-engagement-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: .875rem
}

.news-horizontal-ad {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative
}

.news-horizontal-ad-content {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center
}

.news-horizontal-ad .news-ad-image {
  border-radius: var(--radius);
  overflow: hidden;
  height: 80px
}

.news-horizontal-ad .news-ad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.news-ad-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary)
}

.news-ad-info p {
  color: var(--text-secondary);
  font-size: .875rem;
  margin-bottom: 12px;
  line-height: 1.5
}

.news-ad-actions {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.news-ad-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-light);
  font-size: .75rem
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px
}

.news-sidebar-widget {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden
}

.news-widget-header {
  background: var(--bg-tertiary);
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px
}

.news-widget-header i {
  color: var(--primary-color);
  font-size: 1.25rem
}

.news-widget-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary)
}

.news-widget-content {
  padding: 20px
}

.news-side-ad-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  margin-bottom: 15px
}

.news-side-ad-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md)
}

.news-side-ad-card:last-child {
  margin-bottom: 0
}

.news-side-ad-image {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden
}

.news-side-ad-image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: var(--transition)
}

.news-side-ad-card:hover .news-side-ad-image img {
  transform: scale(1.05)
}

.news-side-ad-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px
}

.news-side-ad-content p {
  color: var(--text-secondary);
  font-size: .85rem;
  line-height: 1.4;
  margin-bottom: 10px
}

.news-side-ad-meta {
  margin-bottom: 10px
}

.news-side-ad-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-light);
  font-size: .75rem
}

.news-side-ad-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition)
}

.news-side-ad-link:hover {
  color: var(--primary-color-dark)
}

.news-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  padding: 15px;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  margin-bottom: 10px
}

.news-item:last-child {
  margin-bottom: 0
}

.news-item:hover {
  background: var(--bg-tertiary)
}

.news-news-thumb {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden
}

.news-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.news-news-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  color: #fff
}

.news-news-badge.news-featured {
  background: var(--accent-color)
}

.news-news-badge.news-urgent {
  background: var(--danger)
}

.news-news-content {
  flex: 1
}

.news-news-content h4 {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--text-primary)
}

.news-news-meta {
  display: flex;
  align-items: center;
  gap: 10px
}

.news-time {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-light);
  font-size: .75rem
}

.news-featured-ad-sidebar {
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 15px;
  transition: var(--transition)
}

.news-featured-ad-sidebar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md)
}

.news-featured-ad-sidebar .news-ad-image {
  height: 120px;
  overflow: hidden
}

.news-featured-ad-sidebar .news-ad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition)
}

.news-featured-ad-sidebar:hover .news-ad-image img {
  transform: scale(1.05)
}

.news-featured-ad-sidebar .news-ad-content {
  padding: 15px
}

.news-featured-ad-sidebar .news-ad-content h4 {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary)
}

.news-featured-ad-sidebar .news-ad-content p {
  color: var(--text-secondary);
  font-size: .8rem;
  line-height: 1.4;
  margin-bottom: 10px
}

.news-featured-ad-sidebar .news-ad-btn {
  background: var(--primary-color);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition)
}

.news-featured-ad-sidebar .news-ad-btn:hover {
  background: var(--primary-color-dark)
}

.news-more-news {
  margin-top: 60px
}

.news-section-header {
  text-align: center;
  margin-bottom: 40px
}

.news-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px
}

.news-section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto
}

.news-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px
}

.news-article-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%
}

.news-article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl)
}

.news-card-header {
  position: relative
}

.news-card-image {
  height: 200px;
  overflow: hidden;
  position: relative
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition)
}

.news-article-card:hover .news-card-image img {
  transform: scale(1.1)
}

.news-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff
}

.news-card-badge.news-featured {
  background: var(--accent-color)
}

.news-card-badge.news-urgent {
  background: var(--danger)
}

.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.news-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-primary)
}

.news-card-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1
}

.news-card-meta {
  display: flex;
  gap: 15px;
  margin-top: auto
}

.news-card-meta .news-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: .8rem
}

.news-card-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.news-card-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition)
}

.news-card-link:hover {
  color: var(--primary-color-dark)
}

.news-card-actions {
  display: flex;
  gap: 8px
}

.news-ad-card {
  background: linear-gradient(135deg, var(--primary-color) 0, var(--secondary-color) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #fff;
  position: relative
}

.news-ad-card .news-ad-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px)
}

.news-ad-content {
  padding: 25px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center
}

.news-ad-card .news-ad-image {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .2)
}

.news-ad-card .news-ad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.news-ad-details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px
}

.news-ad-details p {
  opacity: .9;
  font-size: .875rem;
  margin-bottom: 12px;
  line-height: 1.5
}

.news-ad-btn {
  background: #fff;
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition)
}

.news-ad-btn:hover {
  background: var(--bg-tertiary);
  transform: translateY(-1px)
}

.news-load-more-section {
  text-align: center;
  margin-top: 40px
}

.news-load-more-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.news-load-more-btn:hover:not(:disabled) {
  background: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg)
}

.news-load-more-btn:disabled {
  opacity: .6;
  cursor: not-allowed
}

.news-load-more-btn.news-loading {
  pointer-events: none
}

.news-no-more-news {
  background: var(--bg-tertiary);
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--text-secondary)
}

.news-no-more-news p {
  font-size: 1.1rem;
  margin: 0
}

.news-empty-state {
  padding: 80px 0;
  text-align: center
}

.news-empty-content {
  max-width: 500px;
  margin: 0 auto
}

.news-empty-illustration {
  margin-bottom: 40px;
  position: relative
}

.news-empty-icon {
  width: 120px;
  height: 120px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 3rem;
  color: var(--text-light)
}

.news-empty-wave {
  width: 200px;
  height: 20px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  margin: 0 auto;
  position: relative;
  overflow: hidden
}

.news-empty-wave::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
  animation: 2s linear infinite news-wave
}

@keyframes news-wave {
  0% {
    left: -100%
  }

  100% {
    left: 100%
  }
}

.news-empty-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary)
}

.news-empty-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px
}

.news-empty-actions {
  display: flex;
  gap: 15px;
  justify-content: center
}

.news-action-btn {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  transition: var(--transition)
}

.news-action-btn.news-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border)
}

.news-action-btn.news-secondary:hover {
  background: var(--border-light);
  transform: translateY(-1px)
}

.news-icon-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-tertiary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light)
}

.news-icon-btn:hover {
  background: var(--border);
  color: var(--text-primary);
  transform: scale(1.1)
}

@media (max-width:1024px) {
  .news-desktop-only {
    display: none !important
  }

  .news-mobile-page-header {
    display: block
  }

  .news-featured-ad-section {
    margin: 0 0 40px
  }

  .news-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .news-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center
  }

  .news-hero-visual {
    margin: 0 auto
  }

  .news-ad-content {
    grid-template-columns: 300px 1fr
  }
}

@media (max-width:768px) {
  .news-container {
    padding: 0 15px
  }

  .news-modern-hero {
    padding: 60px 0 100px
  }

  .news-stats-grid {
    grid-template-columns: 1fr;
    gap: 15px
  }

  .news-ad-content {
    grid-template-columns: 1fr
  }

  .news-ad-image {
    height: 200px
  }

  .news-ad-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start
  }

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

  .news-article-image {
    height: 300px
  }

  .news-article-footer,
  .news-article-meta {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start
  }

  .news-empty-actions {
    flex-direction: column;
    align-items: center
  }

  .news-mobile-page-title {
    font-size: 1.5rem
  }

  .news-mobile-page-subtitle {
    font-size: .9rem
  }
}

@media (max-width:480px) {
  .news-section-title {
    font-size: 1.5rem
  }

  .news-featured-ad-card .news-ad-badge {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 15px;
    display: inline-flex
  }

  .news-horizontal-ad-content {
    grid-template-columns: 1fr;
    text-align: center
  }

  .news-ad-actions {
    flex-direction: column;
    gap: 10px
  }

  .news-mobile-page-title {
    font-size: 1.25rem
  }
}

.news-fade-in {
  animation: .6s ease-in-out news-fadeIn
}

@keyframes news-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.news-slide-in-right {
  animation: .5s ease-out news-slideInRight
}

@keyframes news-slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0
  }

  to {
    transform: translateX(0);
    opacity: 1
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  ::after,
  ::before {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important
  }
}

@media print {

  .news-article-actions,
  .news-card-actions,
  .news-load-more-section,
  .news-modern-hero,
  .news-sidebar {
    display: none !important
  }

  .news-article-card,
  .news-featured-article {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #000 !important
  }
}

.news-ad-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition)
}

.news-ad-image:hover .news-ad-overlay {
  opacity: 1
}

.news-ad-image:hover img {
  transform: scale(1.05)
}

.news-view-btn {
  color: var(--text-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  transition: var(--transition)
}

@media (max-width:1024px) {
  .news-featured-ad-section {
    margin: 0 0 40px
  }

  .news-ad-content {
    max-height: 350px
  }

  .news-ad-details {
    padding: 20px
  }

  .news-ad-title {
    font-size: 1.3rem
  }
}

@media (max-width:768px) {
  .news-ad-content {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: auto
  }

  .news-ad-image {
    height: 250px
  }

  .news-ad-badge {
    top: 15px;
    right: 15px;
    font-size: .8rem;
    padding: 6px 12px
  }

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

  .news-ad-meta {
    gap: 10px
  }
}

@media (max-width:480px) {
  .news-featured-ad-card {
    border-radius: var(--radius-lg)
  }

  .news-ad-content {
    grid-template-columns: 1fr
  }

  .news-ad-image {
    height: 200px
  }

  .news-ad-details {
    padding: 15px
  }

  .news-ad-title {
    font-size: 1.2rem
  }

  .news-ad-description {
    font-size: .9rem
  }

  .news-ad-badge {
    position: relative;
    top: auto;
    right: auto;
    margin: 15px 15px 0;
    display: inline-flex;
    width: fit-content
  }

  .news-feature-tag {
    font-size: .7rem;
    padding: 4px 8px
  }

  .news-meta-item {
    font-size: .75rem
  }

  .news-action-btn.news-primary {
    padding: 10px 20px;
    font-size: .85rem
  }
}

@media (max-width:360px) {
  .news-ad-image {
    height: 180px
  }

  .news-ad-details {
    padding: 12px
  }

  .news-ad-title {
    font-size: 1.1rem
  }

  .news-ad-features,
  .news-ad-meta {
    gap: 8px
  }

  .news-action-btn.news-primary {
    padding: 8px 16px;
    font-size: .8rem
  }
}

@media (max-height:500px) and (orientation:landscape) {
  .news-featured-ad-section {
    margin: 20px 0
  }

  .news-ad-content {
    max-height: 250px
  }

  .news-ad-image {
    height: 200px
  }
}

.news-featured-ad-section {
  margin: -60px 0 60px;
  position: relative;
  z-index: 10
}

.news-featured-ad-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 100%;
  margin: 0 auto
}

.news-ad-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: .875rem;
  font-weight: 600;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px
}

.news-ad-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 400px
}

.news-ad-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-tertiary)
}

.news-ad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition)
}

.news-ad-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px
}

.news-overlay-content {
  color: #fff;
  text-align: center;
  max-width: 100%
}

.news-overlay-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3
}

.news-view-btn {
  background: #fff;
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-size: .9rem
}

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

.news-ad-details {
  padding: 25px;
  display: flex;
  flex-direction: column;
  overflow-y: auto
}

.news-ad-header {
  margin-bottom: 15px
}

.news-ad-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.3
}

.news-ad-rating {
  color: var(--accent-color);
  font-size: .875rem
}

.news-ad-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
  font-size: .95rem
}

.news-ad-features {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap
}

.news-feature-tag {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: .75rem;
  display: flex;
  align-items: center;
  gap: 4px
}

.news-ad-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: auto
}

.news-ad-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap
}

.news-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: .8rem
}

.news-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: .9rem;
  white-space: nowrap
}

.news-action-btn.news-primary {
  background: var(--primary-color);
  color: #fff
}

.news-action-btn.news-primary:hover {
  background: var(--primary-color-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md)
}

@media (min-width:1025px) {
  .news-mobile-overlay {
    display: none
  }

  .news-ad-image:hover .news-ad-overlay:not(.news-mobile-overlay) {
    opacity: 1
  }

  .news-ad-image:hover img {
    transform: scale(1.05)
  }
}

@media (max-width:1024px) {
  .news-featured-ad-section {
    margin: 0 0 40px
  }

  .news-ad-content {
    max-height: 350px
  }

  .news-ad-details {
    padding: 20px
  }

  .news-ad-title {
    font-size: 1.3rem
  }

  .news-mobile-overlay {
    opacity: 1;
    background: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .9) 70%);
    align-items: flex-end;
    padding-bottom: 30px
  }

  .news-overlay-content {
    text-align: right
  }

  .news-overlay-title {
    font-size: 1.2rem;
    margin-bottom: 12px
  }
}

@media (max-width:768px) {
  .news-ad-content {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: auto
  }

  .news-ad-image {
    height: 300px
  }

  .news-ad-badge {
    top: 15px;
    right: 15px;
    font-size: .8rem;
    padding: 6px 12px
  }

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

  .news-ad-meta {
    gap: 10px
  }

  .news-mobile-overlay {
    padding: 15px;
    background: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .95) 80%)
  }

  .news-overlay-title {
    font-size: 1.1rem;
    margin-bottom: 10px
  }

  .news-view-btn {
    padding: 8px 16px;
    font-size: .8rem
  }
}

@media (max-width:480px) {
  .news-featured-ad-card {
    border-radius: var(--radius-lg)
  }

  .news-ad-content {
    grid-template-columns: 1fr
  }

  .news-ad-image {
    height: 250px
  }

  .news-ad-details {
    padding: 15px
  }

  .news-ad-title {
    font-size: 1.2rem
  }

  .news-ad-description {
    font-size: .9rem
  }

  .news-ad-badge {
    position: relative;
    top: auto;
    right: auto;
    margin: 15px 15px 0;
    display: inline-flex;
    width: fit-content
  }

  .news-feature-tag {
    font-size: .7rem;
    padding: 4px 8px
  }

  .news-meta-item {
    font-size: .75rem
  }

  .news-action-btn.news-primary {
    padding: 10px 20px;
    font-size: .85rem
  }

  .news-mobile-overlay {
    padding: 12px;
    background: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .95) 85%)
  }

  .news-overlay-title {
    font-size: 1rem;
    margin-bottom: 8px
  }

  .news-view-btn {
    padding: 6px 12px;
    font-size: .75rem
  }
}

@media (max-width:360px) {
  .news-ad-image {
    height: 220px
  }

  .news-ad-details {
    padding: 12px
  }

  .news-ad-title {
    font-size: 1.1rem
  }

  .news-ad-features,
  .news-ad-meta {
    gap: 8px
  }

  .news-action-btn.news-primary {
    padding: 8px 16px;
    font-size: .8rem
  }

  .news-overlay-content {
    text-align: center
  }

  .news-overlay-title {
    font-size: .9rem
  }

  .news-view-btn {
    width: 100%;
    justify-content: center
  }
}

@media (min-width:1400px) {
  .news-featured-ad-card {
    max-width: 1200px
  }
}

@media (max-height:500px) and (orientation:landscape) {
  .news-featured-ad-section {
    margin: 20px 0
  }

  .news-ad-content {
    max-height: 250px
  }

  .news-ad-image {
    height: 200px
  }

  .news-mobile-overlay {
    padding: 10px
  }

  .news-overlay-title {
    font-size: .9rem
  }
}

.ads-page-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e2e8f0
}

.ads-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color, #2b6cb0);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px
}

.ads-page-title i {
  color: var(--accent-color, #38b2ac);
  font-size: 2.2rem
}

.ads-page-subtitle {
  font-size: 1.2rem;
  color: var(--text-light, #718096);
  margin: 0
}

.ads-banner {
  background: linear-gradient(135deg, var(--primary-color, #2b6cb0) 0, var(--secondary-color, #4299e1) 100%);
  border-radius: 20px;
  padding: 50px 40px;
  margin: 0 0 40px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(43, 108, 176, .3)
}

.ads-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>') 0 0/cover
}

.ads-banner-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto
}

.ads-tagline {
  background: rgba(255, 255, 255, .15);
  padding: 12px 30px;
  border-radius: 30px;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 1.1rem
}

.ads-banner-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.3
}

.ads-padtb20 {
  padding: 20px 0
}

.ads-banner p {
  font-size: 1.2rem;
  opacity: .9;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 35px;
  font-weight: 400
}

.ads-banner-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px
}

.ads-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, .12);
  padding: 15px 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .15);
  min-width: 200px;
  font-size: 1rem;
  transition: .3s;
  box-sizing: border-box
}

.ads-stat-item:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-3px)
}

.ads-stat-item i {
  color: gold;
  font-size: 1.3rem
}

.ads-packages-section {
  margin: 60px 0 80px
}

.ads-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color, #2b6cb0);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px
}

.ads-main-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--secondary-color, #4299e1), var(--accent-color, #38b2ac));
  border-radius: 2px
}

.ads-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto
}

.ads-package-card {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  border: 1px solid #f1f5f9;
  position: relative;
  transition: .3s cubic-bezier(.175, .885, .32, 1.275);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: fit-content;
  min-height: 600px;
  box-sizing: border-box
}

.ads-package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
  border-color: var(--secondary-color, #4299e1)
}

.ads-ribbon {
  position: absolute;
  top: 20px;
  left: -35px;
  padding: 10px 40px;
  font-weight: 700;
  font-size: .85rem;
  z-index: 10;
  transform: rotate(-45deg);
  box-shadow: 0 3px 15px rgba(0, 0, 0, .2);
  width: 150px;
  text-align: center;
  letter-spacing: 1px
}

.ads-gold .ads-ribbon {
  background: linear-gradient(135deg, gold, orange);
  color: #7c6500
}

.ads-silver .ads-ribbon {
  background: linear-gradient(135deg, silver, #a0a0a0);
  color: #fff
}

.ads-bronze .ads-ribbon {
  background: linear-gradient(135deg, #cd7f32, sienna);
  color: #fff
}

.ads-basic .ads-ribbon {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff
}

.ads-card-header {
  padding: 50px 30px 30px;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0, #fff 100%);
  border-bottom: 2px solid #f1f5f9;
  position: relative
}

.ads-package-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  transition: .3s
}

.ads-gold .ads-package-icon {
  background: linear-gradient(135deg, gold, orange);
  color: #7c6500;
  box-shadow: 0 8px 25px rgba(255, 215, 0, .3)
}

.ads-silver .ads-package-icon {
  background: linear-gradient(135deg, silver, #a0a0a0);
  color: #fff;
  box-shadow: 0 8px 25px rgba(192, 192, 192, .3)
}

.ads-bronze .ads-package-icon {
  background: linear-gradient(135deg, #cd7f32, sienna);
  color: #fff;
  box-shadow: 0 8px 25px rgba(205, 127, 50, .3)
}

.ads-basic .ads-package-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  box-shadow: 0 8px 25px rgba(40, 167, 69, .3)
}

.ads-package-card:hover .ads-package-icon {
  transform: scale(1.1) rotate(5deg)
}

.ads-plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color, #2b6cb0);
  display: block;
  margin-bottom: 20px;
  line-height: 1.3
}

.ads-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap
}

.ads-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color, #4299e1);
  line-height: 1
}

.ads-price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: #718096
}

.ads-price-period {
  font-size: .95rem;
  color: #a0aec0;
  align-self: flex-end
}

.ads-features {
  padding: 30px;
  flex: 1;
  margin: 0;
  list-style: none
}

.ads-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f8fafc;
  transition: .3s
}

.ads-feature-item:last-child {
  border-bottom: none
}

.ads-feature-item:hover {
  background: #f8fafc;
  margin: 0 -10px;
  padding: 15px 10px;
  border-radius: 8px
}

.ads-status {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: .85rem;
  transition: .3s
}

.ads-check {
  background: #48bb78;
  color: #fff
}

.ads-cross {
  background: #f56565;
  color: #fff
}

.ads-feature-text {
  color: #2d3748;
  line-height: 1.6;
  flex: 1;
  font-size: 1rem;
  font-weight: 500
}

.ads-feature-item.ads-excluded .ads-feature-text {
  color: #a0aec0;
  text-decoration: line-through
}

.ads-package-footer {
  padding: 25px 30px 30px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 15px
}

.ads-details-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: 0 0;
  color: #4a5568;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: .3s;
  text-decoration: none;
  width: 100%;
  font-family: Tajawal, sans-serif;
  box-sizing: border-box
}

.ads-details-btn:hover {
  background: #f8fafc;
  border-color: var(--secondary-color, #4299e1);
  color: var(--secondary-color, #4299e1);
  transform: translateY(-2px)
}

.ads-buy-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 25px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: .3s;
  border: none;
  cursor: pointer;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  font-family: Tajawal, sans-serif;
  box-sizing: border-box
}

.ads-buy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  transition: left .5s
}

.ads-buy-btn:hover::before {
  left: 100%
}

.ads-gold .ads-buy-btn {
  background: linear-gradient(135deg, gold, orange);
  color: #7c6500;
  box-shadow: 0 4px 15px rgba(255, 215, 0, .3)
}

.ads-silver .ads-buy-btn {
  background: linear-gradient(135deg, silver, #a0a0a0);
  color: #fff;
  box-shadow: 0 4px 15px rgba(192, 192, 192, .3)
}

.ads-bronze .ads-buy-btn {
  background: linear-gradient(135deg, #cd7f32, sienna);
  color: #fff;
  box-shadow: 0 4px 15px rgba(205, 127, 50, .3)
}

.ads-basic .ads-buy-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  box-shadow: 0 4px 15px rgba(40, 167, 69, .3)
}

/* START PAYMENT MODULE */
.ads-buy-btn-vf {
  background: linear-gradient(135deg, #e60000, #b30000) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(230, 0, 0, .3) !important;
}
/* END PAYMENT MODULE */

.ads-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .2)
}

.ads-payment-methods {
  margin: 80px auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
  border: 1px solid #f1f5f9;
  box-sizing: border-box
}

.ads-warning-box {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 1px solid #ffecb5;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #856404;
  box-sizing: border-box
}

.ads-warning-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color, #38b2ac);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0
}

.ads-warning-content {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.6
}

.ads-warning-content strong {
  color: #856404;
  font-weight: 700
}

.ads-payment-content {
  display: flex;
  gap: 40px;
  align-items: stretch;
  flex-wrap: wrap
}

.ads-payment-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex: 1;
  min-width: 300px
}

.ads-payment-card {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #e2e8f0;
  transition: .3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
  box-sizing: border-box;
  margin-bottom: 10px
}

.ads-payment-card:hover {
  transform: translateX(5px);
  border-color: var(--secondary-color, #4299e1)
}

.ads-vodafone {
  border-right: 4px solid #e4405f
}

.ads-instapay {
  border-right: 4px solid #007bff
}

.ads-payment-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0
}

.ads-payment-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color, #4299e1), var(--primary-color, #2b6cb0));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem
}

.ads-payment-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color, #2b6cb0)
}

.ads-payment-details {
  margin-bottom: 25px
}

.ads-payment-detail {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0
}

.ads-payment-detail i {
  color: var(--secondary-color, #4299e1);
  width: 24px;
  text-align: center;
  font-size: 1.2rem
}

.ads-detail-content {
  display: flex;
  flex-direction: column;
  flex: 1
}

.ads-detail-label {
  font-size: .9rem;
  color: #718096;
  margin-bottom: 5px;
  font-weight: 500
}

.ads-detail-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3748
}

.ads-payment-note {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  font-size: .9rem;
  color: #718096;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 4px solid var(--accent-color, #38b2ac);
  margin-top: 15px
}

.ads-payment-note i {
  color: var(--accent-color, #38b2ac);
  font-size: 1.1rem
}

.ads-request {
  background: #f8fafc;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  flex: 1;
  min-width: 300px;
  box-sizing: border-box
}

.ads-form-box {
  height: 100%
}

.ads-request-title {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 1.5rem;
  color: var(--primary-color, #2b6cb0);
  font-weight: 800
}

.ads-request-title i {
  color: var(--accent-color, #38b2ac);
  font-size: 1.4rem
}

.ads-notification {
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  align-items: center;
  gap: 15px;
  color: #1565c0;
  box-sizing: border-box
}

.ads-notification-icon {
  font-size: 1.3rem;
  color: #1976d2
}

.ads-notification-content {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6
}

#ads-form {
  display: flex;
  flex-direction: column;
  gap: 25px
}

.ads-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.ads-form-label {
  font-weight: 700;
  color: var(--primary-color, #2b6cb0);
  font-size: 1rem;
  margin-bottom: 5px
}

.ads-input-wrapper {
  position: relative;
  display: flex;
  align-items: center
}

.ads-form-input {
  flex: 1;
  padding: 14px 15px 14px 50px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: .3s;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  font-family: Tajawal, sans-serif
}

.ads-form-input:focus {
  outline: 0;
  border-color: var(--secondary-color, #4299e1);
  box-shadow: 0 0 0 3px rgba(66, 153, 225, .1)
}

.ads-form-input:disabled {
  background: #f1f5f9;
  color: #718096;
  cursor: not-allowed
}

.ads-input-icon {
  position: absolute;
  left: 15px;
  color: #a0aec0;
  font-size: 1.1rem
}

.ads-phone-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.ads-input-separator {
  text-align: center;
  color: #a0aec0;
  font-size: .95rem;
  padding: 8px 0;
  font-weight: 500
}

.ads-msg-box {
  background: #fff;
  border: 2px dashed #dee2e6;
  border-radius: 10px;
  padding: 25px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
  cursor: pointer;
  box-sizing: border-box
}

.ads-msg-box.ads-has-content {
  background: #f0fff4;
  border-color: #48bb78
}

.ads-msg-placeholder {
  text-align: center;
  color: #a0aec0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px
}

.ads-msg-placeholder i {
  font-size: 1.8rem;
  color: var(--secondary-color, #4299e1)
}

.ads-msg-placeholder span {
  font-size: 1.05rem;
  font-weight: 500
}

.ads-selected-package-info {
  width: 100%;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  box-sizing: border-box
}

.ads-selected-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: #48bb78
}

.ads-selected-header i {
  font-size: 1.8rem
}

.ads-selected-header h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700
}

.ads-selected-details {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-sizing: border-box
}

.ads-package-name {
  font-weight: 800;
  color: var(--primary-color, #2b6cb0);
  font-size: 1.2rem;
  margin-bottom: 8px
}

.ads-package-price {
  color: var(--secondary-color, #4299e1);
  font-size: 1.1rem;
  font-weight: 700
}

.ads-form-actions {
  text-align: center;
  margin-top: 15px
}

.ads-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--secondary-color, #4299e1), var(--primary-color, #2b6cb0));
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: Tajawal, sans-serif;
  min-width: 200px;
  box-sizing: border-box
}

.ads-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 153, 225, .3)
}

.ads-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: .6
}

.ads-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, .3);
  z-index: 1000;
  transition: .3s;
  font-size: 1rem;
  box-sizing: border-box
}

.ads-whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, .4);
  background: linear-gradient(135deg, #128c7e, #25d366)
}

.ads-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box
}

.ads-popup.ads-active {
  display: flex
}

.ads-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(5px)
}

.ads-popup-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .3);
  animation: .3s ease-out adsPopupIn;
  box-sizing: border-box
}

@keyframes adsPopupIn {
  from {
    opacity: 0;
    transform: scale(.8) translateY(-20px)
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0)
  }
}

.ads-popup-header {
  background: linear-gradient(135deg, var(--primary-color, #2b6cb0), var(--secondary-color, #4299e1));
  color: #fff;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box
}

.ads-popup-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700
}

.ads-popup-close {
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
  font-size: 1.1rem;
  box-sizing: border-box
}

.ads-popup-close:hover {
  background: rgba(255, 255, 255, .3);
  transform: rotate(90deg)
}

.ads-popup-body {
  padding: 30px;
  max-height: 400px;
  overflow-y: auto;
  box-sizing: border-box
}

.ads-popup-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2d3748;
  margin-bottom: 25px;
  text-align: justify
}

.ads-popup-features h4 {
  color: var(--primary-color, #2b6cb0);
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 700
}

.ads-popup-features ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.ads-popup-features li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: #2d3748
}

.ads-popup-features li i {
  color: #48bb78;
  margin-top: 3px;
  font-size: .9rem
}

.ads-popup-footer {
  padding: 20px 30px;
  background: #f8f9fa;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  box-sizing: border-box
}

.ads-popup-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--secondary-color, #4299e1), var(--primary-color, #2b6cb0));
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: .3s;
  border: none;
  cursor: pointer;
  min-width: 200px;
  box-sizing: border-box
}

.ads-popup-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(66, 153, 225, .3)
}

@media (min-width:1200px) {
  .ads-page {
    max-width: 1200px
  }
}

@media (max-width:1199px) and (min-width:992px) {
  .ads-page {
    max-width: 960px;
    padding: 35px 20px
  }

  .ads-packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px
  }

  .ads-payment-content {
    gap: 30px
  }
}

@media (max-width:991px) and (min-width:768px) {
  .ads-page {
    padding: 30px 20px
  }

  .ads-banner {
    padding: 40px 30px
  }

  .ads-banner-title {
    font-size: 2.1rem
  }

  .ads-main-title {
    font-size: 2rem
  }

  .ads-packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px
  }

  .ads-package-card {
    min-height: 580px
  }

  .ads-payment-content {
    flex-direction: column;
    gap: 30px
  }

  .ads-payment-cards {
    width: 100%;
    flex-direction: row
  }

  .ads-payment-card {
    flex: 1;
    min-width: 0
  }

  .ads-stat-item {
    min-width: 180px;
    padding: 12px 20px;
    font-size: .95rem
  }
}

@media (max-width:767px) and (min-width:576px) {
  .ads-page {
    padding: 25px 15px
  }

  .ads-page-title {
    font-size: 2rem
  }

  .ads-banner {
    padding: 35px 25px
  }

  .ads-banner-title {
    font-size: 1.9rem
  }

  .ads-main-title {
    font-size: 1.8rem
  }

  .ads-packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .ads-package-card {
    min-height: 560px
  }

  .ads-card-header {
    padding: 40px 25px 25px
  }

  .ads-package-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem
  }

  .ads-price-amount {
    font-size: 2.2rem
  }

  .ads-features {
    padding: 25px
  }

  .ads-payment-content {
    flex-direction: column;
    gap: 25px
  }

  .ads-payment-cards {
    width: 100%;
    flex-direction: column
  }

  .ads-payment-methods {
    padding: 30px 25px;
    margin: 60px auto
  }

  .ads-request {
    padding: 25px
  }

  .ads-payment-header {
    flex-direction: column;
    text-align: center;
    gap: 15px
  }

  .ads-payment-detail {
    flex-direction: column;
    text-align: center;
    gap: 8px
  }

  .ads-stat-item {
    min-width: 160px;
    padding: 10px 15px;
    font-size: .9rem
  }

  .ads-whatsapp-btn {
    left: 20px;
    bottom: 20px;
    padding: 12px 25px;
    font-size: .9rem
  }
}

@media (max-width:575px) {
  .ads-page {
    padding: 20px 10px
  }

  .ads-page-header {
    margin-bottom: 40px;
    padding-bottom: 25px
  }

  .ads-page-title {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 10px
  }

  .ads-page-subtitle {
    font-size: 1.1rem
  }

  .ads-banner {
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 15px
  }

  .ads-tagline {
    padding: 10px 20px;
    font-size: 1rem;
    margin-bottom: 20px
  }

  .ads-banner-title {
    font-size: 1.7rem;
    margin-bottom: 20px
  }

  .ads-banner p {
    font-size: 1.1rem;
    margin-bottom: 25px
  }

  .ads-banner-stats {
    margin-top: 25px;
    gap: 15px
  }

  .ads-stat-item {
    min-width: 100%;
    justify-content: center;
    padding: 12px 15px;
    font-size: .9rem;
    flex-direction: column;
    text-align: center;
    gap: 8px
  }

  .ads-stat-item i {
    font-size: 1.1rem
  }

  .ads-packages-section {
    margin: 40px 0 60px
  }

  .ads-main-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    gap: 10px
  }

  .ads-main-title::after {
    width: 60px;
    bottom: -12px;
    height: 3px
  }

  .ads-packages-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .ads-package-card {
    min-height: auto;
    border-radius: 15px
  }

  .ads-ribbon {
    top: 15px;
    left: -40px;
    padding: 8px 35px;
    font-size: .75rem;
    width: 140px
  }

  .ads-card-header {
    padding: 40px 20px 25px
  }

  .ads-package-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    margin-bottom: 20px
  }

  .ads-plan-name {
    font-size: 1.3rem;
    margin-bottom: 15px
  }

  .ads-price-amount {
    font-size: 2.2rem
  }

  .ads-price-currency {
    font-size: 1.1rem
  }

  .ads-price-period {
    font-size: .9rem
  }

  .ads-features {
    padding: 25px 20px
  }

  .ads-feature-item {
    padding: 12px 0;
    gap: 12px
  }

  .ads-feature-text {
    font-size: .95rem
  }

  .ads-package-footer {
    padding: 20px 20px 25px;
    gap: 12px
  }

  .ads-details-btn {
    padding: 12px 15px;
    font-size: .95rem
  }

  .ads-buy-btn {
    padding: 14px 20px;
    font-size: 1rem
  }

  .ads-payment-methods {
    margin: 50px auto;
    padding: 25px 20px;
    border-radius: 15px
  }

  .ads-warning-box {
    padding: 20px;
    margin-bottom: 30px;
    gap: 15px;
    flex-direction: column;
    text-align: center
  }

  .ads-warning-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem
  }

  .ads-warning-content {
    font-size: 1rem
  }

  .ads-payment-content {
    gap: 25px;
    flex-direction: column
  }

  .ads-payment-cards {
    width: 100%
  }

  .ads-payment-card {
    padding: 20px
  }

  .ads-payment-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-bottom: 20px
  }

  .ads-payment-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem
  }

  .ads-payment-header h3 {
    font-size: 1.3rem
  }

  .ads-payment-detail {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 12px 0
  }

  .ads-payment-detail i {
    font-size: 1.1rem
  }

  .ads-detail-value {
    font-size: 1rem
  }

  .ads-request {
    padding: 25px 20px
  }

  .ads-request-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    gap: 10px
  }

  .ads-request-title i {
    font-size: 1.2rem
  }

  .ads-notification {
    padding: 15px;
    margin-bottom: 25px;
    gap: 12px;
    flex-direction: column;
    text-align: center
  }

  .ads-notification-content {
    font-size: .95rem
  }

  #ads-form {
    gap: 20px
  }

  .ads-form-input {
    padding: 12px 15px 12px 45px
  }

  .ads-msg-box {
    padding: 20px;
    min-height: 80px
  }

  .ads-msg-placeholder i {
    font-size: 1.5rem
  }

  .ads-msg-placeholder span {
    font-size: 1rem
  }

  .ads-selected-package-info {
    padding: 15px
  }

  .ads-selected-header {
    gap: 12px;
    margin-bottom: 15px
  }

  .ads-selected-header i {
    font-size: 1.5rem
  }

  .ads-selected-header h4 {
    font-size: 1.1rem
  }

  .ads-selected-details {
    padding: 12px
  }

  .ads-package-name {
    font-size: 1.1rem
  }

  .ads-package-price {
    font-size: 1rem
  }

  .ads-submit-btn {
    padding: 14px;
    font-size: 1rem;
    min-width: auto
  }

  .ads-whatsapp-btn {
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 12px 20px;
    font-size: .9rem;
    text-align: center;
    justify-content: center;
    width: calc(100% - 30px)
  }

  .ads-popup-content {
    max-width: calc(100% - 20px);
    margin: 0 10px
  }

  .ads-popup-header {
    padding: 20px 25px
  }

  .ads-popup-header h3 {
    font-size: 1.2rem
  }

  .ads-popup-body {
    padding: 20px
  }

  .ads-popup-description {
    font-size: 1rem
  }

  .ads-popup-features li {
    font-size: .95rem
  }

  .ads-popup-buy-btn {
    min-width: 150px;
    padding: 12px 25px
  }
}

@media (max-width:400px) {
  .ads-page {
    padding: 15px 10px
  }

  .ads-page-title {
    font-size: 1.6rem
  }

  .ads-banner-title {
    font-size: 1.5rem
  }

  .ads-main-title {
    font-size: 1.4rem
  }

  .ads-price-amount {
    font-size: 2rem
  }

  .ads-plan-name {
    font-size: 1.2rem
  }

  .ads-package-footer {
    flex-direction: column
  }

  .ads-buy-btn,
  .ads-details-btn {
    width: 100%
  }
}

@keyframes adsCardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.ads-package-card {
  animation: .6s ease-out adsCardEntrance
}

.ads-package-card:nth-child(2) {
  animation-delay: .1s
}

.ads-package-card:nth-child(3) {
  animation-delay: .2s
}

.ads-package-card:nth-child(4) {
  animation-delay: .3s
}

.ads-flex {
  display: flex
}

.ads-justify-space-between {
  justify-content: space-between
}

.ads-flex-y {
  display: flex;
  flex-direction: column
}

.ads-package-card.ads-active {
  transform: translateY(-10px) !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .15) !important;
  border-color: var(--secondary-color, #4299e1) !important
}

html {
  scroll-behavior: smooth
}

body.ads-popup-open {
  overflow: hidden
}

.itms-page-main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  background: linear-gradient(135deg, #f8fafc 0, #fff 100%);
  min-height: 80vh
}

.itms-page-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  color: #fff;
  position: relative;
  overflow: hidden
}

.itms-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,224C960,224,1056,256,1152,245.3C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') 0 0/cover
}

.itms-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap
}

.itms-title-icon {
  color: #fbbf24;
  font-size: 2.2rem;
  background: rgba(255, 255, 255, .15);
  padding: 12px;
  border-radius: 12px;
  backdrop-filter: blur(10px)
}

.itms-city-badge {
  background: rgba(255, 255, 255, .2);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px)
}

.itms-page-subtitle {
  font-size: 1.2rem;
  opacity: .9;
  margin: 0;
  position: relative;
  z-index: 2
}

.itms-search-container {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid #e2e8f0;
  margin-bottom: 30px
}

.itms-search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 20px;
  align-items: end
}

.itms-search-field {
  display: flex;
  flex-direction: column
}

.itms-search-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px
}

.itms-field-icon {
  color: var(--secondary-color);
  font-size: .9rem
}

.itms-search-select {
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: var(--text-color);
  font-family: Tajawal, sans-serif;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  width: 100%
}

.itms-search-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, .1);
  outline: 0
}

.itms-search-action {
  display: flex;
  align-items: flex-end;
  gap: 10px
}

.itms-search-button {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  height: fit-content
}

.itms-search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 62, 62, .3)
}

.itms-search-icon {
  font-size: .9rem
}

.itms-clear-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e53e3e;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: .3s;
  height: fit-content
}

.itms-clear-filter:hover {
  background: #c53030;
  transform: translateY(-2px)
}

.itms-page-info {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
  align-items: center
}

.itms-page-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(43, 108, 176, .1);
  padding: 8px 16px;
  border-radius: 8px
}

.itms-counter-label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: .9rem
}

.itms-counter-number {
  background: var(--secondary-color);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem
}

.itms-results-count {
  display: flex;
  align-items: center;
  background: rgba(229, 62, 62, .1);
  padding: 8px 16px;
  border-radius: 8px
}

.itms-results-text {
  font-weight: 600;
  color: var(--accent-color);
  font-size: .9rem
}

.itms-active-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: .9rem
}

.itms-rating-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: .9rem
}

.itms-rating-warning .itms-fa-icon {
  font-size: .8rem
}

.itms-mobile-slider {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
  margin-bottom: 40px;
  border: 1px solid #e2e8f0;
  position: relative
}

.itms-swiper-main {
  position: relative;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  width: 100%
}

.itms-swiper-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1
}

.itms-swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  display: none
}

.itms-swiper-slide:first-child {
  display: block
}

.itms-slide-inner {
  position: relative;
  height: 100%;
  width: 100%;
  background: #f5f5f5
}

.itms-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f5f5f5;
  display: block
}

.itms-slide-inner:hover .itms-slide-image {
  transform: scale(1.05)
}

.itms-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .9) 0, transparent 100%);
  color: #fff;
  padding: 30px 25px;
  height: 60%;
  display: flex;
  align-items: flex-end
}

.itms-slide-content {
  width: 100%
}

.itms-slide-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .3)
}

.itms-slide-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(229, 62, 62, .3)
}

.itms-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: .3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.itms-slide-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 108, 176, .3)
}

.itms-swiper-pagination {
  position: absolute;
  bottom: 15px !important;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  display: flex !important;
  justify-content: center;
  gap: 8px
}

.itms-swiper-pagination .itms-swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, .5);
  opacity: 1;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: .3s
}

.itms-swiper-pagination .itms-swiper-pagination-bullet-active {
  background: #fff;
  width: 30px;
  border-radius: 5px
}

.itms-swiper-button-next,
.itms-swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, .9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 10;
  transition: .3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
  border: none;
  outline: 0;
  font-size: 16px
}

.itms-swiper-button-next:hover,
.itms-swiper-button-prev:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2)
}

.itms-swiper-button-next {
  right: 20px
}

.itms-swiper-button-prev {
  left: 20px
}

.itms-swiper-button-next i,
.itms-swiper-button-prev i {
  font-size: 16px;
  font-weight: 700
}

.itms-quick-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap
}

.itms-quick-btn {
  flex: 1;
  min-width: 250px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  border: none;
  padding: 15px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.itms-quick-show {
  background: linear-gradient(135deg, var(--accent-color), #fc8181)
}

.itms-quick-return {
  background: linear-gradient(135deg, #48bb78, #38a169);
  display: none
}

.itms-quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2)
}

.itms-quick-icon {
  font-size: .9rem
}

.itms-quick-table-container {
  display: none;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px
}

.itms-quick-table {
  overflow-x: auto
}

.itms-data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 600px
}

.itms-table-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 18px 20px;
  text-align: right;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid var(--light-color)
}

.itms-table-row {
  transition: var(--transition)
}

.itms-table-row:hover {
  background: #f8fafc
}

.itms-table-cell {
  padding: 15px 20px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-color)
}

.itms-product-name {
  font-weight: 600;
  color: var(--primary-color)
}

.itms-category-name {
  color: var(--secondary-color);
  font-weight: 500
}

.itms-rating-cell {
  text-align: center
}

.itms-quick-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center
}

.itms-quick-rating-score {
  background: rgba(251, 191, 36, .1);
  color: #d97706;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .85rem
}

.itms-location {
  display: flex;
  align-items: center;
  color: var(--text-light)
}

.itms-location-icon {
  color: var(--accent-color);
  font-size: .8rem
}

.itms-actions {
  text-align: center
}

.itms-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 108, 176, .1);
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: .85rem;
  transition: var(--transition)
}

.itms-action-link:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-1px)
}

.itms-action-icon {
  font-size: .8rem
}

.itms-empty-state {
  background: #fff;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--box-shadow);
  border: 1px solid #f1f5f9;
  margin: 40px 0
}

.itms-empty-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--text-light);
  font-size: 2rem
}

.itms-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px
}

.itms-empty-description {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.5
}

.itms-products-grid {
  display: flex;
  flex-direction: column;
  gap: 25px
}

.itms-product-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 25px;
  align-items: start
}

.itms-product-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid #f1f5f9;
  transition: .3s;
  position: relative;
  overflow: hidden
}

.itms-product-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
  transform: translateY(-3px)
}

.itms-high-rated-card {
  position: relative;
  background: linear-gradient(white, #fff) padding-box, linear-gradient(135deg, #fbbf24, #f59e0b, #d97706, #f59e0b, #fbbf24) border-box;
  border: 3px solid transparent;
  animation: 2s infinite alternate high-rated-glow;
  z-index: 1
}

.itms-high-rated-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706, #f59e0b, #fbbf24);
  border-radius: 22px;
  z-index: -1;
  opacity: .7
}

.itms-high-rated-card::after {
  content: '⭐ تقييم عالي';
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 700;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(251, 191, 36, .3);
  animation: 2s infinite badge-pulse
}

@keyframes high-rated-glow {
  0% {
    box-shadow: 0 0 10px rgba(251, 191, 36, .3), 0 0 20px rgba(251, 191, 36, .2), 0 0 30px rgba(251, 191, 36, .1)
  }

  100% {
    box-shadow: 0 0 15px rgba(251, 191, 36, .4), 0 0 25px rgba(251, 191, 36, .3), 0 0 35px rgba(251, 191, 36, .2)
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0
  }

  100% {
    background-position: 200px 0
  }
}

@keyframes badge-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(251, 191, 36, .3)
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(251, 191, 36, .4)
  }
}

.itms-high-rated-card .itms-fa-icon.fa-star {
  color: #fbbf24;
  animation: 1.5s infinite star-twinkle
}

@keyframes star-twinkle {

  0%,
  100% {
    transform: scale(1);
    opacity: 1
  }

  50% {
    transform: scale(1.2);
    opacity: .8
  }
}

.itms-high-rated-card .itms-product-rating-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, .15), rgba(245, 158, 11, .1));
  border-color: rgba(251, 191, 36, .3)
}

.itms-high-rated-card .itms-rating-score {
  color: #d97706;
  font-weight: 800;
  position: relative
}

.itms-high-rated-card .itms-rating-score::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24, transparent);
  animation: 2s infinite score-underline
}

@keyframes score-underline {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(100%)
  }
}

.itms-expired-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 15px;
  backdrop-filter: blur(5px)
}

.itms-overlay-content {
  text-align: center;
  color: #fff;
  padding: 30px;
  max-width: 400px
}

.itms-expired-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: #fbbf24
}

.itms-expired-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px
}

.itms-expired-text {
  font-size: 1rem;
  opacity: .9;
  margin-bottom: 25px
}

.itms-overlay-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap
}

.itms-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer
}

.itms-delete-btn {
  background: var(--accent-color);
  color: #fff
}

.itms-renew-btn {
  background: var(--secondary-color);
  color: #fff
}

.itms-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .3)
}

.itms-offer-badge-main {
  position: relative;
  background: linear-gradient(135deg, #ff6b35, #ffa62e);
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(255, 107, 53, .3);
  cursor: pointer;
  transition: .3s;
  z-index: 2;
  align-self: center;
  margin-top: 20px
}

.itms-offer-badge-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, .4)
}

.itms-offer-icon {
  font-size: 16px;
  color: #ffeb3b;
  animation: 2s infinite pulse-icon
}

.itms-offer-text {
  font-weight: 700;
  font-size: 14px;
  flex-grow: 1;
  margin: 0 10px
}

.itms-offer-time {
  font-size: 12px;
  opacity: .9;
  direction: ltr;
  background: rgba(0, 0, 0, .2);
  padding: 2px 8px;
  border-radius: 12px
}

.itms-offer-arrow {
  font-size: 12px;
  transition: transform .3s;
  margin-left: 5px
}

.itms-offer-popup {
  position: absolute;
  top: -5%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  padding: 20px;
  margin-bottom: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
  z-index: 1;
  border: 2px solid #ff6b35
}

.itms-offer-badge-compact:hover .itms-offer-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.itms-offer-badge-compact:hover .itms-offer-arrow {
  transform: rotate(180deg)
}

.itms-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee
}

.itms-popup-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #333
}

.itms-popup-icon {
  color: #ff6b35;
  font-size: 18px
}

.itms-popup-discount {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ff6b35, #ffa62e);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700
}

.itms-popup-countdown {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px
}

.itms-popup-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #666;
  font-size: 14px;
  justify-content: center
}

.itms-popup-clock {
  color: #ff6b35
}

.itms-popup-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px
}

.itms-popup-time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 45px
}

.itms-popup-value {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: #333;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  min-width: 40px;
  text-align: center;
  margin-bottom: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
  transition: .3s
}

.itms-popup-value.updating {
  animation: .5s countdown-update;
  color: #ff6b35
}

.itms-popup-time-unit .itms-popup-label {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
  font-weight: 400
}

.itms-popup-separator {
  font-size: 20px;
  font-weight: 700;
  color: #ccc;
  padding-top: 8px
}

.itms-popup-progress {
  margin-top: 15px
}

.itms-popup-progress-bar {
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px
}

.itms-popup-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  width: 0%;
  border-radius: 3px;
  transition: width 1s
}

.itms-popup-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #666
}

.itms-popup-action {
  text-align: center
}

.itms-popup-btn {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center
}

.itms-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, .3);
  background: linear-gradient(135deg, #2e7d32, #1b5e20)
}

.itms-popup-cart {
  font-size: 16px
}

@keyframes pulse-icon {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.2)
  }
}

@keyframes countdown-update {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.3)
  }
}

@media (max-width:768px) {
  .itms-offer-badge-main {
    padding: 8px 12px
  }

  .itms-offer-text {
    font-size: 13px
  }

  .itms-offer-time {
    font-size: 11px;
    padding: 2px 6px
  }

  .itms-popup-value {
    font-size: 20px;
    min-width: 35px;
    padding: 6px
  }

  .itms-popup-timer {
    gap: 8px
  }

  .itms-popup-time-unit {
    min-width: 40px
  }
}

.itms-offer-badge-main.ending-soon {
  background: linear-gradient(135deg, #ff5252, #ff4081);
  animation: 1s infinite warning-pulse
}

@keyframes warning-pulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 82, 82, .3)
  }

  50% {
    box-shadow: 0 4px 20px rgba(255, 82, 82, .4)
  }
}

.itms-ad-image,
.itms-product-image img,
.itms-service-image img,
.itms-slide-image {
  transition: opacity .5s;
  object-fit: cover
}

.itms-ad-image.loaded,
.itms-product-image img.loaded,
.itms-service-image img.loaded,
.itms-slide-image.loaded {
  opacity: 1
}

.itms-ad-image,
.itms-main-image,
.itms-slide-image {
  background-color: #f5f5f5;
  background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0), linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px
}

.itms-ad-image:not([src*="data:image"]),
.itms-product-image img:not([src*="data:image"]),
.itms-slide-image:not([src*="data:image"]) {
  background: 0 0
}

.itms-product-content {
  position: relative;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 25px;
  align-items: start
}

.itms-product-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1)
}

.itms-main-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .6s
}

.itms-product-card:hover .itms-main-image {
  transform: scale(1.05)
}

.itms-product-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: .8rem;
  color: var(--text-light)
}

.itms-rating,
.itms-views {
  display: flex;
  align-items: center;
  gap: 5px
}

.itms-product-info {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.itms-product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 15px
}

.itms-product-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.3;
  flex: 1
}

.itms-product-rating-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(251, 191, 36, .1);
  padding: 8px 15px;
  border-radius: 20px;
  border: 1px solid rgba(251, 191, 36, .2);
  flex-shrink: 0
}

.itms-rating-score {
  font-weight: 700;
  color: #d97706;
  font-size: .9rem
}

.itms-rating-small {
  font-size: .8em;
  opacity: .8;
  margin-right: 5px
}

.itms-product-description {
  color: var(--text-color);
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0
}

.itms-product-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap
}

.itms-location {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 108, 176, .1);
  padding: 8px 15px;
  border-radius: 8px
}

.itms-meta-icon {
  color: var(--secondary-color);
  font-size: .9rem
}

.itms-product-actions {
  margin-top: 10px
}

.itms-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition)
}

.itms-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 108, 176, .3)
}

.itms-btn-icon {
  font-size: .9rem
}

.itms-keywords-section {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9
}

.itms-keywords-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block
}

.itms-keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.itms-keyword-tag {
  background: rgba(43, 108, 176, .1);
  color: var(--secondary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 500;
  border: 1px solid rgba(43, 108, 176, .2);
  transition: var(--transition);
  cursor: pointer
}

.itms-keyword-tag:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-1px)
}

.itms-side-advertisement {
  position: sticky;
  top: 20px;
  height: fit-content
}

.itms-ad-card {
  background: linear-gradient(135deg, #f8fafc, #fff);
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--box-shadow);
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: var(--transition)
}

.itms-ad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15)
}

.itms-ad-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px
}

.itms-ad-content {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.itms-ad-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0
}

.itms-ad-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  justify-content: center
}

.itms-ad-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-2px)
}

.itms-ad-icon {
  font-size: .8rem
}

.itms-default-ad {
  background: linear-gradient(135deg, #fff9db, #fff3cd);
  border: 1px solid #ffeaa7
}

.itms-ad-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(251, 191, 36, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: #d97706;
  font-size: 1.8rem
}

.itms-ad-placeholder-icon {
  font-size: 1.8rem
}

.itms-services-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid #f1f5f9
}

.itms-services-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 35px;
  position: relative
}

.itms-services-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  border-radius: 2px
}

.itms-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px
}

.itms-service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid #f1f5f9;
  transition: var(--transition)
}

.itms-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .15)
}

.itms-service-image {
  height: 180px;
  overflow: hidden
}

.itms-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s
}

.itms-service-card:hover .itms-service-image img {
  transform: scale(1.1)
}

.itms-service-content {
  padding: 25px
}

.itms-service-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center
}

.itms-service-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px
}

.itms-service-rating-score {
  font-size: .9rem;
  color: var(--text-light);
  font-weight: 600
}

.itms-service-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 25px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0
}

.itms-service-stat {
  display: flex;
  align-items: center;
  gap: 8px
}

.itms-stat-icon {
  color: var(--secondary-color);
  font-size: .9rem
}

.itms-service-actions {
  display: flex;
  gap: 10px
}

.itms-service-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .85rem;
  transition: var(--transition);
  border: none;
  cursor: pointer
}

.itms-rate-btn {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff
}

.itms-profile-btn {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff
}

.itms-service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.itms-pagination {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--box-shadow);
  border: 1px solid #f1f5f9;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap
}

.itms-pagination-label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem
}

.itms-pagination-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center
}

.itms-renew-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.itms-modal-container {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .3);
  max-width: 500px;
  width: 100%;
  position: relative;
  overflow: hidden
}

.itms-modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 25px 30px;
  position: relative
}

.itms-modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, .2);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px)
}

.itms-modal-close:hover {
  background: rgba(255, 255, 255, .3);
  transform: scale(1.1)
}

.itms-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px
}

.itms-modal-icon,
.itms-modal-item-name {
  color: #fbbf24
}

.itms-modal-body {
  padding: 30px
}

.itms-form-group {
  margin-bottom: 25px
}

.itms-form-label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px
}

.itms-form-icon {
  color: var(--secondary-color);
  font-size: .9rem
}

.itms-date-time-group {
  display: flex;
  gap: 10px
}

.itms-form-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: Tajawal, sans-serif;
  font-size: .95rem;
  transition: var(--transition)
}

.itms-form-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, .1);
  outline: 0
}

.itms-date-input,
.itms-time-input {
  text-align: center
}

.itms-modal-message {
  text-align: center;
  margin: 20px 0;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #e2e8f0
}

.itms-modal-footer {
  padding: 25px 30px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 15px;
  justify-content: center
}

.itms-modal-btn {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: Tajawal, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  justify-content: center
}

.itms-save-btn {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff
}

.itms-cancel-btn {
  background: #fff;
  color: var(--text-color);
  border: 1px solid #e2e8f0
}

.itms-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.itms-fa-icon {
  transition: .2s
}

.itms-fa-icon:hover {
  transform: scale(1.1)
}

@media (max-width:1024px) {
  .itms-search-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px
  }

  .itms-product-wrapper {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .itms-side-advertisement {
    position: static;
    order: -1
  }

  .itms-product-content {
    grid-template-columns: 200px 1fr
  }

  .itms-page-title {
    font-size: 2rem
  }
}

@media (max-width:768px) {
  .itms-page-main {
    padding: 0 15px;
    margin: 20px auto
  }

  .itms-page-header {
    padding: 25px 20px
  }

  .itms-page-title {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 10px
  }

  .itms-search-grid {
    grid-template-columns: 1fr
  }

  .itms-search-action {
    flex-direction: column
  }

  .itms-product-content {
    grid-template-columns: 1fr
  }

  .itms-product-image {
    max-width: 300px;
    margin: 0 auto
  }

  .itms-product-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start
  }

  .itms-services-grid {
    grid-template-columns: 1fr
  }

  .itms-service-actions {
    flex-direction: column
  }

  .itms-pagination {
    flex-direction: column;
    gap: 15px
  }

  .itms-modal-container {
    margin: 20px
  }

  .itms-date-time-group {
    flex-direction: column
  }

  .itms-product-stats {
    flex-direction: column;
    gap: 5px
  }

  .itms-high-rated-card::after {
    font-size: .75rem;
    padding: 4px 12px;
    top: 10px;
    left: 10px
  }

  .itms-swiper-main {
    height: 300px
  }

  .itms-slide-overlay {
    padding: 20px 15px
  }

  .itms-slide-title {
    font-size: 1.2rem
  }

  .itms-swiper-button-next,
  .itms-swiper-button-prev {
    width: 35px;
    height: 35px;
    font-size: 14px
  }

  .itms-swiper-button-next {
    right: 10px
  }

  .itms-swiper-button-prev {
    left: 10px
  }

  .itms-keywords-section {
    display: none
  }
}

@media (max-width:480px) {
  .itms-page-title {
    font-size: 1.5rem
  }

  .itms-product-title {
    font-size: 1.3rem
  }

  .itms-overlay-actions {
    flex-direction: column
  }

  .itms-action-btn {
    width: 100%;
    justify-content: center
  }

  .itms-modal-body {
    padding: 20px
  }

  .itms-modal-footer {
    flex-direction: column;
    padding: 20px
  }

  .itms-modal-btn {
    width: 100%
  }

  .itms-clear-filter,
  .itms-search-button {
    width: 100%;
    justify-content: center
  }

  .itms-quick-btn {
    min-width: 100%
  }

  .itms-high-rated-card {
    border-width: 2px
  }

  .itms-high-rated-card::after {
    font-size: .7rem;
    padding: 3px 10px;
    top: 8px;
    left: 8px
  }

  .itms-swiper-main {
    height: 250px
  }

  .itms-slide-title {
    font-size: 1rem
  }

  .itms-swiper-button-next,
  .itms-swiper-button-prev {
    width: 30px;
    height: 30px;
    font-size: 12px
  }
}

.itms-product-wrapper {
  transition: .3s
}

.itms-product-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15)
}

@media (max-width:768px) {
  .itms-expired-overlay {
    padding: 15px
  }

  .itms-overlay-content {
    padding: 20px
  }

  .itms-expired-title {
    font-size: 1.1rem
  }

  .itms-expired-text {
    font-size: .9rem
  }

  .itms-overlay-actions {
    flex-direction: column;
    gap: 10px
  }

  .itms-action-btn {
    width: 100%;
    justify-content: center;
    font-size: .85rem;
    padding: 8px 15px
  }
}

@media (prefers-color-scheme:dark) {
  .itms-page-main {
    background: linear-gradient(135deg, #1a202c 0, #2d3748 100%)
  }

  .itms-ad-card,
  .itms-pagination,
  .itms-product-card,
  .itms-quick-table-container,
  .itms-search-container,
  .itms-service-card {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0
  }

  .itms-form-input,
  .itms-search-select {
    background: #4a5568;
    border-color: #718096;
    color: #e2e8f0
  }

  .itms-form-input:focus,
  .itms-search-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, .3)
  }

  .itms-high-rated-card {
    background: linear-gradient(#2d3748, #2d3748) padding-box, linear-gradient(135deg, #fbbf24, #f59e0b, #d97706, #f59e0b, #fbbf24) border-box
  }

  .itms-mobile-slider {
    background: #2d3748;
    border-color: #4a5568
  }

  .itms-slide-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, .95) 0, transparent 100%)
  }
}

.itms-ad-image,
.itms-product-image img,
.itms-service-image img {
  content-visibility: auto
}

@media print {

  .itms-mobile-slider,
  .itms-quick-actions,
  .itms-search-container,
  .itms-side-advertisement {
    display: none !important
  }

  .itms-product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc
  }

  .itms-high-rated-card {
    border: 2px solid #f59e0b
  }
}


.itm-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 54, 93, .95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
  padding: 20px;
  box-sizing: border-box
}

.itm-popup-content {
  background: linear-gradient(135deg, #fff 0, #f8fafc 100%);
  border-radius: 20px;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .4);
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0
}

.itm-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 30px 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff
}

.itm-popup-header-content {
  flex: 1
}

.itm-popup-title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px
}

.itm-popup-subtitle {
  margin: 0;
  opacity: .9;
  font-size: .95rem
}

.itm-popup-close {
  background: rgba(255, 255, 255, .15);
  border: 2px solid rgba(255, 255, 255, .3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
  font-size: 1.2rem;
  margin-left: 15px;
  flex-shrink: 0;
  border: none
}

.itm-popup-close:hover {
  background: rgba(255, 255, 255, .25);
  transform: rotate(90deg)
}

.itm-popup-body {
  padding: 0;
  flex: 1;
  display: flex;
  min-height: 0
}

.itm-popup-gallery {
  flex: 1;
  padding: 25px 30px
}

.itm-thumbnails-container {
  height: 100%;
  overflow-y: auto
}

.itm-thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding: 10px
}

.itm-thumb-item {
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: .3s;
  background: #f8fafc;
  border: 2px solid transparent
}

.itm-thumb-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 25px rgba(43, 108, 176, .3)
}

.itm-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 100%
}

.itm-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s
}

.itm-thumb-item:hover .itm-thumb-img {
  transform: scale(1.05)
}

.itm-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 108, 176, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  color: #fff;
  font-size: 1.5rem
}

.itm-thumb-item:hover .itm-thumb-overlay {
  opacity: 1
}

.itm-popup-footer {
  padding: 20px 30px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center
}

.itm-popup-close-btn {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem
}

.itm-popup-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 62, 62, .4)
}

.itm-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10001
}

.itm-lightbox-content {
  position: relative;
  width: 95%;
  height: 95%;
  display: flex;
  flex-direction: column
}

.itm-lightbox-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
  font-size: 1.3rem;
  z-index: 10
}

.itm-lightbox-close:hover {
  background: rgba(255, 255, 255, .3);
  transform: rotate(90deg)
}

.itm-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
  font-size: 1.3rem;
  z-index: 10
}

.itm-lightbox-prev {
  right: 20px
}

.itm-lightbox-next {
  left: 20px
}

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

.itm-lightbox-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  cursor: grab
}

.itm-lightbox-image {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  transition: transform .3s
}

.itm-lightbox-image:active {
  cursor: grabbing
}

.itm-lightbox-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  color: #fff
}

.itm-lightbox-info {
  display: flex;
  gap: 20px;
  align-items: center;
  background: rgba(0, 0, 0, .5);
  padding: 8px 15px;
  border-radius: 20px
}

.itm-lightbox-counter {
  font-size: 1rem;
  font-weight: 600
}

.lightbox-counter-separator {
  opacity: .7;
  margin: 0 5px
}

.itm-lightbox-zoom-level {
  font-size: .9rem;
  opacity: .8
}

.itm-lightbox-actions {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, .5);
  padding: 8px;
  border-radius: 20px
}

.itm-lightbox-btn {
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
  font-size: 1rem
}

.itm-lightbox-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, .3);
  transform: scale(1.1)
}

.itm-lightbox-btn:disabled {
  opacity: .3;
  cursor: not-allowed
}

.itm-no-menu {
  text-align: center;
  padding: 60px 40px;
  color: var(--text-light);
  width: 100%
}

.itm-no-menu-icon {
  width: 80px;
  height: 80px;
  background: rgba(43, 108, 176, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-color);
  font-size: 2rem
}

.itm-no-menu-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px
}

.itm-no-menu-text {
  font-size: .95rem;
  margin: 0;
  opacity: .8
}

.itm-slide-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--secondary-color);
  border-radius: 50%;
  animation: 1s linear infinite spin;
  z-index: 5
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0)
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg)
  }
}

.itm-thumb-slide.active::before {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  background: #48bb78;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 2px #fff;
  animation: 2s infinite pulse
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(72, 187, 120, .7)
  }

  70% {
    box-shadow: 0 0 0 5px rgba(72, 187, 120, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(72, 187, 120, 0)
  }
}

.itm-like-btn.active {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, .3);
  border: 2px solid var(--secondary-color)
}

.itm-like-up.active {
  background: linear-gradient(135deg, #2d7d46, #225a33) !important
}

.itm-like-down.active {
  background: linear-gradient(135deg, #c53030, #9b2c2c) !important
}

.itm-star-item.active {
  border-color: var(--secondary-color);
  background: rgba(43, 108, 176, .1);
  transform: translateX(-5px) scale(1.02);
  box-shadow: 0 4px 15px rgba(43, 108, 176, .2)
}

.itm-star-item.active .itm-stars {
  color: #f59e0b
}

.like-radio,
.star-radio {
  display: none !important
}

.itm-like-option {
  cursor: pointer;
  display: inline-block
}

.itm-star-option {
  cursor: pointer;
  display: block
}

.itm-like-btn:hover,
.itm-star-item:hover {
  transform: translateY(-2px)
}

.itm-comment-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05)
}

.itm-comment-header {
  display: flex;
  align-items: center
}

.itm-comment-user {
  display: flex;
  align-items: center;
  gap: 12px
}

.itm-comment-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary-color)
}

.itm-comment-user-info {
  display: flex;
  flex-direction: column
}

.itm-comment-username {
  font-weight: 600;
  color: var(--primary-color);
  font-size: .95rem
}

.itm-comment-stars {
  color: #fbbf24;
  font-size: .8rem;
  margin-top: 2px
}

.itm-comment-content {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: .95rem
}

.itm-comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: var(--text-light)
}

.itm-comment-like {
  display: flex;
  align-items: center;
  gap: 5px
}

.itm-comment-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0
}

.itm-page-btn {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: .3s
}

.itm-page-btn.active,
.itm-page-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color)
}

.itm-no-comments {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light)
}

.itm-no-comments i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #cbd5e0
}

.itm-login-required {
  text-align: center;
  padding: 30px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px dashed #cbd5e0
}

.itm-login-required i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 15px
}

.itm-login-required h5 {
  color: var(--primary-color);
  margin-bottom: 10px
}

.itm-login-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: .3s
}

.itm-login-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px)
}

.itm-success-msg {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500
}

.itm-error-msg {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500
}

.itm-share-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px)
}

.itm-share-modal-content {
  background: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  animation: .3s ease-out modalFadeIn
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(.95)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.itm-share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff
}

.itm-share-header h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700
}

.itm-share-close {
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s
}

.itm-share-close:hover {
  background: rgba(255, 255, 255, .3);
  transform: rotate(90deg)
}

.itm-share-body {
  padding: 30px
}

.itm-share-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px
}

.itm-share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 15px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  cursor: pointer;
  transition: .3s;
  text-decoration: none;
  color: var(--text-color)
}

.itm-share-option:hover {
  background: #fff;
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(43, 108, 176, .15)
}

.itm-share-option i {
  font-size: 2.5rem;
  margin-bottom: 5px
}

.itm-share-option span {
  font-weight: 600;
  font-size: .95rem
}

.itm-share-option[data-platform=whatsapp] i {
  color: #25d366
}

.itm-share-option[data-platform=facebook] i {
  color: #1877f2
}

.itm-share-option[data-platform=copy] i {
  color: var(--secondary-color)
}

.itm-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  background: linear-gradient(135deg, #f8fafc 0, #fff 100%);
  min-height: 100vh
}

.itm-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  padding: 40px 30px;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--box-shadow)
}

.itm-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,224C960,224,1056,256,1152,245.3C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') 0 0/cover
}

.itm-header-content {
  position: relative;
  z-index: 2;
  text-align: center
}

.itm-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3)
}

.itm-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .2);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px)
}

.itm-main-section {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid #e2e8f0;
  margin-bottom: 30px
}

.itm-details-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  align-items: start
}

.itm-info-card {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #e2e8f0
}

.itm-info-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0
}

.itm-product-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px
}

.itm-admin-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 500
}

.itm-admin-info i {
  color: var(--secondary-color)
}

.itm-info-content {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.itm-info-item {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #f1f5f9
}

.itm-info-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1rem
}

.itm-info-label i {
  color: var(--secondary-color);
  width: 20px;
  text-align: center
}

.itm-info-value {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0
}

.itm-info-value a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color .3s
}

.itm-info-value a:hover {
  color: var(--primary-color)
}

.itm-action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap
}

.itm-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
  border: none;
  cursor: pointer;
  font-size: .95rem
}

.itm-location-btn {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff
}

.itm-menu-btn {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff
}

.itm-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15)
}

.itm-map-card {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #e2e8f0;
  height: fit-content;
  position: sticky;
  top: 1px
}

.itm-map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1)
}

.itm-no-map {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(145deg, #f3f6fa, #e7ecf3);
  border-radius: 12px;
  border: 2px dashed #cbd5e0
}

.itm-no-map-icon {
  width: 80px;
  height: 80px;
  background: rgba(43, 108, 176, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-color);
  font-size: 2rem
}

.itm-no-map-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px
}

.itm-no-map-text {
  color: var(--text-light);
  margin: 0
}

.itm-comments-section {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid #e2e8f0
}

.itm-comments-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px
}

.itm-comment-card,
.itm-comments-card,
.itm-rating-card {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px
}

.itm-comment-header,
.itm-comments-header,
.itm-rating-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0
}

.itm-comment-title,
.itm-comments-title,
.itm-rating-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px
}

.itm-comment-subtitle,
.itm-rating-subtitle {
  font-size: .9rem;
  color: var(--text-light);
  margin-top: 5px
}

.itm-comments-icon {
  color: var(--accent-color);
  font-size: 1.3rem
}

.itm-user-comment-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  border: 2px solid #e2e8f0;
  margin-bottom: 20px
}

.itm-comment-notice {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center
}

.itm-user-comment {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 20px
}

.itm-comment-actions {
  display: flex;
  gap: 15px;
  justify-content: center
}

.itm-delete-comment,
.itm-edit-comment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  font-size: .9rem
}

.itm-edit-comment {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff
}

.itm-delete-comment {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff
}

.itm-delete-comment:hover,
.itm-edit-comment:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.itm-rating-content {
  text-align: center
}

.itm-rating-text {
  color: var(--text-color);
  margin-bottom: 20px;
  font-size: 1rem
}

.itm-likes-container {
  display: flex;
  gap: 15px;
  justify-content: center
}

.itm-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
  border: 2px solid transparent
}

.itm-like-up {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff
}

.itm-like-down {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff
}

.itm-like-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15)
}

.itm-stars-container {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.itm-star-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-color);
  transition: .3s;
  border: 2px solid #e2e8f0;
  cursor: pointer
}

.itm-star-item:hover {
  border-color: var(--secondary-color);
  transform: translateX(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1)
}

.itm-star-number {
  font-weight: 700;
  color: var(--primary-color);
  width: 20px
}

.itm-stars {
  color: #fbbf24;
  font-size: 1.1rem
}

.itm-star-label {
  flex: 1;
  text-align: right;
  font-weight: 500
}

.itm-comment-textarea {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: Tajawal, sans-serif;
  font-size: 1rem;
  resize: vertical;
  transition: border-color .3s
}

.itm-comment-textarea:focus {
  border-color: var(--secondary-color);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, .1)
}

.itm-comment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px
}

.itm-comment-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 500
}

.itm-comment-submit {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  display: flex;
  align-items: center;
  gap: 8px
}

.itm-comment-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 108, 176, .3)
}

.itm-user-ratings {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  border: 1px solid #e2e8f0
}

.itm-rating-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 5px 0
}

.itm-rating-item:last-child {
  margin-bottom: 0
}

.itm-user-stars {
  color: #fbbf24
}

.itm-edit-form {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--secondary-color);
  margin-top: 15px
}

.itm-edit-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: Tajawal, sans-serif;
  font-size: 1rem;
  resize: vertical;
  margin-bottom: 15px
}

.itm-edit-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end
}

.itm-save-edit {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px
}

.itm-cancel-edit {
  background: linear-gradient(135deg, #a0aec0, #718096);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px
}

.itm-comment-counter {
  text-align: left;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 10px
}

.itm-fixed-social-sidebar {
  position: fixed;
  top: 150px;
  left: 10px;
  z-index: 9998;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 10px 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .15);
  border: 1px solid rgba(43, 108, 176, .1);
  transition: .3s;
  animation: .6s ease-out fadeInRight
}

.itm-fixed-social-sidebar:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
  transform: translateX(-5px)
}

.itm-social-links {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.itm-fixed-social-link {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  transition: .3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  border: none;
  cursor: pointer
}

.itm-fixed-social-link:hover {
  transform: scale(1.1) translateX(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25)
}

.itm-fixed-fb {
  background: linear-gradient(135deg, #3b5998, #2d4373)
}

.itm-fixed-wa {
  background: linear-gradient(135deg, #25d366, #128c7e)
}

.itm-fixed-phone {
  background: linear-gradient(135deg, var(--accent-color), #c53030)
}

.itm-fixed-share {
  background: linear-gradient(135deg, #667eea, #764ba2)
}

.itm-fixed-tooltip {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 54, 93, .95);
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.itm-fixed-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(26, 54, 93, .95)
}

.itm-fixed-social-link:hover .itm-fixed-tooltip {
  opacity: 1;
  visibility: visible;
  left: 65px
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@media (max-width:1024px) {

  .itm-comments-grid,
  .itm-details-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .itm-swiper-main {
    height: 450px
  }

  .itm-thumb-slide {
    width: 90px;
    height: 68px
  }

  .itm-fixed-social-sidebar {
    top: auto;
    bottom: 12px;
    right: 20px;
    border-radius: 25px;
    padding: 8px
  }

  .itm-social-links {
    flex-direction: row;
    gap: 10px
  }

  .itm-fixed-social-link {
    width: 45px;
    height: 45px;
    font-size: 1.2rem
  }

  .itm-fixed-tooltip {
    right: auto;
    bottom: 60px;
    top: auto;
    left: 50%;
    transform: translateX(-50%)
  }

  .itm-fixed-tooltip::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-color: rgba(26, 54, 93, .95) transparent transparent
  }

  .itm-fixed-social-link:hover .itm-fixed-tooltip {
    right: auto;
    bottom: 65px
  }
}

@media (max-width:768px) {
  .itm-container {
    padding: 0 15px;
    margin: 20px auto
  }

  .itm-title {
    font-size: 2rem
  }

  .itm-comments-section,
  .itm-main-section {
    padding: 20px
  }

  .itm-action-buttons {
    flex-direction: column
  }

  .itm-action-btn {
    width: 100%;
    justify-content: center
  }

  .itm-likes-container {
    flex-direction: column
  }

  .itm-like-btn {
    width: 100%;
    justify-content: center
  }

  .itm-comment-actions {
    flex-direction: column;
    gap: 15px
  }

  .itm-comment-submit {
    width: 100%;
    justify-content: center
  }

  .itm-swiper-main {
    height: 400px
  }

  .itm-swiper-button-next,
  .itm-swiper-button-prev {
    width: 40px;
    height: 40px;
    font-size: 16px
  }

  .itm-swiper-button-prev {
    right: 10px
  }

  .itm-swiper-button-next {
    left: 10px
  }

  .itm-thumb-slide {
    width: 80px;
    height: 60px
  }

  .itm-thumbs-gallery {
    padding: 10px
  }
}

@media (max-width:576px) {
  .itm-swiper-main {
    height: 350px
  }

  .itm-swiper-button-next,
  .itm-swiper-button-prev {
    width: 35px;
    height: 35px;
    font-size: 14px;
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, .8)
  }

  .itm-thumbs-wrapper {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    padding-bottom: 5px
  }

  .itm-thumbs-wrapper::-webkit-scrollbar {
    height: 6px
  }

  .itm-thumbs-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px
  }

  .itm-thumb-slide {
    width: 70px;
    height: 52px
  }

  .itm-thumbs-nav {
    display: none
  }

  .itm-slide-counter {
    font-size: 12px;
    padding: 3px 10px
  }

  .itm-share-options {
    grid-template-columns: 1fr;
    gap: 10px
  }
}

@media (max-width:480px) {
  .itm-title {
    font-size: 1.7rem
  }

  .itm-product-title {
    font-size: 1.4rem
  }

  .itm-header {
    padding: 25px 20px
  }

  .itm-social-bar {
    gap: 10px
  }

  .itm-social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem
  }

  .itm-comment-actions {
    flex-direction: column;
    gap: 10px
  }

  .itm-delete-comment,
  .itm-edit-comment {
    width: 100%;
    justify-content: center
  }

  .itm-swiper-main {
    height: 300px
  }

  .itm-thumb-slide {
    width: 60px;
    height: 45px
  }

  .itm-thumbs-gallery {
    padding: 8px
  }

  .itm-fixed-social-sidebar {
    bottom: 15px;
    right: 15px;
    padding: 6px
  }

  .itm-fixed-social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem
  }
}

.itm-fade-in {
  animation: .6s ease-out itmFadeIn
}

@keyframes itmFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.dash-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  display: flex;
  opacity: 0
}

.dash-bar {
  flex: 1;
  height: 100%;
  background: linear-gradient(45deg, rgba(26, 54, 93, .9), rgba(43, 108, 176, .7), rgba(229, 62, 62, .8));
  transform: scaleY(0);
  transform-origin: top;
  margin: 0 2px;
  border-radius: 2px
}

.random-bars-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  opacity: 0
}

.random-bar {
  flex: 1;
  width: 100%;
  background: linear-gradient(90deg, rgba(229, 62, 62, .8), rgba(43, 108, 176, .7), rgba(26, 54, 93, .9));
  transform: scaleX(0);
  transform-origin: left;
  margin: 1px 0;
  border-radius: 2px
}

.slideshow-slide.active .content-container {
  animation: .8s cubic-bezier(.25, .46, .45, .94) both elegantSlideIn
}

@keyframes elegantSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px) scale(.98)
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1)
  }
}

.indicator-dot.active::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  animation: 3s infinite ripple
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1
  }

  100% {
    transform: scale(1.5);
    opacity: 0
  }
}

.cta-button,
.restore-ads-btn {
  background-size: 200% 200%;
  animation: 4s infinite gradientShift
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0 50%
  }

  50% {
    background-position: 100% 50%
  }
}

.enhanced-ads-section {
  animation: .6s ease-out softAppear
}

@keyframes softAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(.95)
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.dash-bar,
.random-bar {
  filter: brightness(1.1) contrast(1.2)
}

.control-arrow:active {
  animation: .3s gentleShake
}

@keyframes gentleShake {

  0%,
  100% {
    transform: scale(1.1) translateX(0)
  }

  25% {
    transform: scale(1.1) translateX(-2px)
  }

  75% {
    transform: scale(1.1) translateX(2px)
  }
}

@media (max-width:1024px) {
  .itms-product-wrapper:not(:first-child) .itms-side-advertisement {
    display: none;
  }

  .itms-product-wrapper:first-child .itms-side-advertisement {
    position: static;
    order: 2;
  }

  .itms-product-wrapper:first-child .itms-ad-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    text-align: right;
    padding: 14px;
  }

  .itms-product-wrapper:first-child .itms-ad-image {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    margin-bottom: 0;
  }

  .itms-product-wrapper:first-child .itms-default-ad {
    grid-template-columns: 1fr;
  }

  .itms-product-wrapper:first-child .itms-ad-placeholder {
    display: none;
  }
}

@media (max-width:768px) {
  .itms-product-wrapper:first-child .itms-ad-card {
    grid-template-columns: 90px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .itms-product-wrapper:first-child .itms-ad-image {
    width: 90px;
    height: 70px;
  }

  .itms-product-wrapper:first-child .itms-ad-title {
    font-size: 1rem;
  }
}

@media (max-width:1024px) {
  .itms-page-header {
    padding: 25px 20px;
    margin-bottom: 25px;
  }

  .itms-page-title {
    font-size: 1.8rem;
    gap: 10px;
  }

  .itms-city-badge {
    font-size: .85rem;
    padding: 6px 14px;
  }

  .itms-search-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .itms-product-wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .itms-product-content {
    grid-template-columns: 200px 1fr;
    gap: 18px;
  }

  .itms-product-card {
    padding: 22px;
  }

  .itms-quick-actions {
    display: none;
  }
}

@media (max-width:768px) {
  .itms-page-header {
    padding: 18px 15px;
    border-radius: 14px;
    margin-bottom: 18px;
  }

  .itms-page-title {
    font-size: 1.4rem;
    flex-direction: column;
    gap: 8px;
  }

  .itms-page-subtitle {
    font-size: .9rem;
  }

  .itms-title-icon {
    font-size: 1.6rem;
    padding: 8px;
  }

  .itms-search-container {
    padding: 15px;
    border-radius: 14px;
  }

  .itms-search-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .itms-search-action {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .itms-search-button {
    flex: 1;
    min-width: 120px;
    padding: 11px 16px;
    font-size: .9rem;
  }

  .itms-clear-filter {
    flex: 1;
    min-width: 100px;
    padding: 9px 12px;
    font-size: .85rem;
    justify-content: center;
  }

  .itms-page-info {
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .itms-active-filter,
  .itms-rating-warning {
    font-size: .8rem;
    padding: 5px 10px;
  }

  .itms-product-card {
    padding: 15px;
    border-radius: 12px;
  }

  .itms-product-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .itms-product-image {
    max-width: 100%;
    height: 180px;
    border-radius: 10px;
  }

  .itms-main-image {
    height: 180px;
  }

  .itms-product-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .itms-product-title {
    font-size: 1.2rem;
  }

  .itms-product-rating-badge {
    padding: 6px 10px;
    font-size: .85rem;
  }

  .itms-product-description {
    font-size: .95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .itms-keywords-section {
    display: none;
  }

  .itms-product-stats {
    display: none;
  }

  .itms-product-meta {
    gap: 8px;
  }

  .itms-location {
    padding: 6px 10px;
    font-size: .85rem;
  }

  .itms-details-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 15px;
    font-size: .9rem;
  }

  .itms-pagination {
    padding: 15px;
    gap: 10px;
    flex-direction: column;
  }

  .itms-pagination-numbers {
    gap: 5px;
  }

  .itms-page-link {
    padding: 7px 12px;
    font-size: .85rem;
  }

  .itms-high-rated-card::after {
    font-size: .7rem;
    padding: 4px 10px;
    top: 8px;
    left: 8px;
  }

  .itms-offer-badge-main {
    padding: 7px 10px;
    margin-top: 12px;
  }

  .itms-offer-text {
    font-size: 12px;
  }

  .itms-offer-time {
    font-size: 10px;
  }
}

@media (max-width:480px) {
  .itms-page-main {
    padding: 0 10px;
    margin: 12px auto;
  }

  .itms-page-title {
    font-size: 1.2rem;
  }

  .itms-product-title {
    font-size: 1.1rem;
  }

  .itms-product-card {
    padding: 12px;
  }

  .itms-product-image,
  .itms-main-image {
    height: 160px;
  }

  .itms-field-icon {
    display: none;
  }

  .itms-overlay-actions {
    flex-direction: column;
    gap: 8px;
  }

  .itms-action-btn {
    width: 100%;
    justify-content: center;
    font-size: .85rem;
    padding: 9px 12px;
  }

  .itms-modal-container {
    margin: 10px;
    border-radius: 14px;
  }

  .itms-modal-body {
    padding: 18px;
  }

  .itms-modal-footer {
    flex-direction: column;
    padding: 15px;
    gap: 10px;
  }

  .itms-modal-btn {
    width: 100%;
    justify-content: center;
  }
}

.itm-gallery-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid #f0f0f0;
  direction: rtl
}

.itm-main-gallery {
  position: relative;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: #000
}

.itm-swiper-main {
  position: relative;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  direction: ltr;
  background: #000
}

.itm-swiper-wrapper {
  display: flex;
  transition: transform .3s;
  height: 100%;
  direction: ltr
}

.itm-swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  opacity: 0;
  transition: opacity .3s;
  display: none
}

.itm-swiper-slide.active {
  opacity: 1;
  display: block;
  animation: .5s ease-out slideFadeIn
}

@keyframes slideFadeIn {
  from {
    opacity: .7;
    transform: scale(.98)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.itm-slide-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000
}

.itm-slide-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform .5s;
  animation: .5s ease-out forwards imageLoad;
  cursor: zoom-in
}

@keyframes imageLoad {
  from {
    opacity: 0;
    transform: scale(.95)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.itm-slide-image.zoomed {
  transform: scale(1.5);
  cursor: zoom-out;
  transition: transform .3s
}

.itm-slide-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent);
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  z-index: 2
}

.itm-slide-counter {
  font-family: Tajawal, sans-serif;
  font-weight: 600;
  font-size: 14px;
  background: rgba(0, 0, 0, .5);
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block
}

.itm-swiper-button-next,
.itm-swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, .95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  cursor: pointer;
  z-index: 10;
  transition: .3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
  border: 2px solid #e2e8f0;
  opacity: 0;
  visibility: hidden
}

.itm-swiper-main:hover .itm-swiper-button-next,
.itm-swiper-main:hover .itm-swiper-button-prev {
  opacity: 1;
  visibility: visible
}

.itm-swiper-button-next:hover,
.itm-swiper-button-prev:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  color: var(--secondary-color);
  border-color: var(--secondary-color)
}

.itm-swiper-button-prev {
  right: 20px
}

.itm-swiper-button-next {
  left: 20px
}

.itm-swiper-button-next i,
.itm-swiper-button-prev i {
  font-size: 18px;
  font-weight: 700
}

.itm-swiper-pagination {
  position: absolute;
  bottom: 15px !important;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  padding: 10px
}

.itm-swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, .5);
  opacity: 1;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: .3s;
  border: 2px solid transparent
}

.itm-swiper-pagination-bullet-active {
  background: #fff;
  width: 30px;
  border-radius: 5px;
  border-color: #fff;
  transform: scale(1.2)
}

.itm-thumbs-gallery {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #e9ecef;
  position: relative
}

.itm-thumbs-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 5px
}

.itm-thumbs-wrapper {
  display: flex;
  gap: 10px;
  transition: transform .3s
}

.itm-thumb-slide {
  flex: 0 0 auto;
  width: 100px;
  height: 75px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: .3s;
  opacity: .6;
  border: 2px solid transparent;
  position: relative
}

.itm-thumb-slide:hover {
  opacity: .8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15)
}

.itm-thumb-slide.active {
  opacity: 1;
  border-color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(43, 108, 176, .3);
  transform: translateY(-2px)
}

.itm-thumb-inner {
  position: relative;
  width: 100%;
  height: 100%
}

.itm-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s
}

.itm-thumb-slide:hover .itm-thumb-image {
  transform: scale(1.1)
}

.itm-thumb-overlay {
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center
}

.itm-thumb-slide:hover .itm-thumb-overlay {
  opacity: 1
}

.itm-thumb-overlay i {
  font-size: 16px
}

.itm-thumbs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  cursor: pointer;
  z-index: 10;
  transition: .3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
  border: 1px solid #e2e8f0;
  opacity: 0;
  visibility: hidden
}

.itm-thumbs-container:hover .itm-thumbs-nav {
  opacity: 1;
  visibility: visible
}

.itm-thumbs-nav:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  border-color: var(--secondary-color)
}

.itm-thumbs-prev {
  right: 5px
}

.itm-thumbs-next {
  left: 5px
}

.itm-thumbs-nav i {
  font-size: 14px
}

.itm-no-images {
  text-align: center;
  padding: 60px 40px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px dashed #dee2e6
}

.itm-no-images-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, .05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #6c757d;
  font-size: 2rem
}

.itm-no-images-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 10px
}

.itm-no-images-text {
  color: #6c757d;
  margin: 0;
  opacity: .8
}

.itm-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 54, 93, .95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
  padding: 20px;
  box-sizing: border-box
}

.itm-popup-content {
  background: linear-gradient(135deg, #fff 0, #f8fafc 100%);
  border-radius: 20px;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .4);
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0
}

.itm-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 30px 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff
}

.itm-popup-header-content {
  flex: 1
}

.itm-popup-title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px
}

.itm-popup-subtitle {
  margin: 0;
  opacity: .9;
  font-size: .95rem
}

.itm-popup-close {
  background: rgba(255, 255, 255, .15);
  border: 2px solid rgba(255, 255, 255, .3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
  font-size: 1.2rem;
  margin-left: 15px;
  flex-shrink: 0;
  border: none
}

.itm-popup-close:hover {
  background: rgba(255, 255, 255, .25);
  transform: rotate(90deg)
}

.itm-popup-body {
  padding: 0;
  flex: 1;
  display: flex;
  min-height: 0
}

.itm-popup-gallery {
  flex: 1;
  padding: 25px 30px
}

.itm-thumbnails-container {
  height: 100%;
  overflow-y: auto
}

.itm-thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding: 10px
}

.itm-thumb-item {
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: .3s;
  background: #f8fafc;
  border: 2px solid transparent
}

.itm-thumb-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 25px rgba(43, 108, 176, .3)
}

.itm-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 100%
}

.itm-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s
}

.itm-thumb-item:hover .itm-thumb-img {
  transform: scale(1.05)
}

.itm-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 108, 176, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  color: #fff;
  font-size: 1.5rem
}

.itm-thumb-item:hover .itm-thumb-overlay {
  opacity: 1
}

.itm-popup-footer {
  padding: 20px 30px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center
}

.itm-popup-close-btn {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem
}

.itm-popup-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 62, 62, .4)
}

.itm-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10001
}

.itm-lightbox-content {
  position: relative;
  width: 95%;
  height: 95%;
  display: flex;
  flex-direction: column
}

.itm-lightbox-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
  font-size: 1.3rem;
  z-index: 10
}

.itm-lightbox-close:hover {
  background: rgba(255, 255, 255, .3);
  transform: rotate(90deg)
}

.itm-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
  font-size: 1.3rem;
  z-index: 10
}

.itm-lightbox-prev {
  right: 20px
}

.itm-lightbox-next {
  left: 20px
}

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

.itm-lightbox-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  cursor: grab
}

.itm-lightbox-image {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  transition: transform .3s
}

.itm-lightbox-image:active {
  cursor: grabbing
}

.itm-lightbox-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  color: #fff
}

.itm-lightbox-info {
  display: flex;
  gap: 20px;
  align-items: center;
  background: rgba(0, 0, 0, .5);
  padding: 8px 15px;
  border-radius: 20px
}

.itm-lightbox-counter {
  font-size: 1rem;
  font-weight: 600
}

.lightbox-counter-separator {
  opacity: .7;
  margin: 0 5px
}

.itm-lightbox-zoom-level {
  font-size: .9rem;
  opacity: .8
}

.itm-lightbox-actions {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, .5);
  padding: 8px;
  border-radius: 20px
}

.itm-lightbox-btn {
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s;
  font-size: 1rem
}

.itm-lightbox-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, .3);
  transform: scale(1.1)
}

.itm-lightbox-btn:disabled {
  opacity: .3;
  cursor: not-allowed
}

.itm-no-menu {
  text-align: center;
  padding: 60px 40px;
  color: var(--text-light);
  width: 100%
}

.itm-no-menu-icon {
  width: 80px;
  height: 80px;
  background: rgba(43, 108, 176, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-color);
  font-size: 2rem
}

.itm-no-menu-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px
}

.itm-no-menu-text {
  font-size: .95rem;
  margin: 0;
  opacity: .8
}

.itm-slide-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--secondary-color);
  border-radius: 50%;
  animation: 1s linear infinite spin;
  z-index: 5
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0)
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg)
  }
}

.itm-thumb-slide.active::before {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  background: #48bb78;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 2px #fff;
  animation: 2s infinite pulse
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(72, 187, 120, .7)
  }

  70% {
    box-shadow: 0 0 0 5px rgba(72, 187, 120, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(72, 187, 120, 0)
  }
}

.itm-like-btn.active {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, .3);
  border: 2px solid var(--secondary-color)
}

.itm-like-up.active {
  background: linear-gradient(135deg, #2d7d46, #225a33) !important
}

.itm-like-down.active {
  background: linear-gradient(135deg, #c53030, #9b2c2c) !important
}

.itm-star-item.active {
  border-color: var(--secondary-color);
  background: rgba(43, 108, 176, .1);
  transform: translateX(-5px) scale(1.02);
  box-shadow: 0 4px 15px rgba(43, 108, 176, .2)
}

.itm-star-item.active .itm-stars {
  color: #f59e0b
}

.like-radio,
.star-radio {
  display: none !important
}

.itm-like-option {
  cursor: pointer;
  display: inline-block
}

.itm-star-option {
  cursor: pointer;
  display: block
}

.itm-like-btn:hover,
.itm-star-item:hover {
  transform: translateY(-2px)
}

.itm-comment-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05)
}

.itm-comment-header {
  display: flex;
  align-items: center
}

.itm-comment-user {
  display: flex;
  align-items: center;
  gap: 12px
}

.itm-comment-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary-color)
}

.itm-comment-user-info {
  display: flex;
  flex-direction: column
}

.itm-comment-username {
  font-weight: 600;
  color: var(--primary-color);
  font-size: .95rem
}

.itm-comment-stars {
  color: #fbbf24;
  font-size: .8rem;
  margin-top: 2px
}

.itm-comment-content {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: .95rem
}

.itm-comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: var(--text-light)
}

.itm-comment-like {
  display: flex;
  align-items: center;
  gap: 5px
}

.itm-comment-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0
}

.itm-page-btn {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: .3s
}

.itm-page-btn.active,
.itm-page-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color)
}

.itm-no-comments {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light)
}

.itm-no-comments i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #cbd5e0
}

.itm-login-required {
  text-align: center;
  padding: 30px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px dashed #cbd5e0
}

.itm-login-required i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 15px
}

.itm-login-required h5 {
  color: var(--primary-color);
  margin-bottom: 10px
}

.itm-login-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: .3s
}

.itm-login-btn:hover {
  background: var(--primary-color);
  transform: translateY(-2px)
}

.itm-success-msg {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500
}

.itm-error-msg {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500
}

.itm-share-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px)
}

.itm-share-modal-content {
  background: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  animation: .3s ease-out modalFadeIn
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(.95)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.itm-share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff
}

.itm-share-header h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700
}

.itm-share-close {
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s
}

.itm-share-close:hover {
  background: rgba(255, 255, 255, .3);
  transform: rotate(90deg)
}

.itm-share-body {
  padding: 30px
}

.itm-share-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px
}

.itm-share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 15px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  cursor: pointer;
  transition: .3s;
  text-decoration: none;
  color: var(--text-color)
}

.itm-share-option:hover {
  background: #fff;
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(43, 108, 176, .15)
}

.itm-share-option i {
  font-size: 2.5rem;
  margin-bottom: 5px
}

.itm-share-option span {
  font-weight: 600;
  font-size: .95rem
}

.itm-share-option[data-platform=whatsapp] i {
  color: #25d366
}

.itm-share-option[data-platform=facebook] i {
  color: #1877f2
}

.itm-share-option[data-platform=copy] i {
  color: var(--secondary-color)
}

.itm-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  background: linear-gradient(135deg, #f8fafc 0, #fff 100%);
  min-height: 100vh
}

.itm-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  padding: 40px 30px;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--box-shadow)
}

.itm-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,224C960,224,1056,256,1152,245.3C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') 0 0/cover
}

.itm-header-content {
  position: relative;
  z-index: 2;
  text-align: center
}

.itm-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3)
}

.itm-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .2);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px)
}

.itm-main-section {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid #e2e8f0;
  margin-bottom: 30px
}

.itm-details-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  align-items: start
}

.itm-info-card {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #e2e8f0
}

.itm-info-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0
}

.itm-product-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px
}

.itm-admin-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 500
}

.itm-admin-info i {
  color: var(--secondary-color)
}

.itm-info-content {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.itm-info-item {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #f1f5f9
}

.itm-info-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1rem
}

.itm-info-label i {
  color: var(--secondary-color);
  width: 20px;
  text-align: center
}

.itm-info-value {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0
}

.itm-info-value a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color .3s
}

.itm-info-value a:hover {
  color: var(--primary-color)
}

.itm-action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap
}

.itm-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
  border: none;
  cursor: pointer;
  font-size: .95rem
}

.itm-location-btn {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff
}

.itm-menu-btn {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff
}

.itm-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15)
}

.itm-map-card {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #e2e8f0;
  height: fit-content;
  position: sticky;
  top: 1px
}

.itm-map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1)
}

.itm-no-map {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(145deg, #f3f6fa, #e7ecf3);
  border-radius: 12px;
  border: 2px dashed #cbd5e0
}

.itm-no-map-icon {
  width: 80px;
  height: 80px;
  background: rgba(43, 108, 176, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-color);
  font-size: 2rem
}

.itm-no-map-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px
}

.itm-no-map-text {
  color: var(--text-light);
  margin: 0
}

.itm-comments-section {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid #e2e8f0
}

.itm-comments-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px
}

.itm-comment-card,
.itm-comments-card,
.itm-rating-card {
  background: #f8fafc;
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px
}

.itm-comment-header,
.itm-comments-header,
.itm-rating-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0
}

.itm-comment-title,
.itm-comments-title,
.itm-rating-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px
}

.itm-comment-subtitle,
.itm-rating-subtitle {
  font-size: .9rem;
  color: var(--text-light);
  margin-top: 5px
}

.itm-comments-icon {
  color: var(--accent-color);
  font-size: 1.3rem
}

.itm-user-comment-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  border: 2px solid #e2e8f0;
  margin-bottom: 20px
}

.itm-comment-notice {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center
}

.itm-user-comment {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 20px
}

.itm-comment-actions {
  display: flex;
  gap: 15px;
  justify-content: center
}

.itm-delete-comment,
.itm-edit-comment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  font-size: .9rem
}

.itm-edit-comment {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff
}

.itm-delete-comment {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff
}

.itm-delete-comment:hover,
.itm-edit-comment:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.itm-rating-content {
  text-align: center
}

.itm-rating-text {
  color: var(--text-color);
  margin-bottom: 20px;
  font-size: 1rem
}

.itm-likes-container {
  display: flex;
  gap: 15px;
  justify-content: center
}

.itm-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
  border: 2px solid transparent
}

.itm-like-up {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff
}

.itm-like-down {
  background: linear-gradient(135deg, var(--accent-color), #fc8181);
  color: #fff
}

.itm-like-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15)
}

.itm-stars-container {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.itm-star-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-color);
  transition: .3s;
  border: 2px solid #e2e8f0;
  cursor: pointer
}

.itm-star-item:hover {
  border-color: var(--secondary-color);
  transform: translateX(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1)
}

.itm-star-number {
  font-weight: 700;
  color: var(--primary-color);
  width: 20px
}

.itm-stars {
  color: #fbbf24;
  font-size: 1.1rem
}

.itm-star-label {
  flex: 1;
  text-align: right;
  font-weight: 500
}

.itm-comment-textarea {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: Tajawal, sans-serif;
  font-size: 1rem;
  resize: vertical;
  transition: border-color .3s
}

.itm-comment-textarea:focus {
  border-color: var(--secondary-color);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, .1)
}

.itm-comment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px
}

.itm-comment-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 500
}

.itm-comment-submit {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  display: flex;
  align-items: center;
  gap: 8px
}

.itm-comment-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 108, 176, .3)
}

.itm-user-ratings {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
  border: 1px solid #e2e8f0
}

.itm-rating-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 5px 0
}

.itm-rating-item:last-child {
  margin-bottom: 0
}

.itm-user-stars {
  color: #fbbf24
}

.itm-edit-form {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--secondary-color);
  margin-top: 15px
}

.itm-edit-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: Tajawal, sans-serif;
  font-size: 1rem;
  resize: vertical;
  margin-bottom: 15px
}

.itm-edit-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end
}

.itm-save-edit {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px
}

.itm-cancel-edit {
  background: linear-gradient(135deg, #a0aec0, #718096);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px
}

.itm-comment-counter {
  text-align: left;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 10px
}

.itm-fixed-social-sidebar {
  position: fixed;
  top: 150px;
  left: 10px;
  z-index: 9998;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 10px 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .15);
  border: 1px solid rgba(43, 108, 176, .1);
  transition: .3s;
  animation: .6s ease-out fadeInRight
}

.itm-fixed-social-sidebar:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
  transform: translateX(-5px)
}

.itm-social-links {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.itm-fixed-social-link {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  transition: .3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  border: none;
  cursor: pointer
}

.itm-fixed-social-link:hover {
  transform: scale(1.1) translateX(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25)
}

.itm-fixed-fb {
  background: linear-gradient(135deg, #3b5998, #2d4373)
}

.itm-fixed-wa {
  background: linear-gradient(135deg, #25d366, #128c7e)
}

.itm-fixed-phone {
  background: linear-gradient(135deg, var(--accent-color), #c53030)
}

.itm-fixed-share {
  background: linear-gradient(135deg, #667eea, #764ba2)
}

.itm-fixed-tooltip {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 54, 93, .95);
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.itm-fixed-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(26, 54, 93, .95)
}

.itm-fixed-social-link:hover .itm-fixed-tooltip {
  opacity: 1;
  visibility: visible;
  left: 65px
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@media (max-width:1024px) {

  .itm-comments-grid,
  .itm-details-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .itm-swiper-main {
    height: 450px
  }

  .itm-thumb-slide {
    width: 90px;
    height: 68px
  }

  .itm-fixed-social-sidebar {
    top: auto;
    bottom: 12px;
    right: 20px;
    border-radius: 25px;
    padding: 8px
  }

  .itm-social-links {
    flex-direction: row;
    gap: 10px
  }

  .itm-fixed-social-link {
    width: 45px;
    height: 45px;
    font-size: 1.2rem
  }

  .itm-fixed-tooltip {
    right: auto;
    bottom: 60px;
    top: auto;
    left: 50%;
    transform: translateX(-50%)
  }

  .itm-fixed-tooltip::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-color: rgba(26, 54, 93, .95) transparent transparent
  }

  .itm-fixed-social-link:hover .itm-fixed-tooltip {
    right: auto;
    bottom: 65px
  }
}

@media (max-width:768px) {
  .itm-container {
    padding: 0 15px;
    margin: 20px auto
  }

  .itm-title {
    font-size: 2rem
  }

  .itm-comments-section,
  .itm-main-section {
    padding: 20px
  }

  .itm-action-buttons {
    flex-direction: column
  }

  .itm-action-btn {
    width: 100%;
    justify-content: center
  }

  .itm-likes-container {
    flex-direction: column
  }

  .itm-like-btn {
    width: 100%;
    justify-content: center
  }

  .itm-comment-actions {
    flex-direction: column;
    gap: 15px
  }

  .itm-comment-submit {
    width: 100%;
    justify-content: center
  }

  .itm-swiper-main {
    height: 400px
  }

  .itm-swiper-button-next,
  .itm-swiper-button-prev {
    width: 40px;
    height: 40px;
    font-size: 16px
  }

  .itm-swiper-button-prev {
    right: 10px
  }

  .itm-swiper-button-next {
    left: 10px
  }

  .itm-thumb-slide {
    width: 80px;
    height: 60px
  }

  .itm-thumbs-gallery {
    padding: 10px
  }
}

@media (max-width:576px) {
  .itm-swiper-main {
    height: 350px
  }

  .itm-swiper-button-next,
  .itm-swiper-button-prev {
    width: 35px;
    height: 35px;
    font-size: 14px;
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, .8)
  }

  .itm-thumbs-wrapper {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    padding-bottom: 5px
  }

  .itm-thumbs-wrapper::-webkit-scrollbar {
    height: 6px
  }

  .itm-thumbs-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px
  }

  .itm-thumb-slide {
    width: 70px;
    height: 52px
  }

  .itm-thumbs-nav {
    display: none
  }

  .itm-slide-counter {
    font-size: 12px;
    padding: 3px 10px
  }

  .itm-share-options {
    grid-template-columns: 1fr;
    gap: 10px
  }
}

@media (max-width:480px) {
  .itm-title {
    font-size: 1.7rem
  }

  .itm-product-title {
    font-size: 1.4rem
  }

  .itm-header {
    padding: 25px 20px
  }

  .itm-social-bar {
    gap: 10px
  }

  .itm-social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem
  }

  .itm-comment-actions {
    flex-direction: column;
    gap: 10px
  }

  .itm-delete-comment,
  .itm-edit-comment {
    width: 100%;
    justify-content: center
  }

  .itm-swiper-main {
    height: 300px
  }

  .itm-thumb-slide {
    width: 60px;
    height: 45px
  }

  .itm-thumbs-gallery {
    padding: 8px
  }

  .itm-fixed-social-sidebar {
    bottom: 15px;
    right: 15px;
    padding: 6px
  }

  .itm-fixed-social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem
  }
}

.itm-fade-in {
  animation: .6s ease-out itmFadeIn
}

@keyframes itmFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.dash-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  display: flex;
  opacity: 0
}

.dash-bar {
  flex: 1;
  height: 100%;
  background: linear-gradient(45deg, rgba(26, 54, 93, .9), rgba(43, 108, 176, .7), rgba(229, 62, 62, .8));
  transform: scaleY(0);
  transform-origin: top;
  margin: 0 2px;
  border-radius: 2px
}

.random-bars-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  opacity: 0
}

.random-bar {
  flex: 1;
  width: 100%;
  background: linear-gradient(90deg, rgba(229, 62, 62, .8), rgba(43, 108, 176, .7), rgba(26, 54, 93, .9));
  transform: scaleX(0);
  transform-origin: left;
  margin: 1px 0;
  border-radius: 2px
}

.slideshow-slide.active .content-container {
  animation: .8s cubic-bezier(.25, .46, .45, .94) both elegantSlideIn
}

@keyframes elegantSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px) scale(.98)
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1)
  }
}

.indicator-dot.active::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  animation: 3s infinite ripple
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1
  }

  100% {
    transform: scale(1.5);
    opacity: 0
  }
}

.cta-button,
.restore-ads-btn {
  background-size: 200% 200%;
  animation: 4s infinite gradientShift
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0 50%
  }

  50% {
    background-position: 100% 50%
  }
}

.enhanced-ads-section {
  animation: .6s ease-out softAppear
}

@keyframes softAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(.95)
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

.dash-bar,
.random-bar {
  filter: brightness(1.1) contrast(1.2)
}

.control-arrow:active {
  animation: .3s gentleShake
}

@keyframes gentleShake {

  0%,
  100% {
    transform: scale(1.1) translateX(0)
  }

  25% {
    transform: scale(1.1) translateX(-2px)
  }

  75% {
    transform: scale(1.1) translateX(2px)
  }
}

.ab-banner-ad {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #e8edf5;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .07);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 24px;
  transition: box-shadow .25s, transform .25s;
  position: relative;
}

.ab-banner-ad:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, .13);
  transform: translateY(-2px);
}

.ab-banner-ad::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-color, #e6a817), #f5c842);
  border-radius: 0 14px 14px 0;
}

.ab-banner-img-wrap {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  overflow: hidden;
}

.ab-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.ab-banner-ad:hover .ab-banner-img {
  transform: scale(1.08);
}

.ab-banner-body {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.ab-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent-color, #e6a817);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.ab-banner-badge i {
  font-size: .65rem;
}

.ab-banner-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color, #1a365d);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ab-banner-region {
  font-size: .8rem;
  color: #718096;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ab-banner-region i {
  color: var(--accent-color, #e6a817);
  font-size: .72rem;
}

.ab-banner-cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 20px;
  border-right: 1.5px solid #f0f4f8;
  height: 90px;
}

.ab-banner-cta-text {
  font-size: .78rem;
  font-weight: 700;
  color: var(--secondary-color, #2b6cb0);
  white-space: nowrap;
}

.ab-banner-arrow {
  font-size: .9rem;
  color: var(--secondary-color, #2b6cb0);
  transition: transform .2s;
}

.ab-banner-ad:hover .ab-banner-arrow {
  transform: translateX(-4px);
}

@media (max-width:600px) {
  .ab-banner-img-wrap {
    width: 72px;
    height: 72px;
  }

  .ab-banner-cta {
    height: 72px;
    padding: 0 14px;
  }

  .ab-banner-body {
    padding: 10px 12px;
    gap: 4px;
  }

  .ab-banner-title {
    font-size: .9rem;
  }

  .ab-banner-cta-text {
    font-size: .72rem;
  }
}

.offer-card-expired {
  opacity: .82;
  filter: grayscale(35%)
}

.offer-card-expired .card-image-top img {
  filter: brightness(.75) grayscale(30%)
}

.offer-badge-expired {
  background: linear-gradient(135deg, #64748b, #475569) !important;
  display: flex;
  align-items: center;
  gap: 5px
}

.offer-expired-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .32);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none
}

.offer-expired-img-overlay i {
  font-size: 2.2rem;
  color: rgba(255, 255, 255, .55)
}

.offer-action-btn-blocked {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border: 1.5px dashed #cbd5e0 !important;
  cursor: not-allowed !important;
  pointer-events: none;
  opacity: .8;
  transform: none !important;
  justify-content: center
}

.offer-card-expired .offer-title {
  color: #64748b
}

:root {
  --lux-navy: #0d1b2a;
  --lux-navy2: #1a2e45;
  --lux-blue: #1e4d8c;
  --lux-gold: #c9a84c;
  --lux-gold2: #f0c96a;
  --lux-cream: #faf7f2;
  --lux-white: #ffffff;
  --lux-glass: rgba(255, 255, 255, 0.07);
  --lux-border: rgba(201, 168, 76, 0.25);
  --lux-shadow: 0 20px 60px rgba(13, 27, 42, 0.35);
  --lux-r: 16px;
  --lux-r-lg: 24px;
}

.itm-header {
  background: linear-gradient(135deg, var(--lux-navy) 0%, var(--lux-navy2) 50%, var(--lux-blue) 100%);
  border-radius: 0 0 var(--lux-r-lg) var(--lux-r-lg);
  padding: 48px 40px 40px;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: var(--lux-shadow);
}

.itm-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 60%), radial-gradient(ellipse 40% 60% at 80% 20%, rgba(30, 77, 140, 0.4) 0%, transparent 50%), url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.itm-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lux-gold), var(--lux-gold2), var(--lux-gold), transparent);
}

.itm-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.itm-title {
  font-family: 'Cairo', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--lux-white);
  margin-bottom: 16px;
  line-height: 1.25;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.5px;
  animation: itm-fadeDown 0.7s ease both;
}

@keyframes itm-fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.itm-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(240, 201, 106, 0.15));
  border: 1px solid var(--lux-border);
  color: var(--lux-gold2);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  backdrop-filter: blur(12px);
  animation: itm-fadeDown 0.7s 0.15s ease both;
}

.itm-city-badge i {
  color: var(--lux-gold);
}

.itm-main-section {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
}

.itm-details-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
}

.itm-info-card {
  background: var(--lux-white);
  border-radius: var(--lux-r-lg);
  border: 1px solid #e8ecf3;
  box-shadow: 0 4px 32px rgba(13, 27, 42, 0.08), 0 1px 4px rgba(13, 27, 42, 0.04);
  overflow: hidden;
  animation: itm-slideUp 0.6s 0.1s ease both;
}

@keyframes itm-slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.itm-info-header {
  background: linear-gradient(135deg, var(--lux-navy) 0%, var(--lux-navy2) 60%, var(--lux-blue) 100%);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
}

.itm-info-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 10% 50%, rgba(201, 168, 76, 0.10) 0%, transparent 60%), url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-4.5zM0 5h5v5H0V5zm5-5H0v5h5V0zm10 0h-5v5h5V0zm10 0h-5v5h5V0zM10 5h5v5h-5V5zm5 5h5v5h-5v-5zm5-5h5v5h-5V5zM0 20h5v5H0v-5zm5 5h5v5H5v-5zm5-5h5v5h-5v-5zm5 5h5v5h-5v-5zm5-5h5v5h-5v-5z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.itm-info-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lux-gold), transparent);
}

.itm-product-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--lux-white);
  margin: 0 0 14px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.itm-admin-info {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.88);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
}

.itm-admin-info i {
  color: var(--lux-gold2);
  font-size: 0.78rem;
}

.itm-views-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(240, 201, 106, 0.15));
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--lux-gold2);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.itm-views-badge i {
  font-size: 0.75rem;
}

.itm-info-content {
  display: flex;
  flex-direction: column;
}

.itm-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 18px 24px;
  border-bottom: 1px solid #f0f2f7;
  transition: background 0.2s;
}

.itm-info-item:last-child {
  border-bottom: none;
}

.itm-info-item:hover {
  background: #fafbfe;
}

.itm-info-label {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  color: var(--lux-navy);
  font-size: 0.88rem;
  font-family: 'Cairo', sans-serif;
  min-width: 130px;
  flex-shrink: 0;
}

.itm-info-label i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lux-navy), var(--lux-blue));
  color: var(--lux-gold2);
  font-size: 0.78rem;
  margin-left: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.2);
}

.itm-info-value {
  color: #3d4a5c;
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
  padding-right: 8px;
}

.itm-info-value a {
  color: var(--lux-blue);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(30, 77, 140, 0.3);
  transition: all 0.2s;
}

.itm-info-value a:hover {
  color: var(--lux-navy);
  border-color: var(--lux-navy);
}

.itm-action-buttons {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f8fafc, #f1f5fb);
  border-top: 1px solid #e8ecf3;
  flex-wrap: wrap;
}

.itm-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: 'Cairo', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}

.itm-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s;
}

.itm-action-btn:hover::before {
  left: 100%;
}

.itm-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.itm-location-btn {
  background: linear-gradient(135deg, var(--lux-blue), var(--lux-navy));
  color: #fff;
}

.itm-menu-btn {
  background: linear-gradient(135deg, #c0392b, #922b21);
  color: #fff;
}

.itm-offer-btn {
  background: linear-gradient(135deg, #27ae60, #1e8449);
  color: #fff;
  animation: itm-pulse-green 2.5s infinite;
}

@keyframes itm-pulse-green {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(39, 174, 96, 0);
  }
}

.itm-map-card {
  background: var(--lux-white);
  border-radius: var(--lux-r-lg);
  border: 1px solid #e8ecf3;
  box-shadow: 0 4px 32px rgba(13, 27, 42, 0.08);
  overflow: hidden;
  position: sticky;
  top: 16px;
  animation: itm-slideUp 0.6s 0.2s ease both;
}

.itm-map-card::before {
  content: 'الموقع الجغرافي';
  display: block;
  background: linear-gradient(135deg, var(--lux-navy), var(--lux-blue));
  color: var(--lux-gold2);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 20px;
  letter-spacing: 0.5px;
}

.itm-map-container {
  border-radius: 0;
  overflow: hidden;
}

.itm-map-container iframe {
  display: block;
  border-radius: 0 !important;
}

.itm-no-map {
  padding: 48px 24px;
  text-align: center;
  background: linear-gradient(145deg, #f3f7fb, #ebf0f8);
  border: 2px dashed #c5cfe0;
}

.itm-no-map-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lux-navy), var(--lux-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--lux-gold2);
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.2);
}

.itm-no-map-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lux-navy);
  margin-bottom: 6px;
}

.itm-no-map-text {
  color: #718096;
  font-size: 0.88rem;
  margin: 0;
}

.itm-fixed-social-sidebar {
  position: fixed;
  top: 160px;
  left: 14px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: itm-slideUp 0.8s 0.4s ease both;
}

.itm-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.itm-fixed-social-link {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  border: none;
  cursor: pointer;
}

.itm-fixed-social-link:hover {
  transform: translateX(4px) scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.itm-fixed-fb {
  background: linear-gradient(135deg, #3b5998, #2d4373);
}

.itm-fixed-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.itm-fixed-phone {
  background: linear-gradient(135deg, #e53e3e, #c53030);
}

.itm-fixed-share {
  background: linear-gradient(135deg, var(--lux-blue), var(--lux-navy));
}

.itm-fixed-tooltip {
  position: absolute;
  left: 58px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--lux-navy);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  pointer-events: none;
  border: 1px solid var(--lux-border);
}

.itm-fixed-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--lux-navy);
}

.itm-fixed-social-link:hover .itm-fixed-tooltip {
  opacity: 1;
  visibility: visible;
  left: 62px;
}

.itm-comments-section,
.com-comments-section {
  background: var(--lux-cream);
  border-radius: var(--lux-r-lg) var(--lux-r-lg) 0 0;
  border-top: 3px solid var(--lux-border);
  padding: 36px 0 48px;
  margin-top: 0;
  position: relative;
}

.itm-comments-section::before,
.com-comments-section::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lux-gold), var(--lux-gold2), var(--lux-gold), transparent);
}

.com-comments-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.com-comment-card,
.com-comments-card,
.com-rating-card,
.com-user-comment-card {
  background: var(--lux-white);
  border-radius: var(--lux-r);
  border: 1px solid #e8ecf3;
  box-shadow: 0 2px 16px rgba(13, 27, 42, 0.06);
  margin-bottom: 20px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.com-comment-card:hover,
.com-comments-card:hover,
.com-rating-card:hover {
  box-shadow: 0 6px 28px rgba(13, 27, 42, 0.10);
}

.com-comment-header,
.com-comments-header,
.com-rating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--lux-navy) 0%, var(--lux-navy2) 100%);
  border-bottom: none;
}

.com-comment-title,
.com-comments-title,
.com-rating-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--lux-white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.com-comment-title i,
.com-comments-title i,
.com-rating-title i {
  color: var(--lux-gold2);
}

.com-comment-subtitle,
.com-rating-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

.com-comments-count {
  background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold2));
  color: var(--lux-navy);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
}

.com-comment-item {
  background: var(--lux-white);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border: 1px solid #edf0f7;
  transition: all 0.2s;
}

.com-comment-item:hover {
  border-color: rgba(30, 77, 140, 0.2);
  box-shadow: 0 4px 16px rgba(13, 27, 42, 0.07);
  transform: translateY(-1px);
}

.com-comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--lux-gold);
  object-fit: cover;
}

.com-comment-username {
  font-weight: 700;
  color: var(--lux-navy);
  font-family: 'Cairo', sans-serif;
}

.com-comment-stars i {
  color: var(--lux-gold);
}

.com-comment-submit,
.com-save-edit {
  background: linear-gradient(135deg, var(--lux-blue), var(--lux-navy));
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}

.com-comment-submit:hover,
.com-save-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 27, 42, 0.25);
}

.com-comment-textarea,
.com-edit-textarea,
.com-reply-textarea {
  width: 100%;
  border: 1.5px solid #e0e5ef;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  resize: vertical;
  transition: border 0.2s, box-shadow 0.2s;
  background: #fafbfe;
}

.com-comment-textarea:focus,
.com-edit-textarea:focus,
.com-reply-textarea:focus {
  outline: none;
  border-color: var(--lux-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 77, 140, 0.10);
}

.com-star-item {
  background: #fff;
  border: 1.5px solid #e0e5ef;
  border-radius: 10px;
  padding: 11px 18px;
  transition: all 0.2s;
}

.com-star-item:hover,
.com-star-item.active {
  border-color: var(--lux-blue);
  background: rgba(30, 77, 140, 0.04);
  transform: translateX(-4px);
  box-shadow: 0 4px 14px rgba(13, 27, 42, 0.08);
}

.com-stars {
  color: var(--lux-gold);
}

.com-star-number {
  color: var(--lux-navy);
  font-weight: 800;
}

.com-like-up {
  background: linear-gradient(135deg, #27ae60, #1e8449);
  color: #fff;
}

.com-like-down {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
}

.com-like-btn {
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}

.com-like-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.com-interaction-btn {
  background: linear-gradient(135deg, #f1f5fb, #e8edf5);
  border: 1px solid #dce3ef;
  color: var(--lux-navy2);
  border-radius: 8px;
  padding: 7px 14px;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  font-size: 0.83rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.com-interaction-btn:hover,
.com-toggle-replies-btn.com-active {
  background: var(--lux-navy);
  color: #fff;
  border-color: var(--lux-navy);
}

.com-filter-select {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Cairo', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.com-reply-item {
  background: #f8fafe;
  border-radius: 10px;
  border: 1px solid #e8ecf7;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.com-reply-content {
  border-right: 3px solid var(--lux-gold);
  background: rgba(201, 168, 76, 0.04);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
}

.com-submit-reply-btn {
  background: linear-gradient(135deg, var(--lux-blue), var(--lux-navy));
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.com-submit-reply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.2);
}

.com-cancel-reply-btn,
.com-cancel-edit {
  background: #a0aec0;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
}

.com-edit-comment {
  background: linear-gradient(135deg, var(--lux-blue), var(--lux-navy));
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.com-delete-comment {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.com-edit-comment:hover,
.com-delete-comment:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.com-login-btn {
  background: linear-gradient(135deg, var(--lux-blue), var(--lux-navy));
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
  transition: all 0.25s;
  display: inline-block;
  margin: 6px;
}

.com-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 27, 42, 0.25);
}

.com-login-required {
  text-align: center;
  padding: 36px 24px;
  background: linear-gradient(145deg, #f3f7fb, #edf2fa);
  border-radius: 14px;
  border: 2px dashed #c5cfe0;
}

.com-login-required i {
  font-size: 2.8rem;
  color: var(--lux-gold);
  display: block;
  margin-bottom: 14px;
}

.com-success-msg {
  background: linear-gradient(135deg, #27ae60, #1e8449);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
}

.com-error-msg {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
}

.com-page-btn {
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid #dce3ef;
  border-radius: 8px;
  color: var(--lux-navy2);
  font-weight: 600;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.com-page-btn:hover,
.com-page-btn.com-active {
  background: var(--lux-navy);
  color: #fff;
  border-color: var(--lux-navy);
}

.com-user-comment {
  background: linear-gradient(135deg, #f3f7fb, #edf2fa);
  padding: 16px 20px;
  border-radius: 10px;
  border-right: 3px solid var(--lux-gold);
  line-height: 1.65;
  color: var(--lux-navy2);
  margin-bottom: 18px;
  font-family: 'Cairo', sans-serif;
}

.com-comments-scrollable-area {
  max-height: 580px;
  overflow-y: auto;
  padding-left: 4px;
}

.com-comments-scrollable-area::-webkit-scrollbar {
  width: 5px;
}

.com-comments-scrollable-area::-webkit-scrollbar-track {
  background: #f0f2f7;
  border-radius: 10px;
}

.com-comments-scrollable-area::-webkit-scrollbar-thumb {
  background: var(--lux-gold);
  border-radius: 10px;
}

@media (max-width:1024px) {
  .itm-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .itm-map-card {
    position: static;
  }

  .com-comments-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .itm-fixed-social-sidebar {
    top: auto;
    bottom: 16px;
    left: 16px;
    flex-direction: row;
  }

  .itm-fixed-social-link {
    border-radius: 50%;
  }

  .itm-fixed-tooltip {
    left: 50%;
    bottom: 58px;
    top: auto;
    transform: translateX(-50%);
  }

  .itm-fixed-tooltip::after {
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-color: var(--lux-navy) transparent transparent transparent;
    border-right-color: transparent;
  }

  .itm-fixed-social-link:hover .itm-fixed-tooltip {
    left: 50%;
    bottom: 62px;
  }
}

@media (max-width:768px) {
  .itm-header {
    padding: 32px 20px 28px;
  }

  .itm-title {
    font-size: 1.75rem;
  }

  .itm-product-title {
    font-size: 1.35rem;
  }

  .itm-info-item {
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px;
  }

  .itm-info-label {
    min-width: unset;
  }

  .itm-action-buttons {
    flex-direction: column;
    padding: 16px 18px;
  }

  .itm-action-btn {
    width: 100%;
    justify-content: center;
  }

  .com-comments-grid {
    padding: 0 16px;
  }

  .itm-comments-section,
  .com-comments-section {
    padding: 24px 0 36px;
  }
}

@media (max-width:580px) {
  .itm-header {
    padding: 24px 16px 22px;
  }

  .itm-title {
    font-size: 1.45rem;
  }

  .itm-info-header {
    padding: 20px 18px;
  }

  .itm-info-item {
    padding: 12px 16px;
  }

  .itm-action-buttons {
    padding: 14px 16px;
    gap: 10px;
  }

  .com-comments-grid {
    padding: 0 12px;
  }
}

.offer-card-expired {
  opacity: .82;
  filter: grayscale(35%)
}

.offer-card-expired .card-image-top img {
  filter: brightness(.75) grayscale(30%)
}

.offer-badge-expired {
  background: linear-gradient(135deg, #64748b, #475569);
  color: #fff;
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 700
}

.offer-expired-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .32);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none
}

.offer-expired-img-overlay i {
  font-size: 2.2rem;
  color: rgba(255, 255, 255, .55)
}

.offer-action-btn-blocked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  cursor: not-allowed;
  pointer-events: none;
  border: 1.5px dashed #cbd5e0;
  margin-top: auto;
  gap: 8px
}

.offer-card-expired .offer-title {
  color: #64748b
}

.itm-gallery-section {
  margin-bottom: 28px;
}

.itm-photo-gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
  border: 1px solid #f0f4f8;
}

.itm-gallery-main-wrap {
  position: relative;
  width: 100%;
  background: #f8fafc;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 460px;
  cursor: zoom-in;
  group: gallery;
}

.itm-gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity .28s ease, transform .28s ease;
  background: #f8fafc;
}

.itm-gallery-main-img.itm-img-loading {
  opacity: 0;
  transform: scale(.97);
}

.itm-gallery-main-img:not(.itm-img-loading) {
  opacity: 1;
  transform: scale(1);
}

.itm-gallery-main-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: .78rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: .6px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .15);
}

.itm-gallery-zoom-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: 1px solid rgba(255, 255, 255, .15);
}

.itm-gallery-zoom-btn:hover {
  background: rgba(15, 23, 42, .85);
  transform: scale(1.08);
}

.itm-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.itm-gallery-thumbs::-webkit-scrollbar {
  height: 3px;
}

.itm-gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.itm-gallery-thumbs::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.itm-gallery-thumb {
  flex: 0 0 auto;
  width: 82px;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color .2s, transform .2s, box-shadow .2s, opacity .2s;
  scroll-snap-align: start;
  background: #f0f4f8;
  opacity: .75;
}

.itm-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform .25s ease;
}

.itm-gallery-thumb:hover {
  border-color: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(59, 130, 246, .2);
  opacity: 1;
}

.itm-gallery-thumb:hover img {
  transform: scale(1.06);
}

.itm-gallery-thumb.itm-thumb-active {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .2);
  opacity: 1;
}

.itm-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.itm-gallery-lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.itm-gallery-lb-inner {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itm-gallery-lb-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  user-select: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
  animation: lbImgIn .22s ease-out;
}

@keyframes lbImgIn {
  from {
    opacity: 0;
    transform: scale(.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.itm-gallery-lb-close-btn {
  position: fixed;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 3;
}

.itm-gallery-lb-close-btn:hover {
  background: rgba(255, 255, 255, .25);
  transform: rotate(90deg);
}

.itm-gallery-lb-counter {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  padding: 5px 18px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 700;
  z-index: 3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.itm-gallery-lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 3;
}

.itm-gallery-lb-nav:hover {
  background: rgba(255, 255, 255, .28);
  transform: translateY(-50%) scale(1.08);
}

.itm-gallery-lb-prev {
  right: 14px;
}

.itm-gallery-lb-next {
  left: 14px;
}

.itm-no-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: #f8fafc;
  border-radius: 14px;
  color: #94a3b8;
  border: 2px dashed #e2e8f0;
  text-align: center;
}

.itm-no-images-icon {
  font-size: 3rem;
  margin-bottom: 14px;
  opacity: .4;
}

.itm-no-images-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
}

.itm-no-images-text {
  font-size: .9rem;
  color: #94a3b8;
}

@media (max-width:600px) {
  .itm-photo-gallery {
    padding: 10px;
    gap: 8px;
  }

  .itm-gallery-main-wrap {
    aspect-ratio: 4/3;
    border-radius: 10px;
    max-height: 300px;
  }

  .itm-gallery-thumb {
    width: 66px;
    height: 52px;
    border-radius: 8px;
  }

  .itm-gallery-lb-prev {
    right: 8px;
  }

  .itm-gallery-lb-next {
    left: 8px;
  }
}

.itm-share-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(10, 15, 30, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 0;
  animation: shareBackdropIn .22s ease-out;
}

@keyframes shareBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.itm-share-modal-content {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  box-shadow: 0 -12px 50px rgba(0, 0, 0, .18);
  animation: shareSheetUp .3s cubic-bezier(.34, 1.5, .64, 1);
}

@keyframes shareSheetUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@media (min-width:500px) {
  .itm-share-modal {
    align-items: center;
  }

  .itm-share-modal-content {
    border-radius: 20px;
    max-width: 380px;
    margin: 0 16px;
    animation: sharePopIn .28s cubic-bezier(.34, 1.4, .64, 1);
  }

  @keyframes sharePopIn {
    from {
      opacity: 0;
      transform: scale(.88) translateY(20px);
    }

    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
}

.itm-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.itm-share-header::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 4px;
  border-radius: 4px;
  background: #e2e8f0;
}

.itm-share-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.itm-share-header h4 i {
  color: #3b82f6;
  font-size: .95rem;
}

.itm-share-close {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}

.itm-share-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.itm-share-body {
  padding: 18px 20px 24px;
}

.itm-share-desc {
  font-size: .88rem;
  color: #64748b;
  margin-bottom: 16px;
  text-align: center;
}

.itm-share-options {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.itm-share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 100px;
  padding: 16px 8px;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
  color: #334155;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s ease;
  font-family: Tajawal, Cairo, sans-serif;
}

.itm-share-option i {
  font-size: 1.5rem;
  transition: transform .2s;
}

.itm-share-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}

.itm-share-option[data-platform="whatsapp"]:hover {
  border-color: #25d366;
  background: #f0fdf4;
  color: #15803d;
}

.itm-share-option[data-platform="whatsapp"]:hover i {
  color: #25d366;
  transform: scale(1.15);
}

.itm-share-option[data-platform="facebook"]:hover {
  border-color: #1877f2;
  background: #eff6ff;
  color: #1d4ed8;
}

.itm-share-option[data-platform="facebook"]:hover i {
  color: #1877f2;
  transform: scale(1.15);
}

.itm-share-option[data-platform="copy"]:hover {
  border-color: #8b5cf6;
  background: #faf5ff;
  color: #7c3aed;
}

.itm-share-option[data-platform="copy"]:hover i {
  color: #8b5cf6;
  transform: scale(1.15);
}

.itm-share-option.itm-copied {
  border-color: #10b981;
  background: #f0fdf4;
  color: #065f46;
}

#itm-floating-offer {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
  text-decoration: none;
  animation: floatOfferIn .5s .4s cubic-bezier(.34, 1.5, .64, 1) both;
}

@keyframes floatOfferIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.itm-float-ring {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 107, 53, .5);
  animation: floatRing 1.8s ease-out infinite;
  pointer-events: none;
}

@keyframes floatRing {
  0% {
    transform: scale(1);
    opacity: .7;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.itm-float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ffa62e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 22px rgba(255, 107, 53, .45);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  z-index: 1;
  border: none;
  cursor: pointer;
  animation: floatBobbing 3s ease-in-out infinite;
}

@keyframes floatBobbing {

  0%,
  100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 6px 22px rgba(255, 107, 53, .45);
  }

  50% {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 10px 28px rgba(255, 107, 53, .55);
  }
}

#itm-floating-offer:hover .itm-float-btn {
  animation: none;
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(255, 107, 53, .65);
}

.itm-float-label {
  background: linear-gradient(135deg, #ff6b35, #ffa62e);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
  margin-top: -2px;
  white-space: nowrap;
  letter-spacing: .4px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, .3);
  transition: opacity .2s;
}

#itm-floating-offer:hover .itm-float-label {
  opacity: .85;
}

@media (max-width:500px) {
  #itm-floating-offer {
    right: 14px;
    top: auto;
    bottom: 80px;
    transform: none;
    animation: floatOfferInMobile .5s .4s cubic-bezier(.34, 1.5, .64, 1) both;
  }

  @keyframes floatOfferInMobile {
    from {
      opacity: 0;
      transform: translateY(40px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .itm-float-btn {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .itm-float-ring {
    width: 52px;
    height: 52px;
  }

  .itm-float-label {
    font-size: .65rem;
  }
}

.itm-offer-btn-expired-hidden {
  display: none !important;
}

@keyframes offerHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, .6);
  }

  50% {
    box-shadow: 0 0 0 18px rgba(255, 107, 53, .15);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

.itm-offer-highlight {
  animation: offerHighlight 1.2s ease-out !important;
  border-radius: 12px;
}

.itm-views-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-size: .85rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.itm-views-badge i {
  color: #94a3b8;
  font-size: .82rem;
}

.itm-offer-btn {
  background: linear-gradient(135deg, #ff6b35, #ffa62e);
  color: #fff !important;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: offerPulse 2s infinite;
  box-shadow: 0 4px 18px rgba(255, 107, 53, .4);
}

.itm-offer-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
  transition: left .6s;
}

.itm-offer-btn:hover::before {
  left: 100%;
}

.itm-offer-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 28px rgba(255, 107, 53, .55) !important;
  animation: none;
}

@keyframes offerPulse {

  0%,
  100% {
    box-shadow: 0 4px 18px rgba(255, 107, 53, .4), 0 0 0 0 rgba(255, 107, 53, .3);
  }

  50% {
    box-shadow: 0 4px 18px rgba(255, 107, 53, .4), 0 0 0 10px rgba(255, 107, 53, 0);
  }
}

.itm-expired-page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  animation: overlayFadeIn .35s ease-out;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.itm-expired-modal-box {
  background: #fff;
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .38);
  animation: modalSlideIn .42s cubic-bezier(.34, 1.5, .64, 1);
  direction: rtl;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-36px) scale(.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.itm-expired-modal-header {
  background: linear-gradient(135deg, #be2839, #e53e3e);
  padding: 32px 24px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.itm-expired-modal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,160L60,170.7C120,181,240,203,360,186.7C480,171,600,117,720,117.3C840,117,960,171,1080,176C1200,181,1320,139,1380,117.3L1440,96L1440,320L0,320Z"></path></svg>') bottom/cover no-repeat;
}

.itm-expired-modal-icon {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  background: rgba(255, 255, 255, .18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  color: #fff;
  border: 2.5px solid rgba(255, 255, 255, .32);
  animation: iconTick 2.2s ease-in-out infinite;
}

@keyframes iconTick {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.itm-expired-modal-body {
  padding: 28px 28px 30px;
  text-align: center;
}

.itm-expired-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #be2839;
  margin-bottom: 12px;
}

.itm-expired-modal-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 26px;
  padding: 0 8px;
}

.itm-expired-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.itm-expired-offers-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  transition: .28s;
  box-shadow: 0 4px 16px rgba(37, 99, 235, .3);
}

.itm-expired-offers-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, .4);
  color: #fff;
}

@media (max-width:480px) {
  .itm-expired-modal-box {
    border-radius: 18px;
  }

  .itm-expired-modal-title {
    font-size: 1.3rem;
  }

  .itm-expired-modal-text {
    font-size: .93rem;
  }

  .itm-expired-modal-actions {
    flex-direction: column;
  }

  .itm-expired-offers-btn {
    width: 100%;
    justify-content: center;
  }
}

.itms-offer-badge-compact {
  display: inline-block;
  margin-top: 10px;
  cursor: pointer;
  z-index: 10;
}

.itms-offer-badge-main {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #ff6b35, #ffa62e);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.25);
  transition: all 0.3s ease;
}

.itms-offer-icon {
  font-size: 16px;
  animation: pulse 2s infinite;
}

.itms-offer-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.itms-offer-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.itms-offer-badge-compact:hover .itms-offer-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.itms-offer-badge-compact:hover .itms-offer-arrow {
  transform: rotate(180deg);
}

.itms-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.itms-popup-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.itms-popup-icon {
  color: #ff6b35;
  font-size: 20px;
}

.itms-popup-discount {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.itms-popup-countdown {
  margin: 20px 0;
}

.itms-popup-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #6b7280;
  font-size: 14px;
}

.itms-popup-clock {
  color: #ff6b35;
}

.itms-popup-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
}

.itms-popup-time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
  padding: 8px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.itms-popup-value {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  font-variant-numeric: tabular-nums;
  transition: all 0.3s ease;
}

.itms-popup-label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.itms-popup-separator {
  color: #9ca3af;
  font-weight: 600;
  font-size: 20px;
  margin: 0 2px;
}

.itms-popup-progress {
  margin-top: 20px;
}

.itms-popup-progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.itms-popup-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #ffa62e);
  width: 0%;
  transition: width 1s ease;
}

.itms-popup-progress-text {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

.itms-popup-action {
  margin-top: 20px;
}

.itms-popup-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #ff6b35, #ffa62e);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.itms-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.itms-popup-cart {
  font-size: 16px;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.itms-mobile-slider {
  margin: 30px 0;
  position: relative;
}

.itms-swiper-main {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.itms-swiper-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.itms-swiper-slide {
  flex: 0 0 100%;
  min-height: 250px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.itms-swiper-slide[style*="display:block"] {
  opacity: 1;
}

.itms-slide-inner {
  position: relative;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.itms-slide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.itms-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  color: white;
}

.itms-slide-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.itms-slide-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.itms-slide-category {
  font-size: 12px;
  background: rgba(255, 107, 53, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  align-self: flex-start;
}

.itms-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  color: #ff6b35;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.itms-slide-btn:hover {
  background: #ff6b35;
  color: white;
  transform: translateY(-2px);
}

.itms-swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.itms-swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.itms-swiper-pagination-bullet-active {
  background: #ff6b35;
  transform: scale(1.2);
}

.itms-swiper-button-next,
.itms-swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.itms-swiper-button-next {
  right: 15px;
}

.itms-swiper-button-prev {
  left: 15px;
}

.itms-swiper-button-next:hover,
.itms-swiper-button-prev:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.itms-renew-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.itms-modal-container {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.itms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px 15px 0 0;
}

.itms-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.itms-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.itms-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin: 0;
}

.itms-modal-icon {
  font-size: 20px;
}

.itms-modal-item-name {
  color: #fbbf24;
  font-weight: 600;
}

.itms-modal-body {
  padding: 25px 20px;
}

.itms-form-group {
  margin-bottom: 20px;
}

.itms-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #374151;
  font-weight: 500;
}

.itms-form-icon {
  color: #667eea;
}

.itms-date-time-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.itms-form-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.itms-form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.itms-modal-message {
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 14px;
  text-align: center;
}

.itms-message-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.itms-message-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.itms-message-loading {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.itms-modal-footer {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-top: 1px solid #e5e7eb;
}

.itms-modal-btn {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.itms-save-btn {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
}

.itms-cancel-btn {
  background: #f3f4f6;
  color: #6b7280;
}

.itms-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.itms-delete-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  z-index: 20;
  color: white;
}

.itms-loading-content {
  text-align: center;
  padding: 30px;
}

.itms-loading-text {
  margin-top: 15px;
  font-size: 16px;
}

.itms-main-image,
.itms-ad-image,
.itms-service-image img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.itms-main-image.loaded,
.itms-ad-image.loaded,
.itms-service-image img.loaded {
  opacity: 1;
}

.itms-page-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ff6b35, #ffa62e);
  color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  max-width: 300px;
}

.itms-notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itms-notification-text {
  flex: 1;
}

.itms-notification-text strong {
  display: block;
  font-size: 14px;
}

.itms-notification-text small {
  font-size: 12px;
  opacity: 0.9;
}

.itms-notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.itms-notification-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.itms-quick-table-container {
  display: none;
}

.itms-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #f3f4f6;
  border-radius: 20px;
  margin: 5px;
  font-size: 14px;
}

.itms-quick-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.itms-quick-rating-score {
  font-weight: 600;
  color: #f59e0b;
}

.itms-slide-enter {
  animation: slideIn 0.5s ease;
}

.itms-slide-exit {
  animation: slideOut 0.5s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.itms-delete-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itms-delete-modal-box {
  background: #fff;
  border-radius: 10px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
  overflow: hidden;
  animation: itmsModalIn .2s ease;
}

@keyframes itmsModalIn {
  from {
    transform: scale(.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.itms-delete-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #c0392b;
  color: #fff;
  font-size: 1.05rem;
}

.itms-delete-modal-header span[role="button"] {
  cursor: pointer;
  font-size: 1.2rem;
}

.itms-delete-modal-msg {
  padding: 20px 18px;
  text-align: center;
  font-size: .97rem;
  color: #333;
  line-height: 1.6;
}

.itms-delete-modal-actions {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 18px 18px;
  gap: 10px;
  justify-content: center;
}

.itms-delete-modal-confirm-btn,
.itms-delete-modal-cancel-btn {
  padding: 9px 28px;
  border-radius: 6px;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s;
}

.itms-delete-modal-confirm-btn {
  background: #c0392b;
  color: #fff;
}

.itms-delete-modal-confirm-btn:hover {
  opacity: .85;
}

.itms-delete-modal-cancel-btn {
  background: #eee;
  color: #555;
}

.itms-delete-modal-cancel-btn:hover {
  background: #ddd;
}

.profile-sec {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  min-height: 80vh;
  position: relative;
}

.mobile-profile-toggle {
  display: none;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  font-weight: 700;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
  font-size: 1.1rem;
}

.mobile-profile-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(43, 108, 176, 0.4);
}

.mobile-profile-toggle i {
  font-size: 1.3rem;
}

.toggle-arrow {
  transition: transform 0.3s ease;
}

.mobile-profile-toggle.active .toggle-arrow {
  transform: rotate(180deg);
}

.profile-sec>nav.profile-nav {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 20px 30px;
  border-radius: 15px;
  margin-bottom: 35px;
  box-shadow: var(--box-shadow);
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.profile-nav-btn {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 220px;
  justify-content: center;
  text-align: center;
  font-size: 1.05rem;
}

.profile-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.profile-nav-info {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.profile-mini-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.profile-mini-info:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.profile-mini-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.profile-mini-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-mini-name {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.profile-mini-job {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.profile-layout {
  gap: 35px;
  align-items: flex-start;
}

.prof-right-side {
  flex: 0 0 350px;
  gap: 25px;
  position: sticky;
  top: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-close-btn {
  display: none;
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-close-btn:hover {
  background: #e53e3e;
  transform: scale(1.1);
}

.profile-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.prof-right-list {
  background: white;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
}

.prof-right-list h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 3px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.prof-right-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.prof-right-list ul li {
  padding: 15px 18px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.prof-right-list ul li:hover {
  background: rgba(43, 108, 176, 0.08);
  border-color: var(--secondary-color);
  transform: translateX(5px);
}

.prof-right-list ul li i {
  width: 22px;
  text-align: center;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.prof-right-list ul li span {
  flex: 1;
  font-weight: 600;
  color: var(--text-color);
}

.social-icons {
  background: transparent !important;
  border: none !important;
  padding: 18px 12px !important;
  gap: 12px;
}

.social-link {
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 108, 176, 0.12);
  flex: 1;
  min-height: 60px;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(43, 108, 176, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.2);
}

.social-link i {
  font-size: 1.4rem !important;
  color: var(--secondary-color) !important;
}

.f-green {
  color: #25D366 !important;
}

.f-blue {
  color: #1877F2 !important;
}

.social-info {
  background: rgba(43, 108, 176, 0.05) !important;
  border: 1px solid rgba(43, 108, 176, 0.1) !important;
  padding: 15px !important;
  gap: 10px !important;
  flex-direction: column !important;
}

.social-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.social-detail i {
  width: 20px;
  text-align: center;
  color: var(--secondary-color);
}

.social-detail span {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.95rem;
}

.setting-btn {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)) !important;
  color: white !important;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  justify-content: center;
  font-size: 1.1rem;
  padding: 16px 20px !important;
}

.setting-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(43, 108, 176, 0.4);
}

.setting-btn i {
  color: white !important;
  font-size: 1.2rem;
}

.pg-settings {
  background: white !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px !important;
  margin-top: 12px;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pg-settings a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #f8fafc;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.05rem;
}

.pg-settings a:hover {
  background: rgba(43, 108, 176, 0.12);
  color: var(--secondary-color);
  transform: translateX(8px);
}

.pg-settings a i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.logout-btn {
  background: linear-gradient(135deg, var(--accent-color), #fc8181) !important;
  color: white !important;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  justify-content: center;
  padding: 16px 20px !important;
  font-size: 1.1rem;
}

.logout-btn a {
  color: white !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.logout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.prof-left-side {
  flex: 1;
  gap: 30px;
}

.prof-aboutme {
  background: white;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  height: auto;
}

.prof-aboutme h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 3px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 12px;
}

.prof-aboutme h4 i {
  color: var(--accent-color);
  font-size: 1.3rem;
}

.admininfo-txt {
  line-height: 1.8;
  color: var(--text-color);
  font-size: 1.1rem;
}

.profile-completion h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
}

.profile-completion .f-brown {
  color: var(--accent-color);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.prof-select-items {
  background: white;
  border-radius: 18px;
  padding: 35px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  width: 100%;
}

.prof-select-items h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 3px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.prof-select-table {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.prof-select-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  background: white;
}

.prof-select-table thead {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.prof-select-table th {
  color: white;
  font-weight: 700;
  padding: 18px 15px;
  text-align: right;
  font-size: 1.05rem;
  border: none;
  position: relative;
}

.prof-select-table th:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.3);
}

.prof-select-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f1f5f9;
}

.prof-select-table tbody tr:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.prof-select-table td {
  padding: 18px 15px;
  color: var(--text-color);
  font-weight: 600;
  text-align: right;
  border: none;
}

.prof-select-table td:first-child {
  color: var(--secondary-color);
  font-weight: 800;
  font-family: 'Tajawal', sans-serif;
}

.prof-select-table td:nth-child(2) {
  color: var(--primary-color);
  font-weight: 700;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prof-select-table td:nth-child(3) {
  font-family: 'Courier New', monospace;
  background: rgba(43, 108, 176, 0.08);
  border-radius: 6px;
  margin: 2px 0;
  padding: 10px 15px;
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.05rem;
}

.prof-select-table td:nth-child(4) {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.5);
}

.prof-select-table td:last-child {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.prof-select-table td:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.prof-select-table td:last-child a:first-child {
  background: rgba(66, 153, 225, 0.12);
  color: var(--secondary-color);
  border-color: rgba(66, 153, 225, 0.25);
}

.prof-select-table td:last-child a:first-child:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
}

.prof-select-table td:last-child a:last-child {
  background: rgba(229, 62, 62, 0.12);
  color: var(--accent-color);
  border-color: rgba(229, 62, 62, 0.25);
}

.prof-select-table td:last-child a:last-child:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.no-products {
  text-align: center;
  padding: 70px 35px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 2px dashed #e2e8f0;
}

.no-products-avatar {
  font-size: 4.5rem;
  margin-bottom: 25px;
  opacity: 0.7;
}

.no-products h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.no-products p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin: 0;
}

.delbox {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  width: 90%;
  max-width: 400px;
  padding: 25px;
  border: 1px solid #e2e8f0;
  display: none;
}

.delbox.active {
  display: block;
}

.delbox h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.delbox .cancel {
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.delbox .cancel:hover {
  color: var(--accent-color);
}

.delbox p {
  color: var(--text-color);
  margin-bottom: 25px;
  line-height: 1.6;
}

.delbox ul {
  display: flex;
  gap: 15px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.delbox ul li {
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.del-btn {
  background: var(--accent-color);
  color: white;
}

.del-btn:hover {
  background: #e53e3e;
  transform: translateY(-2px);
}

.delbox ul li:not(.del-btn) {
  background: #f1f5f9;
  color: var(--text-color);
}

.delbox ul li:not(.del-btn):hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

@media (max-width:1024px) {
  .profile-sec {
    padding: 0 15px;
    margin: 25px auto;
  }

  .profile-layout {
    flex-direction: column;
    gap: 25px;
  }

  .prof-right-side {
    flex: none;
    width: 100%;
    position: static;
    max-width: 550px;
    margin: 0 auto;
  }

  .prof-left-side {
    width: 100%;
  }

  .profile-img {
    height: 250px;
  }

  .prof-aboutme {
    max-height: none;
  }

  .prof-select-items {
    padding: 30px;
  }

  .profile-nav-info {
    display: none;
  }
}

@media (max-width:768px) {
  .mobile-profile-toggle {
    display: flex;
  }

  .prof-right-side.mobile-hidden {
    display: none;
  }

  .prof-right-side.mobile-active {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 370px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: 20px;
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  }

  .mobile-close-btn {
    display: flex;
  }

  .profile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
  }

  .profile-overlay.active {
    display: block;
  }

  body.no-scroll {
    overflow: hidden;
  }

  .profile-sec {
    margin: 15px auto;
    padding: 0 10px;
  }

  .profile-nav {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    gap: 12px;
  }

  .profile-nav-btn {
    padding: 14px 20px;
    font-size: 1rem;
    flex: 1;
    min-width: 180px;
  }

  .prof-right-list,
  .prof-aboutme {
    padding: 25px;
    border-radius: 15px;
  }

  .prof-select-items {
    padding: 25px 20px;
    border-radius: 15px;
    margin: 0;
  }

  .prof-select-table table {
    min-width: 580px;
  }
}

@media (max-width:480px) {
  .profile-sec {
    margin: 10px auto;
    padding: 0 8px;
  }

  .profile-nav {
    padding: 12px 15px;
    flex-direction: column;
  }

  .profile-nav-btn {
    width: 100%;
    min-width: auto;
    padding: 12px 18px;
  }

  .prof-right-side.mobile-active {
    width: 100%;
  }

  .prof-right-list,
  .prof-aboutme {
    padding: 20px;
  }

  .prof-select-items {
    padding: 20px 15px;
  }

  .prof-select-table table {
    min-width: 480px;
  }

  .mobile-profile-toggle {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

.vh {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prof-select-table::-webkit-scrollbar {
  height: 10px;
}

.prof-select-table::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 5px;
}

.prof-select-table::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 5px;
}

.prof-select-table::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.com-comment-item {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 18px;
  border: 1px solid #e8edf5;
  box-shadow: 0 2px 12px rgba(26, 54, 93, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.com-comment-item:hover {
  box-shadow: 0 6px 24px rgba(26, 54, 93, 0.1);
  transform: translateY(-2px);
}

.com-comment-avatar {
  border: 2.5px solid var(--secondary-color);
  box-shadow: 0 2px 8px rgba(43, 108, 176, 0.2);
}

.com-comment-username {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1rem;
}

.com-comment-content {
  background: #f8fafc;
  padding: 14px 18px;
  border-radius: 10px;
  border-right: 3px solid var(--secondary-color);
  margin: 14px 0;
  color: #374151;
  line-height: 1.75;
  font-size: 0.97rem;
}

.com-comment-stars {
  color: #fbbf24;
  font-size: 0.88rem;
  letter-spacing: 1px;
  margin-top: 3px;
}

.com-comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #94a3b8;
  padding-top: 12px;
  border-top: 1px solid #f0f4f8;
  margin-top: 12px;
}

.com-comment-card,
.com-comments-card,
.com-rating-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  border: 1px solid #e8edf5;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(26, 54, 93, 0.05);
}

.com-comment-title,
.com-comments-title,
.com-rating-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.com-reply-item {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1px solid #e8edf5;
  border-right: 3px solid var(--secondary-color);
}

.com-interaction-btn {
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  gap: 7px;
  transition: all 0.2s ease;
}

.com-stat-card {
  border-radius: 16px;
  border: 1px solid #e8edf5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.com-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(26, 54, 93, 0.12);
}

.com-comment-textarea:focus,
.com-reply-textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(43, 108, 176, 0.08);
  background: #fff;
}

.com-comment-submit:hover,
.com-submit-reply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 108, 176, 0.35);
}

.itm-header {
  background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 60%, #1e4a8a 100%);
}

.itm-product-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.itm-info-card {
  background: linear-gradient(145deg, #f9fbff, #f3f7fc);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #dde6f5;
  box-shadow: 0 3px 16px rgba(26, 54, 93, 0.06);
}

.itm-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #e8edf5;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
}

.itm-info-item:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 4px 14px rgba(43, 108, 176, 0.1);
}

.itm-info-label {
  min-width: 130px;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.itm-info-value {
  color: #374151;
  font-size: 0.97rem;
  line-height: 1.65;
}

.itm-action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: linear-gradient(145deg, #f3f7fc, #edf2fa);
  border-radius: 12px;
  border: 1px solid #dde6f5;
}

.itm-map-card {
  background: linear-gradient(145deg, #f9fbff, #f3f7fc);
  border-radius: 16px;
  border: 1px solid #dde6f5;
  box-shadow: 0 3px 16px rgba(26, 54, 93, 0.06);
}

.itm-comment-content {
  background: linear-gradient(145deg, #f8fafc, #f0f6ff);
  padding: 14px 18px;
  border-radius: 10px;
  border-right: 3px solid var(--secondary-color);
  margin: 12px 0;
  line-height: 1.7;
  color: #374151;
}

.itm-like-up {
  background: linear-gradient(135deg, #38a169, #276749);
  box-shadow: 0 4px 14px rgba(56, 161, 105, 0.3);
}

.itm-like-down {
  background: linear-gradient(135deg, #e53e3e, #c53030);
  box-shadow: 0 4px 14px rgba(229, 62, 62, 0.3);
}

.itm-star-item {
  border-radius: 12px;
  padding: 13px 20px;
  transition: all 0.2s ease;
}

.itm-star-item:hover {
  border-color: var(--secondary-color);
  background: rgba(43, 108, 176, 0.05);
  transform: translateX(-6px);
  box-shadow: 0 4px 16px rgba(43, 108, 176, 0.12);
}

.itm-photo-gallery {
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.09);
  border: 1px solid #e8edf5;
}

.itm-product-rating-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(245, 158, 11, 0.08));
  border: 1.5px solid rgba(251, 191, 36, 0.3);
  border-radius: 22px;
}

.itm-keyword-tag {
  background: rgba(43, 108, 176, 0.08);
  border: 1.5px solid rgba(43, 108, 176, 0.18);
  border-radius: 22px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.itm-keyword-tag:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.25);
}

/* ══════════════════════════════════════════════════════
   TASK 7 — تحسينات تصميم صفحة المنتج (site-item)
   CSS-only enhancements — لا تعديل على HTML
   ══════════════════════════════════════════════════════ */

/* ── Header: عنوان مع shimmer subtle ── */
.itm-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e4a8a 50%, var(--secondary-color) 100%);
  border-radius: 24px;
  padding: 44px 36px;
  box-shadow: 0 8px 32px rgba(26, 54, 93, 0.22), 0 2px 8px rgba(0,0,0,0.08);
}

.itm-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.itm-city-badge {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.9rem;
  transition: background 0.2s;
}

/* ── Main section: subtle depth ── */
.itm-main-section {
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(26, 54, 93, 0.07), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid #e8edf5;
}

/* ── Info card: cleaner look ── */
.itm-info-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8edf5;
  box-shadow: 0 2px 12px rgba(26, 54, 93, 0.05);
}

.itm-info-header {
  border-bottom: 2px solid #eef2f8;
}

.itm-product-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: var(--primary-color);
}

/* ── Info items: striped card style ── */
.itm-info-item {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5fb 100%);
  border: 1px solid #eef2f8;
  border-radius: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.itm-info-item:hover {
  box-shadow: 0 4px 16px rgba(43, 108, 176, 0.1);
  transform: translateX(-3px);
}

.itm-info-label {
  color: var(--secondary-color);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.itm-info-label i {
  width: 28px;
  height: 28px;
  background: rgba(43, 108, 176, 0.1);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 0.85rem;
}

/* ── Action buttons: bolder, more colorful ── */
.itm-action-buttons {
  gap: 12px;
  margin-top: 24px;
}

.itm-action-btn {
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.itm-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.itm-location-btn {
  background: linear-gradient(135deg, #2b6cb0 0%, #1a4a8c 100%);
  color: #fff;
}

.itm-menu-btn {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  color: #fff;
}

/* ── Map card: sticky sidebar improvement ── */
.itm-map-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8edf5;
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.07);
  top: 20px;
}

.itm-map-container {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* ── Fixed social sidebar: smoother ── */
.itm-fixed-social-link {
  transition: transform 0.2s, box-shadow 0.2s;
}

.itm-fixed-social-link:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ── Comments section: consistent cards ── */
.itm-comments-section {
  border-radius: 22px;
  border: 1px solid #e8edf5;
  box-shadow: 0 4px 24px rgba(26, 54, 93, 0.07);
}

.itm-comment-card,
.itm-comments-card,
.itm-rating-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eef2f8;
  box-shadow: 0 1px 6px rgba(26, 54, 93, 0.05);
  transition: box-shadow 0.2s;
}

.itm-comment-card:hover {
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.1);
}

/* ── Views badge: pill style ── */
.itm-views-badge {
  background: rgba(43, 108, 176, 0.1);
  color: var(--secondary-color);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border: 1px solid rgba(43, 108, 176, 0.15);
}

/* ── Offer floating button: pulse animation ── */
@keyframes itm-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(229, 62, 62, 0); }
}

.itm-float-ring {
  animation: itm-pulse 2s ease-in-out infinite;
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
  .itm-header {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .itm-action-btn {
    padding: 11px 16px;
    font-size: 0.88rem;
  }

  .itm-info-item:hover {
    transform: none;
  }

  .itm-main-section {
    padding: 18px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .itm-title {
    font-size: 1.4rem;
  }

  .itm-action-buttons {
    flex-direction: column;
  }

  .itm-action-btn {
    width: 100%;
    justify-content: center;
  }
}
