/*
Theme Name: Linia cosmetic surgery
Theme URI: https://wordpress.org/themes/twentytwentythree
Author: Joy Karmakar
Author URI: https://www.linkdigital.co.uk/
Description: WordPress theme, created by Link Digital team
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Tags: custom-theme, blog, news, light-weight
Text Domain: linkdigital
*/


@import url('css/common.css');

body {
  background: #fff;
}

body,
td {
  font-family: var(--ld-font), sans-serif;
  font-size: var(--ld-primary-fontsize);
  line-height: 1.5;
  color: var(--ld-color-primary-text);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.8rem, 2.3vw, 34px);
}

h3 {
  font-size: clamp(2.4rem, 1.8vw, 28px);
}

h4 {
  font-size: clamp(2.2rem, 1.6vw, 24px);
}

h5 {
  font-size: clamp(1.9rem, 1.4vw, 20px);
}

h6 {
  font-size: clamp(1.7rem, 1.2vw, 18px);
}

#wrapper main#content {
  width: 100%;
  clear: both;
  min-height: calc(100vh - 220px);
}

.container {
  width: calc(100% - 50px);
  max-width: var(--ld-container-size) !important;
  margin: 0 auto;
}


@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }

  .container .container {
    width: 100%;
  }
}

.max-width-1600 {
  max-width: 1600px !important;
}

.max-width-1500 {
  max-width: 1500px !important;
}

.max-width-1400 {
  max-width: 1400px !important;
}

.max-width-1200 {
  max-width: 1200px !important;
}

.max-width-1280 {
  max-width: 1280px !important;
}

.max-width-1024 {
  max-width: 1024px !important;
}

.max-width-980 {
  max-width: 980px !important;
}

.max-width-800 {
  max-width: 800px !important;
}

.max-width-850 {
  max-width: 850px !important;
}

.max-width-700 {
  max-width: 700px !important;
}

.max-width-600 {
  max-width: 600px !important;
}

.scroll_image {
  max-height: 500px;
  overflow-y: auto;
  box-shadow: rgba(0, 0, 0, 0.1) 0 3px 12px 0;
  border-radius: 5px;
}

.scroll_image img {
  width: 100%;
  height: auto;
}

.shadow_image img {
  box-shadow: rgba(0, 0, 0, 0.10) 20px 20px 0 0;
  border-radius: 0;
}

.rounded_corners,
.rounded_corners img {
  border-radius: 10px;
}

/* Sticky search form ----- START */
#sticky_search_form {
  position: fixed;
  top: 0;
  bottom: 0;
  background: var(--ld-color-primary);
  width: 100%;
  height: 100%;
  z-index: 9999;
  left: 0;
  display: none;
}

#sticky_search_form .search_form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 500px;
  padding: 0;
}

#sticky_search_form .search-field {
  background: var(--ld-color-secondary);
  color: #000;
  border-radius: 3px;
}

#sticky_search_form .search-field::placeholder {
  color: #000;
}

#sticky_search_form .close_search {
  position: fixed;
  right: 50px;
  top: 50px;
  color: var(--ld-black);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 30px;
  transition: .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* #sticky_search_form .search-form [type="submit"] {
  background: url(images/search.svg) center center no-repeat;
} */

#sticky_search_form .close_search:hover {
  transform: scale(1.2) rotate(90deg);
  opacity: .8;
}

/* Header search form ----- END */


/* Header top toolbar ----- START 
#header_top {
  background: var(--ld-color-primary);
  color: var(--ld-white);
}

#header_top .container {
  display: flex;
  justify-content: space-between;
}

#header_top .toolbar_contact {
  font-size: 15px;
  line-height: 1.3;
  padding: 12px 0;
}

#header_top .toolbar_contact ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}

#header_top .toolbar_contact ul li {
  padding: 3px 5px 3px 24px;
}

#header_top .toolbar_contact ul li::before {
  content: "-";
  opacity: .6;
  padding: 0 10px;
  width: 20px;
  text-align: center;
  margin-left: -28px;
}

#header_top .toolbar_contact ul li a {
  color: currentColor;
  opacity: .85;
}

#header_top .toolbar_contact ul li a:hover {
  text-decoration: underline;
  opacity: 1;
}

#header_top .toolbar_contact li:first-child::before {
  content: "";
  height: 18px;
  margin-right: 8px;
  background: url(images/phone.svg) 0 0 no-repeat;
  background-size: contain;
  opacity: .8;
}

#header_top .toolbar_share {
  border-left: rgba(255, 255, 255, 0.2) 1px solid;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

#header_top .social_logos {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

#header_top .social_logos li a {
  display: block;
  padding: 8px 12px;
  color: #fff;
  font-size: .8em;
  line-height: 2;
}

#header_top .social_logos li a:hover {
  opacity: .8;
}

@media (max-width: 800px) {
  #header_top {
    display: none;
  }
}
*/
/* Header top toolbar ----- END */

