/**
* Template Name: Hesar Book Theme
* Version: 1.0
* Author: Mreza Khoshakhlagh
*/

:root { 
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #37517e;
  --accent-color: #47b2e4;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --green: #048692;
}

:root {
  --nav-color: #ffffff;
  --nav-hover-color: #47b2e4;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #444444;
  --nav-dropdown-hover-color: #47b2e4;
}


.light-background {
  --background-color: #f5f6f8;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #37517e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4668a2;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
@font-face {
  font-family: 'Vazirmatn';
  src: url('../font/Vazirmatn-FD-Bold.ttf') format('truetype'),
  url('../font/Vazirmatn-FD-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../font/Vazirmatn-FD-Medium.ttf') format('truetype'),
  url('../font/Vazirmatn-FD-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../font/Vazirmatn-FD-Regular.ttf') format('truetype'),
  url('../font/Vazirmatn-FD-Regular.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

html {
  overflow-x: hidden;
}

body {
  background-color: var(--background-color);
  font-family: 'Vazirmatn';
  font-weight: normal;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--green), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
}

.font-bold {
  font-weight: bold;
}

.font-medium {
  font-weight: medium;
}

.font-normal {
  font-weight: normal;
}

del {
  text-decoration: line-through !important;
  color: red !important;
  font-size: 14px !important;
}

.wrapper {
  direction: rtl;
  text-align: right;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background-color: #fff;
  color: #555;
  padding: 8px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.23);
}

.header-pattern {
  width: 100%;
  height: 20px;
  background: url(../img/pattern.jpg) top/170px repeat-x;
  z-index: 1000;
}

.header-icons {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.header-icons a {
  background: #f5f5f5;
  display: flex;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  transition: all ease-in-out 0.3s;
  position: relative;
}

.header-icons a i {
  font-size: 23px;
  color: #999;
  margin: 0 5px;
}

.header-icons a:hover {
  background-color: var(--green);
}

.header-icons a:hover i {
  color: #fff;
}

.header-search-nav {
  display: flex;
}

.header-search-mobile {
  display: none;
}

.header-search {
  background-color: #f5f5f5;
  border-radius: 5px;
  padding: 3px 10px;
  align-items: center;
  margin: 0 10px;
  flex: 1 1 auto;
}

.header-search input {
  border:0;
  background-color: transparent;
  flex: 1 1 auto;
}

.header-search input::placeholder {
  font-size: 14px;
  color: #999;
  font-weight: 100;
}

.header-search input:focus {
  border:0;
  outline: none;
}

.header-search button {
  border: 0;
  background-color: transparent;
  color: #999;
  font-size: 20px;
}

.header-search button i {
margin-top: 2px;
  display: flex;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 991px) {
  .mobile-nav-toggle {
    display: none;
  }
  .navmenu {
    padding: 0;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #666;
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 18px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: #000;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

  .navmenu .megamenu {
    position: static;
  }

  .navmenu .megamenu ul {
    margin: 0;
    padding: 10px;
    background: var(--nav-dropdown-background-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 130%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    display: flex;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
  }

  .navmenu .megamenu ul li {
    flex: 1;
  }

  .navmenu .megamenu ul li a,
  .navmenu .megamenu ul li:hover>a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
  }

  .navmenu .megamenu ul li a:hover,
  .navmenu .megamenu ul li .active,
  .navmenu .megamenu ul li .active:hover {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .megamenu:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dd-box-shadow {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    color: #333;
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
    display: flex;
    align-items: center;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .header-search-nav {
    display: none;
  }

  .header-search-mobile {
    display: flex;
    margin: 17px auto 0 auto;
  }

  .mobile-nav-active .header#header {
    height: 50px;
  }

  .mobile-nav-active .header-icons {
    position: fixed;
    top: 5px;
    left: 10px;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Main
--------------------------------------------------------------*/
.main {
  padding: 0;
  margin: 20px 0;
}

:root :where(.wp-block-separator.is-style-dots)::before {
padding: 0 40px 0 0 !important;
}

/*--------------------------------------------------------------
# Contact Form
--------------------------------------------------------------*/
.wpcf7-form label {
  width: 100%;
}

.wpcf7-form-control {
  border:solid 1px #ccc;
  border-radius: 4px;
  padding: 4px;
  width: 100%;
}

.wpcf7-submit {
width: 100px;
  height: 40px;
  background-color: var(--green) !important;
  color: #fff !important;
  display: block;
  margin: 0 auto 0 0;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: #fff;
  background-color: #f2f2f2;
  font-size: 14px;
  position: relative;
  font-weight: 100;
}

.footer::before {
  content: '';
  background: url(../img/footer-deco.png) center/contain no-repeat;
  width: 100%;
  height: 40px;
  max-width: 300px;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.footer-widget h5 {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: -0.03rem;
}

.footer-widget .cat-item {
  list-style: none;
  margin: 5px 0;
}

.footer-widget .cat-item a,
.footer-widget ul li a {
  color: #555;
  transition: all ease-in-out 0.3s;
}

.footer-widget .cat-item a:hover,
.footer-widget ul li a:hover {
  color: var(--green);
}

.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer-widget-enamad img {
    width: 125px;
  height: 136px;
  margin: 20px 0;
  display: block;
}

.footer .social-links {
  flex-wrap: wrap;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  font-size: 25px;
  color: var(--green);
  background-color: #fff;
  margin: 0 5px;
  transition: 0.3s;
  flex: 0 0 60px;
}

.footer .bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
  vertical-align: -6px !important;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .copyright {
padding-top: 25px;
  padding-bottom: 25px;
  color: #777;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-wrapper {
  background: #fff;
  box-shadow: 0 0 20px -5px #d3d3d3;
  padding: 30px;
  border-radius: 15px;
}

.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  padding: 40px 0;
  scroll-margin-top: 88px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.section-title h2 {
  font-size: 20px;
  font-weight: bold;
}

.section-title a {
  color: #999;
  font-size: 13px;
  display: flex;
  align-items: center;
  transition: all ease-in-out .3s;
}

.section-title a:hover {
  color: var(--green);
}

.section-title a i {
line-height: 0.5;
}

.section-title p {
  margin-bottom: 0;
}

.section-title-page {
  background: #fff;
  padding: 10px;
  border-radius: 5px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  position: relative;
  padding: 30px 0;
}

.hero-img-bg a img{
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-img-sm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-img-sm a img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
}


/*--------------------------------------------------------------
# Recent Tutorials Section
--------------------------------------------------------------*/
.recent-blog-postst .post-item {
  background: #fff;
  border-radius: 10px;
  /* box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1); */
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  height: 450px;
  width: 220px;
  padding: 10px;
}

.recent-blog-postst .post-item .post-content {
  padding: 10px;
  height: 100%;
}

.recent-blog-postst .post-item .post-title {
  color: #333;
  font-size: 15px;
  font-weight: 100;
  transition: 0.3s;
  text-align: right;
  height: 45px;
  max-height: 45px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.recent-blog-postst .post-item .post-img a img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.recent-blog-postst .post-item hr {
  color: color-mix(in srgb, var(--default-color), transparent 80%);
  margin: 10px 0;
}

.recent-blog-postst .post-item .price {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
}

.recent-blog-postst .post-item .price span {
  font-size: 18px;
  font-weight: 100;
  color: green;
  white-space: nowrap;
}

.recent-blog-postst .post-item .price del span bdi,
.recent-blog-postst .post-item .price del span bdi span {
  font-size: 14px !important;
  font-weight: 100 !important;
  color: red !important;
  text-decoration: line-through !important;
  white-space: nowrap !important;
}

.recent-blog-postst .post-title:hover,
.recent-blog-postst .meta:hover a {
  color: var(--green);
}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-2 ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-2 li {
  margin: 0 5px;
  transition: 0.3s;
}

.pagination-2 li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-2 li a.active,
.pagination-2 li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pagination-2 li a.active a,
.pagination-2 li a:hover a {
  color: var(--contrast-color);
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.content-column {
  width: 100%;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.content-column .post-item {
  max-width: 100%;
  width: 100%;
  height: 100%;
}

.content-column .post-item .post-img {
  margin: 0 auto;
}

.content-single {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  font-size: 16px;
  font-weight: 100;
  color:#333;
  line-height: 2.3;
  margin: 15px 0;
}

/*--------------------------------------------------------------
# WooCommerce
--------------------------------------------------------------*/
.woocommerce .col2-set, 
.woocommerce-page .col2-set {
  width: 100%;
  display: flex;
}

.woocommerce .col2-set .col-2, 
.woocommerce-page .col2-set .col-2 {
  float: left;
  width: 50%;
  max-width: 50%;
  flex: 0 0 50%;
}

.woocommerce .col2-set .col-1, 
.woocommerce-page .col2-set .col-1 {
  float: right;
  width: 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.woocommerce-privacy-policy-text {
  display: none;
}

.content-single .woocommerce {
  width: 100%;
}

nav.woocommerce-MyAccount-navigation {
  border: solid 1px #f5f5f5;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 10px;
  width: 200px;
  max-width: 200px;
  flex: 0 0 200px;
}

nav.woocommerce-MyAccount-navigation ul li a {
  color: #555;
}

nav.woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--green);
}

.woocommerce-error, 
.woocommerce-info, 
.woocommerce-message {
  border-radius: 10px;
}

.woocommerce-MyAccount-content {
  width: 100%;
}

.woocommerce-Address-title.title h2 {
font-size: 24px;
  color: #333;
  font-weight: bold;
}

.woocommerce-Address-title.title a {
background: #4da2cc;
  padding: 3px 10px;
  border-radius: 5px;
  color: #fff;
}

.woocommerce-Addresses.addresses .woocommerce-Address {
border: dashed 1px #333;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#account_display_name_description {
  font-style: normal;
  font-size: 13px;
}

.woocommerce-MyAccount-content .woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide {
  display: flex;
  flex-direction: column;
}

.woocommerce-EditAccountForm .woocommerce-Button.button {
  color: #fff;
  background-color: #2bb7b0;
  margin: 15px auto 0 0 !important;
  display: block;
  border: 0;
  padding: 5px 10px;
}

.woocommerce-EditAccountForm fieldset {
  margin-top: 30px;
}

.woocommerce-EditAccountForm legend {
font-size: 21px;
  font-weight: bold;
  padding: 0;
  margin: 10px 0;
}

.show-password-input {
  border: 0;
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-form-row {
  display: flex;
  flex-direction: column;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-Button.woocommerce-form-register__submit {
  margin-left: 0 !important;
  display: block;
  width: 100%;
  background: #4168c4 !important;
  color: #fff !important;
}

.woocommerce-notices-wrapper {
  display: block;
  width: 100%;
}

.product_title.entry-title {
  font-weight: bold;
  font-size: 26px;
  letter-spacing: -0.05rem;
}

.price > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

ins .woocommerce-Price-amount.amount bdi {
color: #4b9070;
  margin: 0 5px;
}

del .woocommerce-Price-amount.amount bdi {
  border:0;
  color:red;
  display: flex;
  gap: 3px;
  margin-left: 5px;
  font-size: 15px !important;
}

.summary .price {
  display: flex;
  align-items: center;
  margin: 0;
}

.product .single_add_to_cart_button {
  background: var(--green);
  border: 0;
  padding: 7px 10px;
  border-radius: 5px;
  transition: all ease-in-out 0.3s;
}

.product .single_add_to_cart_button:hover {
  background: var(--green);
  opacity: 0.8;
}

.single-product div.product form.cart {
  margin-bottom: 0 !important;
  padding: 1em 0;
  display: flex;
  align-items: center;
}

.product .quantity input {
  border: solid 1px #dbdbdb;
  border-radius: 5px;
  padding: 6px 0;
}

.product .edit-link,
.storefront-sticky-add-to-cart {
  display: none !important;
}

.product .info-table {
  color: #555;
}

.product table td, 
.product table th {
  padding: 10px;
  text-align: right;
  vertical-align: top;
}

.price ins {
  font-weight: 400;
  text-decoration: none;
}

.single-product div.product .product_meta a {
  text-decoration: none !important;
  margin: 5px !important;
  transition: all ease-in-out 0.3s;
}

.single-product div.product .product_meta a:hover {
  color: var(--green);
}

.single-product div.product .product_meta {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.storefront-full-width-content .content-area {
  background: transparent;
  padding: 20px 0;
  border-radius: 15px;
}

.storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
  margin-bottom: 30px !important;
}

.storefront-full-width-content.single-product div.product .summary {
  margin-bottom: 30px !important;
}

.storefront-full-width-content .woocommerce-tabs .panel {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 15px;
}

.product .onsale {
  color: orange;
  border: solid 2px orange;
  border-radius: 5px;
}

.product .comment-form-comment textarea {
  width: 100%;
  border: solid 1px #ccc;
  border-radius: 10px;
  resize: none;
}

.product #respond {
  padding: 10px;
}

.product .comment-form .form-submit input {
  background: var(--green);
  padding: 5px 20px;
  color: #fff;
  border: 0;
  border-radius: 5px;
  float: left;
}

#reviews .comment-form-author, 
#reviews .comment-form-email {
  width: 100% !important;
}

#reviews .comment-form-author input, 
#reviews .comment-form-email input {
  border: solid 1px #ccc;
  border-radius: 4px;
  padding: 5px;
}

#reviews .commentlist {
  padding: 0;
}

#reviews .commentlist li {
  border-bottom: 0;
  margin-bottom: 0;
  border: solid 1px #ccc;
  padding: 10px;
  border-radius: 15px;
}

#reviews .commentlist li:last-child {
  border-bottom: solid 1px #ccc !important;
  margin-bottom: 20px !important;
}

.storefront-breadcrumb {
  margin: 10px 0 !important;
}

.single-product div.product .woocommerce-product-gallery img {
  margin: 0;
  width: 230px;
  height: 300px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
  opacity: .5;
  transition: all,ease,.2s;
  width: 70px;
  height: 60px;
  border-radius: 3px;
  object-fit: cover;
}

.product table:not(.has-background) tbody td {
  background-color: transparent;
}

.product table:not(.has-background) tbody tr:nth-child(2n) td, fieldset, fieldset legend {
  background-color: transparent;
}

.product #respond {
  background-color: transparent;
}

.woocommerce-tabs {
  padding: 0px !important;
}

.product .related.products {
  padding: 0 !important;
}

.product .related.products h2 {
  font-weight: bold;
}

.woocommerce-LoopProduct-link .price span {
  display: flex;
  justify-content: center;
}

.woocommerce-LoopProduct-link .price span bdi {
  display: flex;
  font-size: 18px;
}

.product.type-product .add_to_cart_button {
  background: var(--green);
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
}

ul.products {
  padding: 0;
  margin: 0;
}

ul.products .onsale {
display: none;
}

ul.products span.price {
display: flex !important;
  align-items: center;
  justify-content: center;
}

.storefront-align-wide.page-template-template-fullwidth-php .hentry .entry-content .alignwide, .storefront-align-wide.storefront-full-width-content .hentry .entry-content .alignwide {
  margin-right: 0;
  margin-left: 0;
}

.entry-header {
  display: none;
}

.is-large.wc-block-cart .wc-block-cart-items td {
  text-align: right !important;
}

.wc-block-cart-item__remove-link {
  color: red !important;
}

.wc-block-cart__totals-title {
  background: #f2f2f2 !important;
  padding: 10px !important;
}

.edit-link {
  display: none;
}

.cart-badge {
  background: red;
  border-radius: 100%;
  color: #fff;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute; 
  bottom: -5px;
  right: 2px;
  font-size: 10px;
}

.wc-block-components-button.wc-block-cart__submit-button {
  background: var(--green);
  text-decoration: none !important;
  border-radius: 5px;
  transition: all ease-in-out 0.3s;
}

.wc-block-components-button.wc-block-cart__submit-button:hover {
  background: var(--green);
  opacity: 0.9;
}

.woocommerce-products-header {
  display: none;
}

ul.products li.product img, 
ul.products .wc-block-grid__product img, 
.wc-block-grid__products li.product img, 
.wc-block-grid__products .wc-block-grid__product img {
  display: block;
  margin: 0 auto 1.618em;
  width: 200px;
  height: 300px;
  object-fit: cover;
}

ul.products li.product .woocommerce-loop-product__title, ul.products li.product .woocommerce-loop-category__title, ul.products li.product .wc-block-grid__product-title, ul.products li.product .wc-block-grid__product-title > a:not(.has-font-size), ul.products .wc-block-grid__product .woocommerce-loop-product__title, ul.products .wc-block-grid__product .woocommerce-loop-category__title, ul.products .wc-block-grid__product .wc-block-grid__product-title, ul.products .wc-block-grid__product .wc-block-grid__product-title > a:not(.has-font-size), .wc-block-grid__products li.product .woocommerce-loop-product__title, .wc-block-grid__products li.product .woocommerce-loop-category__title, .wc-block-grid__products li.product .wc-block-grid__product-title, .wc-block-grid__products li.product .wc-block-grid__product-title > a:not(.has-font-size), .wc-block-grid__products .wc-block-grid__product .woocommerce-loop-product__title, .wc-block-grid__products .wc-block-grid__product .woocommerce-loop-category__title, .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title, .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title > a:not(.has-font-size) {
  margin-bottom: 8px;
  margin-top: 8px;
  height: 45px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical
}

.added_to_cart {
  background: orange !important;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 0 5px 0 0;
}

.wc-block-components-product-badge.wc-block-components-sale-badge,
  .wc-block-components-product-metadata {
    display: none;
  }

  .wc-block-cart-item__remove-link {
    margin: 10px 0 !important;
  border: solid 1px red !important;
  padding: 5px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  }

  .woocommerce:has(.woocommerce-MyAccount-navigation) {
      display: flex;
  }

@media (min-width: 768px) {
  .left-sidebar:not(.page-template-template-fullwidth-php) .woocommerce-MyAccount-content {
    margin-right: 5.8823529412%;
    margin-left: 0;
  }
  .woocommerce-Address-title a.edit {
    display: block !important;
    width: auto !important;
    height: auto !important;
    text-indent: unset !important;
    position: relative !important;
    padding: .875em;
    margin: 10px 0;
    text-decoration: none;
  }
  .addresses header.title a::before {
    position: static !important;
    width: auto !important;
    height: auto !important;
  }
  .storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
    width: 300px !important;
    margin-left: 0 !important;
  }
    .storefront-full-width-content.single-product div.product .summary {
    width: calc(100% - 400px) !important;
  }
    .storefront-full-width-content .woocommerce-tabs ul.tabs {
    padding: 0 !important;
  }
}

@media(max-width:768px) {
  .woocommerce:has(.woocommerce-MyAccount-navigation) {
      flex-direction: column;
  }
  nav.woocommerce-MyAccount-navigation {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  .woocommerce-MyAccount-content {
  padding: 20px;
}
.hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a {
  padding: 10px 0;
  font-size: 15px;
}
}

.hentry .entry-content .woocommerce-MyAccount-navigation ul {
  border-top: 0 !important;
  padding: 5px;
}

.woocommerce-MyAccount-navigation ul li a::before {
  vertical-align: baseline;
  margin-right: 0;
  text-align: center;
  float: right;
  margin-left: 15px;
}

.form-row label {
  display: block;
  font-size: 15px;
  font-weight: 100;
  color: #555;
}

.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  border: solid 1px #ccc;
  border-radius: 3px;
  padding: 3px;
}

.woocommerce-breadcrumb .breadcrumb-separator::after {
  content: "\f053" !important;
  font-size: 10px !important;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
.container {
  max-width: 1300px;
}


@media(max-width:1110px) {
  .hero-img-bg a img {
    height: 350px;
  }
  .hero-img-sm a img {
    height: 165px;
  }
}

@media(max-width:991px) {
  #header {
    margin-top: 0;
  }
  .main {
    padding: 0 !important;
  }
  .hero-img-bg a img {
    height: 300px;
  }
  .hero-img-sm a img {
    height: 140px;
  }
  .recent-blog-postst {
    margin: 10px 0;
    padding: 0;
  }
  .content-single .woocommerce {
    flex-direction: column;
  }
  
  .woocommerce-Addresses.addresses {
    flex-direction: column  ;
  }
  .woocommerce-Addresses.addresses .woocommerce-Address {
    width: 100% !important;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 10px 0;
  }
  .banner {
    display: none;
  }
}

@media(max-width:768px) {
  .hero-img-sm {
    display: flex;
    flex-direction: row;
    margin: 15px 0;
  }
  .hero-img-sm a {
    width: 50%;
  }
  .wc-block-cart-items__row {
    display: flex !important;
    flex-direction: column;
    background: #f5f5f5;
    padding: 20px !important;
    margin: 15px 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
  }
  .wc-block-cart-item__image {
    padding: 0 !important;
  }
  .wc-block-cart-item__image a img {
    width: 170px;
    height: 230px;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px auto;
  }
  .wc-block-cart-item__prices {
    display: flex;
    justify-content: center;
  }
  .wc-block-cart-item__quantity {
    display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 !important;
  }
}

@media(max-width:530px) {
  .hero-img-sm {
    flex-direction: column;
  }
  .hero-img-sm a {
    width: 100%;
  }
  .hero-img-sm a img,
  .hero-img-bg a img {
    height: auto;
  }
}
