/* 
Theme Name: Deshibiker
Theme URI: https://deshibiker.com/
Description: Deshibiker is a child theme of Hello Elementor, created by deshibiker team
Author: Deshibiker Team
Author URI: https://deshibiker.com/
Template: hello-elementor
Version: 0.0.1
Text Domain: deshibiker
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

body {
  background-color: #f5f5f5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: var(--e-global-typography-primary-font-weight);
  color: var(--e-global-color-secondary);
}

p:empty,
p:has(>&nbsp;) {
  display: none !important;
}

a {
  color: var(--e-global-color-accent);
}

[type="button"],
[type="submit"],
button {
  border: 1px solid var(--e-global-color-accent);
  border-radius: 5px;
  color: var(--e-global-color-accent);
  font-weight: 500;
}

[type="button"]:focus,
[type="button"]:hover,
[type="submit"]:focus,
[type="submit"]:hover,
button:focus,
button:hover {
  background-color: var(--e-global-color-accent);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  h4 {
    font-size: 1rem;
  }
  h5 {
    font-size: 0.8rem;
  }
  .page-header .entry-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 576px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 96%;
  }

  .site-footer.footer-full-width .footer-inner,
  .site-header.header-full-width .header-inner {
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 96%;
  }

  .site-footer.footer-full-width,
  .site-header.header-full-width {
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 96%;
  }

  .site-footer.footer-full-width,
  .site-header.header-full-width {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .page-header .entry-title,
  .site-footer .footer-inner,
  .site-footer:not(.dynamic-footer),
  .site-header .header-inner,
  .site-header:not(.dynamic-header),
  body:not([class*="elementor-page-"]) .site-main {
    max-width: 1140px;
  }

  .site-footer.footer-full-width,
  .site-header.header-full-width {
    max-width: 100%;
  }
}

input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
  border-color: #d9d9d9;
}

/* Signle Product */
.product-content-top {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}
.product-thmbnail {
  flex-basis: 50%;
  padding: 20px 30px;
  text-align: center;
}
.product-short-info {
  flex-basis: 50%;
  padding: 20px 30px;
  background-color: rgb(255, 251, 251);
}
@media (max-width: 768px) {
  .product-thmbnail {
    flex-basis: 100%;
  }
  .product-thmbnail,
  .product-short-info {
    padding: 0px;
  }
  .product-short-info {
    flex-basis: 100%;
  }
  .product-content-top {
    padding: 10px 10px;
    gap: 10px;
  }
}
.product-title h1 {
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-rating {
  display: flex;
  gap: 10px;
}
.comment-rating-stars {
  line-height: 36px;
}
.product-price {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-short-description {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.product-short-description blockquote {
  padding: 0;
  margin-left: 0;
}
.btn-primary,
.product-short-description blockquote a {
  display: inline-block;
  background-color: transparent;
  border: 1px solid #e63946;
  color: #e63946;
  padding: 10px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.product-short-description blockquote a:hover {
  background-color: #d62828;
  color: #fff;
}
.product-short-description blockquote a span,
.product-short-description blockquote a span span {
  text-decoration: none !important;
  color: #e63946 !important;
}
.product-short-description blockquote a:hover span,
.product-short-description blockquote a:hover span span {
  color: #fff !important;
}
.product-external-link {
  margin-top: 20px;
}
.card,
.page-content {
  background-color: #fff;
  padding: 20px 20px;
  border-radius: 10px;
}
.page-content {
  margin-bottom: 20px;
}
.card.transparent,
.page-content.transparent {
  background: none;
  padding: 0px;
}
.card-gap {
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .card.transparent,
  .page-content.transparent {
    padding: 20px 0px;
  }
}
.page-content h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 10px;
}
.page-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}
.page-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}
.page-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}
.page-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}
.page-content p {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.page-content ol,
.page-content ul {
  margin-bottom: 30px;
}
.page-content table {
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100% !important;
}

.page-content .responsive-container,
.page-content .video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-content .responsive-container iframe,
.page-content .video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.page-thumbnail {
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

/* Archive Product */
.product-description {
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #fff;
  padding: 10px 20px 20px 20px;
  border-radius: 10px;
}

.product-description blockquote {
  padding: 0;
  margin: 20px 0 0;
}

/* Main Menu */
.main-menu
  .elementor-column-gap-default
  > .elementor-row
  > .elementor-column
  > .elementor-element-populated
  > .elementor-widget-wrap {
  padding: 0px 10px;
}

/* Pagination */
.deshibiker-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 0;
  gap: 10px;
}

.deshibiker-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  background-color: #fff;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  color: #333;
}