#header {
  width: 100%;
  min-height: 100px;
  display: flex;
  flex-direction: row;
  background: rgba(255, 255, 255, 0);
  box-shadow: rgba(0, 0, 0, 0) 0 5px 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: .3s;
}

#header.sticky_header {
  background: rgba(255, 255, 255, 0.92);
  min-height: 60px;

  box-shadow: rgba(0, 0, 0, 0.1) 0 5px 10px 0;
}

#header.sticky_header #site_logo {
  max-width: 140px;
  padding: 10px 0;
}


#header .container {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 40px);
  max-width: none !important;
}

#header #site_logo {
  width: 12%;
  min-width: 50px;
  max-width: 200px;
  transition: .3s;
}

#header #site_logo a {
  display: block;
  margin: 0;
  line-height: 1;
  padding: 0;
}


#header .button_nav {
  order: 1;
  display: flex;
  gap: 15px;
  /* align-items: center; */
  margin-left: 10px;
}

#header .button_nav a {
  display: block;
}

#header .button_nav .RP_button {
  color: #fff;
  /* border-radius: 30px; */
  margin-left: 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  padding: 12px 15px;
  background-color: var(--ld-color-secondary);
  /* background: linear-gradient(to bottom, rgba(255, 255, 255, .2), transparent 50%);   
  transition: background-color 500ms;*/
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
  /* text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0; */
}

#header .button_nav .RP_button svg {
  width: 24px;
  height: 24px;
}

#header .button_nav .RP_button:hover {
  background-color: var(--ld-color-button-hover);
  color: #fff;
  text-shadow: none;
}

#header .button_nav .RP_button:hover svg {
  stroke: #fff;
}

#header .button_nav .search_button {
  width: auto;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  align-items: end;
}

#header .button_nav .search_button .search_icon {
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: #fff;
  border-radius: 22px;
}

#header .button_nav .email_icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
}

#header .button_nav .phone_icon {
  display: block;
}

#header .button_nav .phone_icon a {
  display: flex;
  white-space: nowrap;
  font-family: "Oswald", sans-serif;
  color: var(--ld-blue) !important;
  font-size: clamp(1.5rem, 1.5vw, 22px);
  padding: 10px 20px 10px 15px;
  border-left-color: var(--ld-color-button) !important;
  border-top-color: var(--ld-color-button) !important;
}

#header .button_nav .phone_icon a svg {
  padding-right: 10px;
}

#header .button_nav .phone_icon a:hover {
  border: currentColor 1px solid !important;
  border-bottom-color: var(--ld-color-button) !important;
  border-right-color: var(--ld-color-button) !important;
}

#header #menu {
  margin-left: auto;
}

@media (min-width: 1101px) {
  /* #header {
    backdrop-filter: blur(10px);
  } */

  #header.sticky_header #site_logo a {
    overflow: hidden;
    display: block;
    /* transform: translateX(-15px); */
  }

  #header.sticky_header #site_logo a img {
    /* margin-bottom: -10px; */
    transition: .3s;
  }

}

@media (max-width: 1600px) {
  /* #header .container {
    width: calc(100% - 30px);
    padding-right: 10px;
  } */
}

@media (max-width: 1200px) {
  #header .button_nav .RP_button {
    font-size: clamp(1.3rem, 2vw, 16px);
  }
}

@media (max-width: 1280px) {
  #header {
    min-height: 50px;
    padding: 0;
    background: #fff;
  }

  #header #site_logo {
    min-width: auto;
    width: 120px;
    padding: 10px 0;
    margin-left: -10px;
  }

  #header .button_nav {
    order: 0;
    margin-left: auto;
    gap: 5px;
  }

  #header #menu {
    margin: 0 -10px 0 10px;
  }

  #header #menu .mega-toggle-animated-box,
  #header #menu .mega-toggle-animated-inner,
  #header #menu .mega-toggle-animated-inner::after,
  #header #menu .mega-toggle-animated-inner::before {
    width: 30px !important;
  }
}

@media (max-width: 600px) {
  #header {
    padding-top: 0;
  }

  #header #site_logo {
    margin-right: 10px;
  }

  #header .search_button .search_icon {
    margin-bottom: 0;
  }

  #header .button_nav .email_icon {
    margin: 0;
    display: none;
  }

  #header .button_nav .RP_button {
    display: none;
    padding: 8px 0;
    font-size: 16px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    justify-content: center;
  }

  #header .button_nav .RP_button svg path {
    fill: #000;
  }

  #header .button_nav .phone_icon a,
  #header .button_nav .phone_icon a:hover {
    padding: 10px 0px 10px 0px;
    border: 0 !important;
  }

  #header .button_nav .phone_icon a svg {
    padding-right: 8px;
    width: 30px;
  }

  #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block {
    margin-right: 0;
  }

  /* #header .button_nav .RP_button span {
    display: none;
  } */
}

