/* Fallback layout & RTL styling for archived azaridances.com when theme CSS/JS are unavailable */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  direction: rtl;
  font-family: Tahoma, "IRANSans", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #3a3e43;
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #5748c9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Prevent Elementor/theme preloader & scroll animations from hiding content */
.elementor-invisible,
.rt-transition .naturalife-panel-holder {
  visibility: visible !important;
  opacity: 1 !important;
}

.rt-carousel-loading,
#loader-wrapper,
.sticky-header-holder,
.mobile-header,
.naturalife-panel-holder,
.naturalife-panel-background,
.naturalife-panel-close,
.wa__popup_chat_box,
.mpp-container {
  display: none !important;
}

/* Top bar */
.naturalife-top-bar {
  background: #1b1e20;
  color: #e2e8f0;
  font-size: 13px;
  padding: 8px 16px;
}

.naturalife-top-bar .top-bar-inner,
.header-elements,
.elementor-section-boxed > .elementor-container,
.content-row-wrapper,
.footer-contents {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.top-bar-inner,
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-bar-right,
.header-col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.naturalife-top-bar a {
  color: #e2e8f0;
}

ul.social_media.inline-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

/* Header & Navigation */
.top-header {
  background: #23272b;
  color: #ffffff;
  border-bottom: 3px solid #5748c9;
}

.main-header-holder {
  padding: 12px 0;
}

.main-menu-wrapper .main-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px 14px;
}

.main-menu-wrapper .main-menu a {
  color: #f8fafc;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 8px;
  display: inline-block;
}

.main-menu-wrapper .main-menu a:hover,
.main-menu-wrapper .main-menu .current-menu-item > a {
  color: #a78bfa;
}

.main-menu ul.sub-menu {
  display: none;
}

.main-menu li:hover > ul.sub-menu {
  display: block;
  position: absolute;
  background: #23272b;
  padding: 8px 12px;
  list-style: none;
  z-index: 100;
  border-radius: 6px;
}

#logo img.light-logo {
  display: none;
}

#logo img.dark-logo {
  max-height: 64px;
  width: auto;
}

.header-tools ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

/* Hero / Carousel fallback */
.rt-carousel .owl-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.rt-carousel .item {
  position: relative;
  min-height: 320px !important;
  border-radius: 8px;
  overflow: hidden;
  background: #1e293b;
}

.rt-carousel .slide-background {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

/* Elementor Grid System */
.elementor-section {
  padding: 28px 0;
}

.elementor-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.elementor-column {
  padding: 12px;
  width: 100%;
}

@media (min-width: 768px) {
  .elementor-col-100 { width: 100%; }
  .elementor-col-50 { width: 50%; }
  .elementor-col-33 { width: 33.333%; }
  .elementor-col-25 { width: 25%; }
  .elementor-col-20 { width: 20%; }
  .elementor-col-66 { width: 66.666%; }
  .elementor-col-75 { width: 75%; }
}

.elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.elementor-widget-image img {
  border-radius: 6px;
}

/* Cards, Blog, Portfolio & WooCommerce grids */
.blog_list,
.portfolio_list,
ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.blog_list > article,
.portfolio_list > div,
ul.products > li.product {
  background: #ffffff;
  border: 1px solid #e1e8ee;
  border-radius: 8px;
  padding: 14px;
}

/* Sub-header & Footer */
.sub-page-header {
  background: #f1f5f9;
  padding: 24px 16px;
  margin-bottom: 20px;
}

#footer,
.footer_contents_wrapper {
  background: #1b1e20;
  color: #cbd5e1;
  padding: 32px 16px;
  margin-top: 32px;
}

#footer a {
  color: #e2e8f0;
}

/* Hide broken audio/missing icon clutter cleanly */
img[data-broken="1"] {
  opacity: 0.15;
}