.deshibiker-pagination .page-numbers.current,
.deshibiker-pagination .page-numbers:hover {
  background-color: #e63946;
  color: #fff;
}

/* Single Listing Page Layout */
.page-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
}

/* Fix Swiper slider within CSS Grid layout */
.page-swiper-slider .page-thumbnail-gallery-init {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  position: relative;
  overflow: hidden;
}

.page-swiper-slider .page-thumbnail-gallery-init .swiper-wrapper {
  display: flex !important;
  align-items: stretch;
  width: 100%;
  height: auto;
  position: relative;
  transition-property: transform;
}

.page-swiper-slider .swiper-slide {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  flex-shrink: 0;
  position: relative;
}

/* Main gallery navigation arrows */
.page-swiper-slider .page-thumbnail-gallery-init .swiper-button-next,
.page-swiper-slider .page-thumbnail-gallery-init .swiper-button-prev {
  color: #e63946;
  background: rgba(255, 255, 255, 0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-top: -22px;
  position: absolute;
  top: 50%;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.page-swiper-slider .page-thumbnail-gallery-init .swiper-button-next:hover,
.page-swiper-slider .page-thumbnail-gallery-init .swiper-button-prev:hover {
  background: rgba(230, 57, 70, 0.9);
  color: #fff;
  transform: scale(1.1);
}

.page-swiper-slider .page-thumbnail-gallery-init .swiper-button-next:after,
.page-swiper-slider .page-thumbnail-gallery-init .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.page-swiper-slider .page-thumbnail-gallery-init .swiper-button-next {
  right: 10px;
}

.page-swiper-slider .page-thumbnail-gallery-init .swiper-button-prev {
  left: 10px;
}

/* Thumbnail slider styles */
.page-swiper-slider .page-thumbnail-gallery-pager {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: block !important;
  position: relative;
  margin-top: 15px;
}

.page-swiper-slider .page-thumbnail-gallery-pager .swiper {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  position: relative;
}

.page-swiper-slider .page-thumbnail-gallery-pager .swiper-wrapper {
}

.page-swiper-slider .page-thumbnail-gallery-pager .swiper-slide {
  width: calc(25% - 8px) !important;
  height: auto !important;
}

.page-swiper-slider .page-thumbnail-gallery-pager .swiper-slide-thumb-active {
  opacity: 1;
}

.page-swiper-slider .page-thumbnail-gallery-pager .swiper-slide img {
  border-radius: 6px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  cursor: pointer;
}

.page-swiper-slider
  .page-thumbnail-gallery-pager
  .swiper-slide-thumb-active
  img {
  border-color: #e63946;
}

.page-swiper-slider .swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.page-swiper-slider .swiper-pagination-bullet {
  background: #e63946;
  opacity: 0.5;
}

.page-swiper-slider .swiper-pagination-bullet-active {
  opacity: 1;
}

.deshibiker-widget {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.deshibiker-widget-title {
  border-bottom: 1px solid #f1f1f1;
  color: #545556;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 10px 20px;
}

.deshibiker-widget-content {
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  text-align: center;
}

#deshibiker-reveal-phone {
  cursor: pointer;
}

.deshibiker-widget-content-info {
  font-size: 0.8rem;
  font-weight: 400;
  color: #333;
  text-align: center;
}

.deshibiker-listing-price-widget {
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.deshibiker-listing-price-info {
  background-color: var(--e-global-color-accent);
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  padding: 15px 20px;
}

.deshibiker-listing-price-type {
  background-color: #fff;
  color: var(--e-global-color-accent);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 5px 20px;
}

.deshibiker-widget-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .deshibiker-listing-price-widget.mobile-only {
    display: none;
  }
}

/* Mobile Layout - stack in specified order */
@media (max-width: 767px) {
  .deshibiker-listing-price-widget.desktop-only {
    display: none;
  }

  .page-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Hide thumbnail gallery pager on mobile */
  .page-content-wrapper .page-thumbnail-gallery-pager {
    display: none !important;
  }
}

#rtcl-form-builder-container {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.page-thumbnail-gallery {
  position: relative;
  overflow: hidden;
}

.page-thumbnail-gallery-16-9 {
  padding-top: 66.66666666666666%;
}

.page-thumbnail-gallery-4-3 {
  padding-top: 75%;
}

.page-thumbnail-gallery-1-1 {
  padding-top: 100%;
}

.page-thumbnail-gallery img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.page-content-wrapper .page-thumbnail-gallery img {
  height: 100%;
}

.site-footer {
  background-color: #fff;
  border-top: 1px solid #f1f1f1;
  margin-top: 20px;
}

.fmx-form-wrapper input[type="submit"] {
  width: 100%;
  margin-top: 10px;
}

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

/* Comment */
#comments {
  margin-top: 20px;
}
.page-comments-list {
  margin-top: 20px;
}
#comments .review .comment-body,
#comments .comment .comment-body,
#comments .pingback .comment-body {
  border-block-end: 1px solid #f1f1f1;
  padding-block-end: 5px;
}
.comment-author {
  display: flex;
  gap: 10px;
}
.comment-author cite {
  font-size: 1rem;
  margin-bottom: 5px;
  display: block;
  font-weight: 600;
  color: #333;
}
.comment-content,
.comment-content p {
  font-size: 0.9rem;
}
.comment-meta a {
  text-decoration: none;
  color: #333;
  font-style: italic;
}
.page-content.page-comments-list h2.comment-reply-title {
  margin-top: 0;
}
.page-content.page-comments-list p,
.page-content.page-comments-list select {
  font-size: 1rem;
}
.comment-navigation {
  margin-top: 20px;
}
.comment-navigation a {
  text-decoration: none;
}
.comment-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.comment-list #respond {
  margin-top: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
}
#cancel-comment-reply-link {
  margin-left: 10px;
  font-size: 1rem;
  border: 1px solid #e63946;
  color: #e63946;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
}