@media (max-width: 1280px) {
  #header nav#menu ul#mega-menu-main-menu li.LD_home.hide {
		background:#4e555e;
    border-bottom: rgba(0, 0, 0, 0.09) 1px solid;
    display: block !important;
  }

  #header nav#menu ul#mega-menu-main-menu li.LD_home.hide a.mega-menu-link {
    background:#4e555e url(images/logo-white.png) center center no-repeat !important;
    height: 70px !important;
    text-indent: -9999px;
    padding: 0;
    background-size: contain !important;
    margin: 8px 0;
  }
}


/* Blog ------ START */
.blog_sidebar,
.archive_sidebar {
  /* position: sticky;
  top: 120px; */
  clear: both;
}

@media (min-width: 782px) {
  .archive_sidebar {
    flex-basis: 30% !important;
    max-width: 400px;
  }

  .archive_listing {
    flex-basis: 70% !important;
  }
}

.blog-header .taxonomy-category {
  padding-bottom: 15px;
}

.blog-header .taxonomy-category a {
  color: currentColor;
  font-size: var(--ld-primary-fontsize);
}

.blog-header a:hover {
  color: #1AE7FF;
}

.blog-header .taxonomy-category .wp-block-post-terms__separator {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: var(--ld-gray);
  overflow: hidden;
  vertical-align: middle;
  margin: 0 10px;
  border-radius: 4px;
  text-indent: -999px;
}

.blog-header img.avatar {
  border-radius: 50%;
  border: #fff 3px solid;
  background: #fff;
}

.blog-header .wp-block-post-author {
  padding-right: 20px;
}

.blog-header .wp-block-post-author__content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-header .wp-block-post-author__content p {
  width: auto;
  margin: 5px 0;
  padding: 0;
  font-size: 1.8rem;
  font-weight: 500;
}

.archive-header,
.blog-header {
  /* background: var(--ld-color-secondary); 
  box-shadow: rgba(0, 0, 0, .15) 0 3px 5px 0;
  align-items: end;   */
  margin: 0;
  padding: 0;
  padding: 80px 0 20px 0;
  text-align: center;
  position: relative;
}


.archive-header .container {
  position: relative;
  z-index: 1;
}

