/*
Theme Name: Your Dose Pharmacy
Template: pharmacymentor
Description: Child theme for PharmacyMentor
Version: 8.1.0
*/

/*--------------------------------------------------------------
  Main Menu
--------------------------------------------------------------*/
.site-header #navbar > ul li .theme-third-light-btn:hover,
.site-header #navbar > ul li .theme-third-light-btn:focus,
.site-header #navbar > ul li .theme-third-light-btn,
#menu-main-menu .panel-sub-menu .panel-menu > li > ul > li:hover .theme-third-light-btn,
.site-header #navbar > ul li.menu-btn:hover,
.site-header #navbar>ul li.menu-btn:hover>a{
  color: var(--theme-secondary-btn-txt-color) !important;
}

.header-middle-wrapper .woo-header-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:after,
.section-search-wrapper .woo-header-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:after,
.is-search-icon:after {
  content: '';
  position: absolute;
  background: url("img/search-icon-2.svg");
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-repeat: no-repeat;
  background-position: 50%;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
}

.site-footer .lower-footer .copyright a {
  color: #fff!important;
}

@media (min-width: 992px) {
    .top-header-tagline .col-lg-6:first-child a {
        white-space: nowrap;
    }
}

/*--------------------------------------------------------------
  Additional Styles
--------------------------------------------------------------*/

.popular-categories.order-step-section {
  padding-bottom: 0;
}
.hero-style-2,
.hero-style-3 {
  height: 90vh;
}
.bg-light {
  background: #F5EFE6 !important;
}
.page-template-all-conditions .page-banner.bg-light {
  background: #FFFFFF !important;
}
img.custom-logo {
  width: 200px;
}
.item i {
  font-size: 32px;
  margin-right: 10px;
}
.site-footer .lower-footer {
  background: var(--theme-dark-background);
}
.theme-btn-outline-white {
  background-color: initial !important;
  color: white;
  border: 1px solid white !important;
  font-size: var(--btn-font-size) !important;
  font-weight: 700 !important;
  padding: 10px 25px !important;
  border-radius: var(--btn-radius) !important;
  display: inline-block !important;
  position: relative !important;
  text-transform: capitalize !important;
  transition: .2s all ease-in;
  -webkit-transition: .2s all ease-in;
  -moz-transition: .2s all ease-in;
  -o-transition: .2s all ease-in;
}
.theme-btn-outline-white:hover {
  background-color: white !important;
  border-color: white !important;
  color: var(--theme-primary-color) !important;
  transition: .2s all ease-out;
  -webkit-transition: .2s all ease-out;
  -moz-transition: .2s all ease-out;
  -o-transition: .2s all ease-out;
}
.header-style-3 .topbar {
  padding: 10px 0;
}
#formSidebar span.sidebar-title {
  font-size: 18px;
}
.single-term-banner-section .banner-tagline-content p {
  color: inherit;
  font-size: 14px;
}
.hero-slider .banner-call-to-action {
  justify-content: center;
}
section.blog-listing-section .blog-grids .grid {
  border: 1px solid var(--bg-theme-primary);
}
.posted_info {
  align-items: start;
  flex-direction: column;
}
.condition-products {
  padding-top: 60px !important;
}
.woocommerce form .variation-input-wrapper {
  width: 100%;
}
.woocommerce form .button:hover, .woocommerce .cart-collaterals .button.alt:hover, .woocommerce form .button.alt:hover {
  color: #fff !important;
}
.service-single-section .service-single-content ul li span {
  position: relative;
  background: none;
  top: 0;
}
@media (min-width: 992px) {
  /* .header-style-3 {
    position: fixed;
    background: white;
  } */
  .single-product.woocommerce div.product form.cart .variations {
    align-items: end !important;
  }
}
@media (max-width: 991px) {
  .site-header #navbar > ul > li :is(a, span.title-only) {
    font-size: 16px !important;
  }
  .header-bar .navbar-header img {
    width: 200px !important;
  }
  body .header-right-section {
    display: none !important;
  }
}
@media (max-width: 575px) {
  .page-content {
    margin-top: 0;
  }
}