/* Blog Single */
.post-meta {
  display: flex;
  gap: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}
@media (max-width: 768px) {
  .post-meta {
    display: block;
  }
  .post-meta span {
    display: inline-block;
    margin-right: 10px;
  }
}
.widget ol,
.widget ul {
  padding: 0;
  margin-left: 20px;
}
.widget ol > li,
.widget ul > li {
  padding: 5px 0;
  line-height: 1.5;
}
.widget h4 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f1f1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}
.widget h4::before {
  content: "";
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--e-global-color-accent);
}
.widget_search label {
  width: 100%;
  display: block;
}
.widget_search input[type="submit"] {
  display: none;
}
.widget_search input[type="search"] {
  border-radius: 5px;
  padding: 10px;
  width: 100%;
}
.widget_categories li a,
.widget_recent_entries li a {
  color: #333;
  text-decoration: none;
}
.widget_categories li a:hover,
.widget_recent_entries li a:hover {
  color: var(--e-global-color-accent);
}

/* Author Details */
.deshibiker-author-details {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.deshibiker-author-avatar img {
  border-radius: 50%;
  width: 96px;
  height: 96px;
  object-fit: cover;
}
.deshibiker-author-meta {
  flex: 1;
}
.deshibiker-author-name {
  margin: 0 0 6px 0;
  font-size: 1.2em;
  font-weight: 600;
}
.deshibiker-author-bio {
  margin-bottom: 8px;
  color: #555;
  font-size: 0.98em;
}
.deshibiker-author-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  font-size: 0.97em;
  color: #333;
}
.deshibiker-author-stats li strong {
  font-weight: 600;
  margin-right: 4px;
}
@media (max-width: 576px) {
  .deshibiker-author-details {
    display: block;
    text-align: center;
  }
  .deshibiker-author-avatar {
    margin-bottom: 10px;
  }
  .deshibiker-author-stats {
    display: block;
  }
}

/* Sticky Page Menu Styles */
.page-menu.sticky-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1140px;
  width: 96%;
  z-index: 999;
}