.archive-header::after {
  content: "";
  background: linear-gradient(rgba(255, 255, 255, .6), #fff);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}


.archive-header .author_photo {
  object-position: 50% 40%;
  width: 100px;
  height: 100px;
  display: block;
  border-radius: 50%;
  float: left;
  position: relative;
  padding: 0;
  margin: -10px 20px 20px 0;
  object-fit: cover;
  background: #fff;
}

.page-archive .header-bottom {
  box-shadow: none;
}

@media (max-width: 800px) {

  .archive-header,
  .blog-header {
    min-height: 200px !important;
    padding: 0;
  }
}

.blog-single-header {
  margin: 0;
}

/* .blog-single-header h1::after {
  content: "";
  width: 100px;
  height: 5px;
  background: var(--ld-color-button);
  margin: 20px auto;
  display: block;
} */

.blog-single-header .post_meta {
  padding-top: 16px;
  /* font-size: 20px; 
  text-transform: uppercase;
  line-height: 1.2; */


  letter-spacing: 1.2px;
  gap: 20px;
}

.blog-single-header .post_meta a {
  color: var(--ld-link-color);
}

.blog-single-header .post_meta a:hover {
  color: #fff;
}

.archive-wrap {
  padding: 30px 0 50px 0;
  background: linear-gradient(to bottom, #fff, transparent 30%);
}

.archive-wrap.archive_list_layout>.container,
#blog_content.container {
  max-width: 1600px !important;
}

.archive-loop {
  display: grid;
  gap: 40px;
  /* max-width: 1400px; */
  grid-template-columns: repeat(4, 1fr);
  padding: 0 0 0 0;
  margin: 0 auto;
}

.archive-loop.list_layout {
  grid-template-columns: 100% !important;
}

@media (min-width: 1025px) {
  .archive-loop.col-2-desktop.list_layout{
    grid-template-columns: repeat(2, 1fr) !important;;
  }
  .archive-loop.col-2-desktop.list_layout .featured-image img{
    aspect-ratio: 3/2;
     object-fit: cover;
  }
}
 

.archive-loop:not(.list_layout) .featured-image img {
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.archive-loop article,
.archive-loop li.post {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, .08) 0 0 15px 0;
}

@media (max-width: 1024px) {
  .archive_columns {
    flex-wrap: wrap !important;
  }

  .archive-loop {
    padding: 0;
    grid-template-columns: repeat(2, 1fr) !important;
  }


}

@media (max-width: 999px) {
  .archive-loop {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .archive-loop {
    grid-template-columns: 100% !important;
  }

  .archive-loop>li.post {
    width: 100% !important;
  }
}

.archive-loop .post-content {
  padding: 25px;
}

.archive-loop.list_layout .post-content {
  padding: 25px calc(1.5vw + 25px);
}

.archive-loop.list_layout .post_meta .continue_link {
  width: 100%;
}

.archive-loop .post-categories {
  display: flex;
  padding: 0;
  margin: 0 0 20px 0;
  list-style-type: none;
  gap: 2px 20px;
  text-transform: uppercase;
  flex-wrap: wrap;
  font-size: .8em;
}

.archive-loop .post-categories a {
  color: currentColor;
}

.archive-loop .post-categories a:hover {
  color: var(--ld-link-color);
}

.archive-loop .post_meta,
.archive-loop .post_meta .wp-block-group__inner-container {
  display: flex;
  gap: 20px;
  opacity: .8;
  font-size: 1.4rem;
  padding-bottom: 15px;
  font-weight: 500;
  flex-wrap: wrap;
  line-height: 1.3;
}

.archive-loop .post_meta .entry-date .dashicons {
  font-size: .98em;
  line-height: 1.2;
}

.archive-loop .post-title .entry-title,
.archive-loop .wp-block-post-title {
  padding: 0 0 15px 0;
  font-size: clamp(1.4rem, 1.8vw, 22px);
}

.archive-loop .post-title a,
.archive-loop .wp-block-post-title a,
.archive-loop .author a {
  color: var(--ld-color-primary-heading);
}

.archive-loop .post-title a:hover,
.archive-loop .wp-block-post-title a:hover {
  color: var(--ld-link-color);
}

.archive-loop .post_excerpt,
.archive-loop .wp-block-post-excerpt {
  font-size: 16px;
  padding-bottom: 15px;
}

.more_link {
  padding: 5px 0 6px 0;
}

.search_form {
  padding: 30px 0 70px 0;
  text-align: center;
}

.search_form h4 {
  padding: 10px 0 20px 0;
  font-size: var(--ld-sub-heading-fontsize);
  font-weight: 500;
  opacity: .85;
}

form.search-form {
  display: flex;
  justify-content: center;
  gap: 0;
}

form.search-form input[type="search"] {
  width: 100%;
  border-radius: 30px;
  border: 0;
  font-size: 20px;
  padding: 15px 50px 15px 20px !important;
  box-shadow: rgba(0, 0, 0, .15) 0 0 2px 0;
}

form.search-form [type="submit"] {
  position: relative;
  z-index: 1;
  width: 40px;
  background: url(images/search.svg) center center no-repeat;
  background-size: 60%;
  border: 0;
  overflow: hidden;
  margin-left: -55px;
  cursor: pointer;
  text-indent: -9999px;
  opacity: .8;
}

form.search-form>label,
form.search-form .wp-block-search__inside-wrapper {
  width: 90%;
  max-width: 500px;
}

#blog_content {
  column-gap: calc(2vw + 20px);
}

#blog_content .blog_text .wp-block-heading {
  padding: 10px 0 20px 0;
  margin: 0;
}

#blog_content .blog_text .the_title {
  margin-top: 0px;
  padding-top: 0;
}

#blog_content .blog_text .heading-l {
  color: var(--ld-color-primary-heading);
}

#blog_content .blog_text h4 {
  font-size: clamp(2.2rem, 2.8vw, 24px);
}

#blog_content .blog_text h3 {
  font-size: clamp(2.2rem, 3.2vw, 30px);
}

#blog_content .blog_text p a {
  color: currentColor;
  font-weight: 600;
  border-bottom: currentColor 2px solid;
}

#blog_content .blog_text p a:hover {
  border-bottom: currentColor 2px dotted;
}

#blog_content .blog_text .wp-block-image {
  margin-bottom: 20px;
}

#blog_content .blog_text img {
  border-radius: 0;
  box-shadow: rgb(0 0 0 / .15) 0 3px 12px 0;
}

.wp-block-list {
  margin: 0 0 20px 20px;
}

ol.wp-block-list{
	padding: 0 0 0 30px !important;
	margin: 5px 0 20px 5px !important;
}

.post-author .author-bio {
  display: flex;
  gap: 30px;
  align-items: start;
  padding: 30px;
  margin-top: 30px;
  border-top: var(--ld-lightgray) 1px solid;
}

img.avatar {
  border-radius: 60px;
}

.post-author .author-bio .author-title {
  font-size: 18px;
  font-weight: normal;
  padding: 0 0 15px 0;
}

.post-author .author-bio .author-title strong {
  font-size: 20px;
  display: block;
}

.post-author .author-bio .author-description {
  display: block;
  color: var(--ld-color-secondary-text);
}

/* Comments ------- START */
#comments_block {
  padding: 0;
  margin: 15px 0 0 0;
  border-radius: 5px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

#comments_block .comments-block {
  /* background: #fff; */
  padding: 30px;
}


#comments_block #respond {
  padding: 2px;
  /* background: var(--ld-lightgray);
  border-radius: 5px; */
}