.quick-contact i {
  color: var(--theme-light-color);
}

.order-step-section {
    background: #ffffff;
}

.order-steps-description {
    font-size: 18px;
    line-height: 1.7;
}

.order-steps-description p:last-child {
    margin-bottom: 0;
}

.order-steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.order-step-list-item {
    display: grid;
    grid-template-columns: 70px 80%;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--theme-border-light-color);
    border-radius: var(--card-radius);
}

.order-step-number {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--theme-primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.order-step-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-step-icon img {
    max-width: 58px;
    max-height: 58px;
    object-fit: contain;
}

.order-step-content {
    font-size: 16px;
    line-height: 1.6;
}

.order-step-content p:last-child {
    margin-bottom: 0;
}

.order-step-content h3,
.order-step-content h4,
.order-step-content h5 {
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .order-step-list-item {
        grid-template-columns: 46px 1fr;
        gap: 14px;
    }

    .order-step-icon {
        grid-column: 1;
        grid-row: 2;
        width: 46px;
        height: 46px;
    }

    .order-step-icon img {
        max-width: 46px;
        max-height: 46px;
    }

    .order-step-content {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .order-step-number {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }
}



/*--------------------------------------------------------------
  Popular Categories Carousel Styles
--------------------------------------------------------------*/
.popular-categories-slider {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 15px 15px 60px 15px;
}

.popular-categories-slider .swiper-slide {
  height: auto; /* ensure all slides are equal height */
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 768px) {
  .popular-categories-slider .swiper-slide {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .popular-categories-slider .swiper-slide {
    width: 33.333%;
  }
}

.popular-categories-slider .popular-cat {
  height: 100%;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--theme-border-light-color);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-sizing: border-box;
}

.popular-categories-slider .popular-cat .featured-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--theme-border-light-color);
}

.popular-categories-slider .popular-cat .featured-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.popular-categories-slider .popular-cat .term-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 25px;
}

.popular-categories-slider .popular-cat .term-meta .line-clamp {
  flex-grow: 1;
}

/* Swiper navigation buttons style for popular categories */
.popular-categories-slider .swiper-button-next,
.popular-categories-slider .swiper-button-prev {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--theme-primary-color, #3EA4B9);
  background-size: 12px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin-top: -30px; /* offset the bottom padding */
  z-index: 99 !important;
  pointer-events: auto !important;
}