.admin-bar .page-menu.sticky-menu {
  top: 32px;
}

.page-menu-placeholder,
.mobile-sticky-ad {
  display: none;
}

/* Ensure sticky menu works well on different screen sizes */
@media (max-width: 1200px) {
  .page-menu.sticky-menu {
    width: 96%;
  }
}

/* Page Menu Active Item Styles */

.page-menu-item-wrapper {
  display: flex;
  background: #000;
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
}

.page-menu-item a {
  text-decoration: none;
  padding: 8px 16px;
  display: inline-block;
  background-color: transparent;
  color: #fff;
}

.page-menu-item a.active,
.page-menu-item a:hover {
  background-color: var(--e-global-color-accent);
  color: #fff;
}

@media (max-width: 768px) {
  .page-menu-item a {
    display: block;
    text-align: center;
    padding: 5px 10px;
    font-size: 12px;
  }

  .mobile-sticky-ad {
    display: block;
  }
  .card,
  .page-content {
    padding: 10px;
  }
}

/* Footer */
.deshibiker-footer-mobile-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e2e2;
  color: #333;
  line-height: 1;
}
.deshibiker-footer-mobile-link {
  display: block;
  flex: 1;
  text-align: center;
  color: #333;
  padding: 12px 0 10px;
}
.deshibiker-footer-mobile-link-icon {
  font-size: 24px;
  margin-bottom: 5px;
}
.deshibiker-footer-mobile-link-icon svg {
  width: 24px;
  height: 24px;
}
.deshibiker-footer-mobile-link-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.deshibiker-footer-mobile-link.middle {
  margin-top: -40px;
}
.deshibiker-footer-mobile-link.middle svg {
  width: 64px;
  height: 64px;
  background-color: #fff;
  border-radius: 100%;
  padding: 10px;
  border: 1px solid #e2e2e2;
}

/* Side pop ad */
.side-popup-ad-wrapper {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  background-color: rgba(0, 0, 0, 1);
  z-index: 999999;
  height: 240px;
}

.side-popup-ad-close {
  position: absolute;
  top: -25px;
  right: 0px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  font-size: 16px;
  padding: 0 8px;
  background: #000;
  display: none;
}

.side-popup-ad {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.side-trigger-img {
  padding: 0 5px;
  z-index: 999;
  background-color: #000;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.side-trigger-img img {
  vertical-align: middle;
  display: block;
  max-width: 25px;
  max-height: 100%;
}

.side-slide-img {
  margin-left: -240px;
  height: 100%;
  transition: margin-left 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-slide-img.active {
  margin-left: 0px;
}

.side-slide-img.active .side-popup-ad-close {
  display: block;
}

.side-slide-img img {
  max-width: 100%;
  height: 240px;
  padding: 5px;
}

/* Bottom popup ad */
.bottom-popup-ad-wrapper {
  position: fixed;
  bottom: 20px;
  right: 0;
  transition: right 0.4s ease-in-out;
  z-index: 9999999;
}
.bottom-popup-ad-wrapper.de-active {
  right: -200px;
}
.bottom-popup-ad-close {
  cursor: pointer;
  background: #000;
  color: #fff;
  padding: 0 8px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  border-radius: 100%;
  position: absolute;
  top: -25px;
  left: 0px;
}

.tax-rtcl_category .side-popup-ad-wrapper,
.tax-rtcl_category .bottom-popup-ad-wrapper,
.tax-rtcl_location .side-popup-ad-wrapper,
.tax-rtcl_location .bottom-popup-ad-wrapper,
.tax-rtcl_tag .side-popup-ad-wrapper,
.tax-rtcl_tag .bottom-popup-ad-wrapper,
.post-type-archive-rtcl_listing .side-popup-ad-wrapper,
.post-type-archive-rtcl_listing .bottom-popup-ad-wrapper,
.rtcl-page .side-popup-ad-wrapper,
.rtcl-page .bottom-popup-ad-wrapper {
  display: none;
}

@media (max-width: 767px) {
  .side-popup-ad-wrapper,
  .bottom-popup-ad-wrapper {
    display: none;
  }
}

/* Aps */
.aps-container {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.aps-container .aps-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