#comments_block #respond .comment-reply-title {
  padding: 6px 20px;
  background: var(--ld-link-color);
  border-radius: 5px;
  display: inline-block;
  color: var(--ld-white);
  cursor: pointer;
  font-weight: 500;
}

#comments_block #respond p {
  margin-top: 15px;
}

@media (min-width: 781px) {
  #comments_block #respond p.must-log-in {
    float: right;
    margin-top: 10px;
  }
}

#comments_block #respond .comment-form-comment {
  display: flex;
  flex-direction: column;
}

#comments_block #respond textarea {
  border-radius: 5px;
  margin-top: 10px;
  border: var(--ld-gray) 1px solid;
  resize: vertical;
}

#comments_block .navigation {
  padding: 20px;
  text-align: center;
}

#comments_block .commentlist {
  display: block;
  padding: 0;
  list-style-type: none;
  margin: 0;
}

#comments_block .commentlist li {
  padding: 20px;
}

#comments_block .commentlist li .comment-author img.avatar {
  margin-right: 15px;
}

#comments_block .comment-meta {
  font-size: .8em;
  padding: 15px 0;
}

#comments_block .comment-reply-link {
  display: inline-block;
  margin: 5px 0;
  padding: 5px 15px;
  background: var(--ld-color-secondary-text);
  color: #fff;
  border-radius: 5px;
  font-size: .8em;
  opacity: .8;
}

#comments_block .comment-reply-link:hover {
  background: var(--ld-link-hover-color);
}

form#commentform {
  display: none;
}

form#commentform input[type="submit"] {
  padding: 15px 27px;
  background: var(--ld-color-button);
  border-radius: 5px;
  display: inline-block;
  color: var(--ld-white);
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  border: 0;
}

.social-share-links {
  display: flex;
  gap: 40px;
  border-top: var(--ld-lightgray) 1px solid;
  border-bottom: var(--ld-lightgray) 1px solid;
  padding-top: 15px;
  align-items: center;
}

.social-share-links p a {
  border: 0 !important;
}

.social-share-links i {
  display: none;
}

.social-share-links .dashicons {
  margin: 3px;
  border-radius: 50px;
  color: var(--ld-gray);
  border: rgba(0, 0, 0, 0.2) 1px solid;
  padding: 5px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  line-height: 24px;
  text-align: center;
}

.ld_social_share_links .social-share-links {
  flex-direction: column;
  gap: 0;
  align-items: start;
}



/* Blog ------ END */


/* Table of Contents */
.ld_toclist .title {
  display: none;
}

.ld_toclist ol {
  padding: 0 15% 15px 15px;
}

.ld_toclist ol li {
  font-size: 15px;
  line-height: 1.4;
  padding: 0 0 15px 5px;
}

.ld_toclist ol a {
  color: var(--ld-color-secondary-text);
}

.ld_toclist ol a:hover {
  color: var(--ld-link-hover-color);
}

/* pagination ------ START */
.ld_pagination {
  width: 100%;
  clear: both;
  padding: 30px;
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.pagination .nav-links a,
.pagination .nav-links span.page-numbers {
  padding: 5px 14px;
  border-radius: 5px;
  background: var(--ld-lightgray);
  /* color: var(--ld-color-primary); */
  font-weight: 500;
}

.pagination .nav-links a:hover {
  background: var(--ld-gray);
}

.pagination .nav-links span.current {
  background: var(--ld-color-button);
  color: var(--ld-white);
}

.pagination .nav-links .dashicons {
  margin-bottom: 2px;
}

#post_navigation_block {
  margin-top: 1px;
  background: #fff;
}

.post-navigation .nav-links {
  display: flex;
  padding: 20px 0;
  justify-content: space-between;
  font-size: 14px;
  /* background-color: var(--ld-lightgray); */
  gap: 20px;
}

.post-navigation .nav-links .t {
  display: block;
  font-size: 1.3em;
  line-height: 2;
}

.post-navigation .nav-links a {
  color: currentColor;
}

.post-navigation .nav-links a:hover {
  color: var(--ld-link-hover-color);
}

.post-navigation .nav-links a .dashicons {
  vertical-align: sub;
}

.post-navigation .nav-links .nav-next {
  text-align: right;
  margin-left: auto;
}

/* pagination ------ END */



/* Terms & Conditions */
.terms_page li {
  padding-bottom: 15px;
  padding-left: 8px;
  margin-left: 20px;
}

.terms_page li>strong {
  margin-bottom: 10px;
  display: inline-block;
}

.terms_page br {
  content: "";
  margin: 2em;
  display: block;
  font-size: 24%;
}


/* Footer ---------- START */
#footer {
  width: 100%;
  position: relative;
  z-index: 1;
}

#footer a:hover {
  color: var(--ld-link-hover-color);
}

#footer_bottom {
  width: 100%;
  padding: 40px 0 30px 0;
  background: var(--ld-darkgray);
  text-align: center;
  font-size: 17px;
}