.popular-categories-slider .swiper-button-next {
  right: 15px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

.popular-categories-slider .swiper-button-prev {
  left: 15px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

.popular-categories-slider .swiper-button-next:hover,
.popular-categories-slider .swiper-button-prev:hover {
  background-color: var(--theme-secondary-color, #01E5B1);
  transform: scale(1.05);
}

.popular-categories-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #000000 !important;
  opacity: 0.25 !important;
  margin: 0 6px !important;
  transition: all 0.3s ease;
  display: inline-block;
  border-radius: 50%;
}

.popular-categories-slider .swiper-pagination-bullet-active {
  background-color: var(--theme-primary-color, #3EA4B9) !important;
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 5px !important;
}

@media (max-width: 767px) {
  .popular-categories-slider .swiper-button-next,
  .popular-categories-slider .swiper-button-prev {
    display: none; /* Hide arrows on small screens for better thumb swiping */
  }
}


.popular-categories-slider a,
.popular-categories-slider img {
  -webkit-user-drag: none !important;
  user-drag: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

.popular-categories-slider,
.popular-categories-slider .swiper-wrapper {
  touch-action: pan-y !important;
}


/*--------------------------------------------------------------
  USP Bar Text Visibility Fix
--------------------------------------------------------------*/
.woopw-usp-strip {
  background-color: var(--theme-secondary-color, #4A1D1A);
}

.woopw-usp-item,
.woopw-usp-item span {
  color: #ffffff !important;
}

.woopw-usp-icon i {
  color: var(--theme-primary-color, #3EA4B9);
}

/*--------------------------------------------------------------
  Submission Complete Heading Tick Mark Visibility Fix
--------------------------------------------------------------*/
.consultation-submission-heading .fa-check,
.consultation-submission-heading i,
.consultation-submission-heading .fas {
  color: #ffffff !important;
}

/*--------------------------------------------------------------
  Tagline Step Completed Icon Visibility Fix
--------------------------------------------------------------*/
.consultation-completion-taglines .step-completed .icon-img {
  background: #ffffff !important;
  color: var(--theme-secondary-color, #4A1D1A) !important;
  border-color: #ffffff !important;
}

.consultation-completion-taglines .step-completed .icon-img i,
.consultation-completion-taglines .step-completed .icon-img .fa,
.consultation-completion-taglines .step-completed .icon-img .fas {
  color: var(--theme-secondary-color, #4A1D1A) !important;
}



/*--------------------------------------------------------------
  Bookly Terms of Service Checkbox Alignment Fix
--------------------------------------------------------------*/
.bookly-form .bookly-checkbox-group,
.bookly-checkbox-group {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: auto !important;
}

.bookly-checkbox-group label {
    float: none !important;
    margin: 0 !important;
    display: inline-block !important;
    text-align: left !important;
}

.bookly-checkbox-group label.bookly-square {
    margin-right: 0 !important;
}

/*--------------------------------------------------------------
  Bookly Step 1 Full-Width Stacked Dropdown Left Alignment Fix
--------------------------------------------------------------*/
.bookly-form .bookly-js-chain {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bookly-form .bookly-js-chain .bookly-form-group {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 20px !important;
  padding: 0 !important;
}

.bookly-form .bookly-js-chain .bookly-form-group > label {
  text-align: center !important;
  margin-bottom: 8px !important;
  width: 100% !important;
  display: block !important;
}

.bookly-form .bookly-js-chain .bookly-form-group > div {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.bookly-form .bookly-js-chain .bookly-form-group select {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}


.scroll-to-top {
  bottom: 60px !important;
}


.tp-widget-wrapper {
    text-align: -webkit-right !important;
}

/*--------------------------------------------------------------
  Mobile Footer Responsive Spacing Fix
--------------------------------------------------------------*/
@media (max-width: 991px) {
  /* Reduce padding-bottom on upper footer container */
  .site-footer .upper-footer,
  .site-footer .upper-footer.pb-5 {
    padding-bottom: 10px !important;
  }

  /* Remove excessive bottom margins on footer columns & text paragraphs */
  .site-footer .upper-footer .column-4,
  .site-footer .upper-footer .column-4 p,
  .site-footer .upper-footer .column-4 p:last-child,
  .site-footer .upper-footer .footer-action-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Reduce top & bottom padding on lower footer container */
  .site-footer .lower-footer,
  .site-footer .lower-footer.py-5 {
    padding-top: 15px !important;
    padding-bottom: 25px !important;
  }

  /* Reduce margin on copyright row */
  .site-footer .lower-footer .row.mb-4 {
    margin-bottom: 10px !important;
  }
}

/*--------------------------------------------------------------
  Shop Page Pagination Center Alignment & Circle Layout Fix
--------------------------------------------------------------*/
.woocommerce nav.woocommerce-pagination,
.woocommerce-page nav.woocommerce-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 40px !important;
  margin-bottom: 30px !important;
  text-align: center !important;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce-page nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul.page-numbers,
.woocommerce-page nav.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: none !important;
  list-style: none !important;
}

.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-page nav.woocommerce-pagination ul li,
.woocommerce .woocommerce-pagination ul.page-numbers li,
.woocommerce-page .woocommerce-pagination ul.page-numbers li {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 3px !important;
  padding: 0 !important;
  border: none !important;
  float: none !important;
  width: 36px !important;
  height: 36px !important;
  overflow: visible !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li .page-numbers,
.woocommerce-page nav.woocommerce-pagination ul li a,
.woocommerce-page nav.woocommerce-pagination ul li span,
.woocommerce-page nav.woocommerce-pagination ul li .page-numbers {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

/* Active Page Circle */
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-page nav.woocommerce-pagination ul li span.current {
  background: #EAE6FE !important;
  color: var(--theme-secondary-color, #4A1D1A) !important;
}

/* Hover & Next / Prev Arrow Buttons */
.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce-page nav.woocommerce-pagination ul li a.next,
.woocommerce-page nav.woocommerce-pagination ul li a.prev {
  background: var(--theme-secondary-color, #4A1D1A) !important;
  color: #ffffff !important;
  line-height: 1 !important;
  font-size: 16px !important;
}

.woocommerce nav.woocommerce-pagination ul li a.next:hover,
.woocommerce nav.woocommerce-pagination ul li a.prev:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--theme-secondary-color, #4A1D1A) !important;
  color: #ffffff !important;
  opacity: 0.9 !important;
}

/*--------------------------------------------------------------
  Single Product Add to Basket Button Disabled/Enabled State Fix
--------------------------------------------------------------*/

/* Disabled State (When variations/options are not selected yet) */
.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled,
.woocommerce div.product form.cart .single_add_to_cart_button.wc-variation-is-unavailable,
.woocommerce div.product form.cart .single_add_to_cart_button.wc-variation-selection-needed,
.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled,
button.single_add_to_cart_button.disabled,
button.single_add_to_cart_button:disabled {
  background-color: #E2E8F0 !important;
  background: #E2E8F0 !important;
  border-color: #CBD5E1 !important;
  color: #64748B !important;
  opacity: 0.75 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button.disabled *,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled *,
.single_add_to_cart_button.disabled *,
.single_add_to_cart_button:disabled * {
  color: #64748B !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button.disabled:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled:hover,
.single_add_to_cart_button.disabled:hover,
.single_add_to_cart_button:disabled:hover {
  background-color: #E2E8F0 !important;
  background: #E2E8F0 !important;
  border-color: #CBD5E1 !important;
  color: #64748B !important;
  cursor: not-allowed !important;
}

/* Enabled State (When customer selects an available option) */
.woocommerce div.product form.cart .single_add_to_cart_button:not(.disabled):not(:disabled),
.single_add_to_cart_button:not(.disabled):not(:disabled),
button.single_add_to_cart_button:not(.disabled):not(:disabled) {
  background-color: var(--theme-secondary-color, #4A1D1A) !important;
  background: var(--theme-secondary-color, #4A1D1A) !important;
  border-color: var(--theme-secondary-color, #4A1D1A) !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:not(.disabled):not(:disabled) *,
.single_add_to_cart_button:not(.disabled):not(:disabled) * {
  color: #FFFFFF !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:not(.disabled):not(:disabled):hover,
.single_add_to_cart_button:not(.disabled):not(:disabled):hover {
  background-color: #381513 !important;
  background: #381513 !important;
  border-color: #381513 !important;
  color: #FFFFFF !important;
}


/*--------------------------------------------------------------
  Product Detail Page Trust Badges Inline Alignment & <br> Fix
--------------------------------------------------------------*/
/* Hide unwanted <br> tags inserted inside flex badge items */
.woocommerce-product-details__short-description div br,
.woocommerce-product-details__short-description span br,
.summary.entry-summary .woocommerce-product-details__short-description div br {
  display: none !important;
}


/*--------------------------------------------------------------
  Shop Product Card Button AJAX Filter Width Fix
--------------------------------------------------------------*/
.products .product a.button,
.products .product .add_to_cart_button,
.products .product .product-theme-btn,
.products .type-product a.button,
.products .type-product .add_to_cart_button,
.products .type-product .product-theme-btn,
a.button.product_type_variable,
a.button.product_type_simple,
a.button.add_to_cart_button {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

#navbar #menu-main-menu .panel-menu a.theme-third-light-btn {
  color: #fff !important;
}