#footer_bottom .copyright {
  font-size: 1.1em;
}

/* --------------------- */

#footer_bar {
  width: 100%;
  padding: 20px 0;
  background: var(--ld-gray);
  color: #fff;
  font-size: 17px;
}

#footer_bar>.container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

#footer_bar .footer_menu ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: block;
}
 
#footer_bar .footer_menu ul li {
  padding: 4px 15px 4px 0;
  margin: 0;
  display: inline-block;
}

#footer_bar .footer_menu a {
  color: #fff;
}

#menu-footer-menu > li{
  padding-right: 30px !important;
}
#menu-footer-menu > li > a{ font-weight: bold; pointer-events: none;  }
#menu-footer-menu > li > a .fa{ font-weight: normal; padding-right: 5px; }


#footer_bar .footer_copyright a {
  color: var(--ld-color-button);
}


/*back-top ======== */
#back-top {
  position: fixed;
  bottom: 60px;
  z-index: 99;
  right: 1%;
  display: none;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 0;
  text-align: center;
}

#back-top a {
  display: block;
  background: #383838;
  text-transform: uppercase;
  color: #fff;
  line-height: 40px;
  font-size: 20px;
  transition: all 1s ease;
  padding: 0 0 0 1px;
  width: 40px;
  height: 40px;
}

#back-top a:hover {
  color: #fff;
  background: #6B6B6B;
}

/* Footer ---------- END */
.cky-consent-bar .cky-notice .cky-title {
  margin: 0 0 -10px 0;
  padding: 0;
  font-size: 20px;
}

.cky-consent-bar .cky-notice-des P:last-child {
  margin: 0;
  padding: 0;
}

/* Woocommerce ---------- START */
.woocommerce button.button,
.woocommerce a.button.alt {
  color: #000 !important;
  background-color: var(--ld-color-button) !important;
  line-height: 1 !important;
  padding: 15px 20px !important;
}

.woocommerce button.button:hover {
  background-color: var(--ld-color-button-hover) !important;
}

.woocommerce #content table.cart td.actions .input-text,
.woocommerce table.cart td.actions .input-text,
.woocommerce-page #content table.cart td.actions .input-text,
.woocommerce-page table.cart td.actions .input-text {
  width: auto;
  max-width: 100%;
}

.woocommerce table.cart td.actions .coupon {
  display: flex;
}

.woocommerce table.cart td.actions .coupon .input-text {
  flex: 1;
}

/* MINI CART */
.wc-block-mini-cart__drawer {
  font-size: inherit !important;
}

.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description {
  display: none;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  padding: 8px 0 !important;
  font-family: Arial, Helvetica, sans-serif;
}

h2.wc-block-mini-cart__title {
  font-size: var(--ld-sub-heading-fontsize) !important;
}

.wc-block-cart-item__image a {
  display: block;
  box-shadow: rgba(0, 0, 0, 0.4) 0 0 1px;
}

.wc-block-components-product-name {
  font-weight: 600;
}

.header_cart .wc-block-mini-cart__button {
  padding: 12px 15px;
  background: var(--ld-lightgray);
}

.header_cart .wc-block-mini-cart__button .wc-block-mini-cart__badge {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .header_cart .wc-block-mini-cart__button {
    background: none;
  }
}

/* MINI CART --- END*/


.archive_product {
  padding-bottom: 30px;
}

.archive_product .product_categories {
  padding-bottom: 30px;
}

.archive_product .product_categories ul {
  padding: 0;
  margin: 0;
  list-style: none;
  columns: 4 200px;
  column-gap: 10px;
  display: block;
}

.archive_product .product_categories ul li {
  margin: 0 0 10px 0;
  width: 100%;
  break-inside: avoid;
  /* stops block being split across columns. Could use break-inside: avoid for modern browsers; */
}

.archive_product .product_categories ul a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px;
  background: var(--ld-lightgray);
}

.archive_product .product_categories ul a:hover {
  background: #fff;
  box-shadow: var(--ld-darkgray) 0 0 0 1px;
}

.archive_product .product_categories ul a span {
  margin: 0;
  display: block;
}

.archive_product .product_categories ul a span img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  background: #fff;
}

@media (max-width: 600px) {
  .archive_product .product_categories ul {
    display: flex;
    flex-wrap: wrap;
  }

  .archive_product .product_categories ul li {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    min-width: 150px;
  }

  .archive_product .product_categories ul a {
    flex: 1;
    gap: 5px;
  }

  .archive_product .product_categories ul a span img {
    display: none;
  }
}

/* Product loop listing */
.woocommerce .woocommerce-result-count {
  margin: 0;
  padding: 10px 0;
  font-size: .9em;
}

.woocommerce ul.products::before {
  display: none;
}

.woocommerce ul.products li.product .price {
  font-size: 20px;
  font-family: "Libre Baskerville", serif;
  color: var(--ld-link-hover-color);
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  margin: 0;
  text-decoration: none;
  padding: 0;
  line-height: 1;
  font-size: 18px;
  font-weight: 400;
  padding: 10px 15px 14px 15px;
  min-width: 1em;
  display: block;
}


ul.products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style-type: none;
  --th-aspect-ratio: 3/4;
}

ul.products li.product .product-img {
  display: block;
  aspect-ratio: var(--th-aspect-ratio);
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}

ul.products li.product .product-img img {
  padding: 10px;
  aspect-ratio: var(--th-aspect-ratio);
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform .3s, opacity .3s, visibility .2s;
}

ul.products li.product .product-img img.hover-image {
  opacity: 0;
  visibility: hidden;
  background: #fff;
}

ul.products li.product .product-img::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--th-aspect-ratio);
  background-color: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  z-index: 1;
  opacity: .2;
  transition: opacity .2s;
}

ul.products li.product a:hover .product-img::before {
  opacity: 0;
}

ul.products li.product a:hover img {
  transform: scale(1.05);
}

ul.products li.product a:hover img.hover-image {
  opacity: 1;
  visibility: visible;
}

ul.products li.product .custom_read_more.button {
  display: block;
  width: 100%;
  margin: 0;
  font-size: .9em;
  position: absolute;
  bottom: 0;
  transform-origin: bottom;
  transform: translateY(10%) perspective(200px) rotateX(50deg);
  opacity: 0;
  transition: transform .3s, opacity .5s;
  transition-delay: .2s;
}

ul.products li.product a:hover .custom_read_more.button {
  opacity: .8;
  transform: rotateX(0deg);
}

ul.products li.product .add_to_cart_button,
.woocommerce div.product form.cart .button {
  color: #000;
  background: var(--ld-color-button);
  font-size: .9em;
  /* padding: 8px 15px; 
  line-height: 1.5 !important;*/
  margin-top: 0 !important;
}

ul.products li.product .add_to_cart_button:hover {
  background: var(--ld-color-button-hover);
}

ul.products li.product .added_to_cart {
  margin: 10px !important;
}

@media (min-width: 1025px) {
  ul.products li.product .add_to_cart_button:not(.added) {
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: transform .3s, opacity .3s, visibility .2s;
  }

  ul.products li.product:hover .add_to_cart_button:not(.added) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

ul.products li.product {
  text-align: center;
  /*  box-shadow: rgba(0, 0, 0, 0.1) 0 0 5px 0;
  background-color: var(--ld-lightgray); */
}

/* 4 columns */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 0 !important;
  width: calc((100% - 60px) / 4);
}

@media (max-width: 768px) {

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: calc((100% - 20px) / 2) !important;
  }
}

@media (max-width: 411px) {

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100% !important;
  }
}

/* Product details page */
.woocommerce .woocommerce-breadcrumb {
  display: block;
  background: var(--ld-lightgray);
  padding: 15px 20px;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--ld-link-color) !important;
  font-weight: 500;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--ld-link-hover-color);
}

@media (min-width: 1400px) {
  .woocommerce .woocommerce-breadcrumb {
    padding-left: calc((100% - 1400px) / 2);
  }
}

.woocommerce-product-gallery .flex-viewport {
  box-shadow: rgba(0, 0, 0, 0.1) 0 0 3px 0;
}

.woocommerce-product-gallery__image img {
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  width: 100%;
}

.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0 !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  width: calc((100% - 40px) / 5) !important;
  clear: none !important;
  padding: 5px;
  aspect-ratio: 1;
  display: flex;
  border: rgba(0, 0, 0, 0.2) 1px solid;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
  aspect-ratio: 1;
  object-fit: contain;
  height: 100% !important;
  width: 100% !important;
  transition: opacity .3s;
}

.single_product_header {
  min-height: 250px;
  padding: 50px 1em;
}

.single_product {
  padding: 20px 0;
  clear: both;
}

.single_product .product_meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.single_product .product_custom_info {
  padding-top: 20px;
}

.single_product .product_custom_info .learn-more a {
  display: inline-flex;
  line-height: 1.2;
  gap: 10px;
}

.single_product .product_summary_cta {
  padding: 15px 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  align-items: center;
}

.single_product .product_summary_cta .button {
  background: var(--ld-color-primary);
  display: block;
  border: var(--ld-color-button) 1px solid;
  padding: 4px 15px;
}

@media (max-width: 900px) {
  .single_product .product_summary_cta {
    display: block;
    text-align: center;
  }

  .single_product .product_summary_cta li {
    padding: 5px 0;
  }
}

.single_product h2,
.single_product h3,
.single_product h4,
.woocommerce h2,
.woocommerce h3 {
  font-weight: normal;
  padding-bottom: 20px;
  margin: 0;
  color: var(--ld-color-primary-heading);
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
  color: var(--ld-color-secondary);
  font-size: clamp(2.4rem, 4vw, 30px);
  font-weight: 400;
  font-family: "Libre Baskerville", serif;
}

.woocommerce div.product .product_title {
  font-size: var(--ld-secondary-heading-fontsize) !important;
  line-height: 1.3;
  font-weight: 400;
  color: var(--ld-color-secondary-heading);
  padding: 0;
  margin: 0 0 10px 0;
  display: block;
}

.woocommerce div.product form.cart {
  display: flex;
  padding-top: 15px;
}

.woocommerce .quantity .qty {
  text-align: center;
  min-width: 80px;
  padding: 14px 8px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background-color: var(--ld-lightgray);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
}

.woocommerce-tabs table td {
  border: 0;
  padding-right: 15px;
  padding-left: 15px;
}

.woocommerce-tabs table th {
  border: 0;
  border-bottom: var(--ld-color-secondary) 2px solid;
}

.woocommerce-tabs tr:nth-child(even) {
  background-color: var(--ld-lightgray);
}

.woocommerce-tabs ul,
.woocommerce-tabs ol {
  margin: 0 0 20px 20px;
}

@media (max-width: 768px) {
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0;
    padding: 0 0 20px 0;
    border: 0;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border: 0;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    display: block !important;
    margin: 2px 0 !important;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
  .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
  }
}




/* Product details page ----- END*/
/* CART details page ----- START*/
.woocommerce-cart table.cart img {
  width: 80px;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 1px;
}

@media (max-width: 768px) {
  .woocommerce table.cart tr:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
  }

  .woocommerce table.cart td {
    border: 0;
  }

  .woocommerce table.cart .product-thumbnail {
    display: block !important;

  }

  .woocommerce table.cart .product-remove {
    position: absolute;
  }

  .woocommerce table.cart .product-thumbnail::before {
    display: none;
  }
}

/* CART details page ----- END*/
/* CHECKOUT details page ----- START*/
.woocommerce-checkout .woocommerce-checkout #customer_details {
  padding-bottom: 30px;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background: var(--ld-lightgray);
  padding: 20px;
}

.woocommerce-checkout .payment_method_dojo {
  background: url(images/payment-card-logos.png) 0 0 no-repeat;
  background-size: 300px;
  padding-top: 50px;
}

#payment ul.payment_methods li {
  line-height: 1.2 !important;
  padding-bottom: 10px;
}

.woocommerce-terms-and-conditions {
  min-height: 500px;
}

.woocommerce-terms-and-conditions .wp-block-spacer {
  display: none;
}

.woocommerce-terms-and-conditions .wp-block-file__embed {
  display: block;
}

/* CHECKOUT details page ----- END*/
.woocommerce-account .addresses .title .edit {
  float: none;
}

/* Woocommerce ---------- END */


/* Footer sticky CTA ---------- START */
#sticky_CTA {
  display: flex;
  position: fixed;
  bottom: 0;
  z-index: 2;
  width: 100%;
}

#sticky_CTA .img {
  display: flex;
  width: 52px;
  flex-shrink: 0;
  background-color: #fff;
}

#sticky_CTA .img img {
  object-fit: cover;
}

#sticky_CTA .btn,
#sticky_CTA .btn a {
  display: flex;
  justify-content: center;
  flex: 1;
  text-align: center;
}

#sticky_CTA .btn a {
  align-items: center;
  padding: 15px 20px;
  line-height: 1 !important;
}

#sticky_CTA .btn.btn_1 {
  order: -1;
}

#sticky_CTA .btn.btn_2 a {
  background-color: var(--ld-blue) !important;
  color: white !important;
}

#sticky_CTA .close_popup {
  display: none;
}

@media (min-width: 880px) {
  #footer_bar {
    padding: 25px 0;
  }

  #sticky_CTA {
    width: 300px;
    bottom: 20px;
    display: block;
    padding-left: 70px;
    transition: transform .3s;
    box-shadow: rgba(0, 0, 0, .15) 0 0 10px;
  }

  #sticky_CTA .close_popup {
    position: absolute;
    right: -15px;
    top: 0;
    cursor: pointer;
    background: var(--ld-color-primary);
    font-size: 16px;
    overflow: hidden;
    line-height: 1;
    color: #000;
    width: 15px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #sticky_CTA.inactive {
    transform: translateX(-100%);
  }

  #sticky_CTA .img {
    position: absolute;
    width: 70px;
    height: 100%;
    left: 0;
  }

  #sticky_CTA .img img {
    width: 100%;
    height: 100%;
  }

  #sticky_CTA .btn.btn_1 {
    order: inherit;
  }

  #sticky_CTA .btn a {
    font-size: 15px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  #sticky_CTA .img {
    display: none;
  }
}

@media (max-width: 360px) {
  #sticky_CTA .btn a {
    font-size: .9em;
  }
}

/* Footer sticky CTA ---------- END */