:root {
  --global-font: sans-serif;
}

*,
*:after,
*::before {
  box-sizing: border-box;
}

figure {
  margin: 0;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

/* Cart style */

.hks-cart-head {
  text-align: center;
}

.hks-cart-icon{
display: inline-flex;
position: relative;
}

.hks-cart-icon svg{
width: 30px;
}

.hks-cart-icon .hks-cart-count {
  position: absolute;
  height: 17px;
  width: 17px;
  right: 0px;
  top: 2px;
  background: var(--e-global-color-accent);
  line-height: 1;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-post-item__thumb{
  overflow: hidden;
}

.ss-post-item__thumb img{
  transition: .3s;
}

.ss-post-item:hover .ss-post-item__thumb img{
  transform: scale(1.1);
}

.ss-post-gellary__inner {
  display: grid;
  padding: 56px;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  background-color: #ffffff;
}

.ss-post-item {
  position: relative;
  z-index: 1;
}

.ss-post-item:before{
  content: "";
  height: 100%;
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
}

.ss-post-item__context {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 30px 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  z-index: 99;
  pointer-events: none;
}

.ss-post-gellary .ss-post-item__title {
  margin: 0;
  color: #fff;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
}

.ss-post-gellary .ss-post-item__btn {
  border: none;
  background-color: transparent;
  padding: 0;
  color: #ffffff;
}

.ss-post-gellary .ss-post-item__btn svg polygon{
  fill: #ffffff;
}

.ss-post-gellary .ss-post-item__link {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: block;
  z-index: 9;
}

.ss-post {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 56px;
}

.ss-post:nth-child(even) {
  background-color: #ffffff;
  flex-direction: row-reverse;
}

.ss-post__thumb,
.ss-post__context {
  flex: 1;
  max-width: 50%;
}

.ss-post .ss-post__context .ss-post__title {
  font-size: 32px;
  font-weight: 600;
  color: #151515;
  margin: 0 0 20px;
  line-height: 1.3;
}

.ss-post .ss-post__context .ss-post__dsc {
  color: #151515;
  font-size: 16px;
  line-height: 1.5;
  font-family: var(--global-font);
  font-weight: 400;
  margin: 0 0 15px;
}

.ss-post .ss-post__context .ss-post__link {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    background-color: #f08519;
    transition: 0.3s;
    font-size: 15px;
    line-height: inherit;
    font-weight: 500;
}

.ss-post .ss-post__context .ss-post__link:hover {
  color: #ffffff;
}

@media (max-width: 991px) {
  .ss-post-gellary__inner {
    gap: 20px;
  }

  .ss-post-gellary__inner,
  .ss-post {
    padding: 35px;
  }

  .ss-post-gellary .ss-post-item__title,
  .ss-post .ss-post__context .ss-post__title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .ss-post-gellary__inner {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .ss-post,
  .ss-post:nth-child(even) {
    flex-direction: column;
  }

  .ss-post__thumb,
  .ss-post__context {
    max-width: 100%;
  }

  .ss-post-gellary .ss-post-item__title,
  .ss-post .ss-post__context .ss-post__title {
    font-size: 18px;
  }

  .ss-post .ss-post__context .ss-post__dsc,
  .ss-post .ss-post__context .ss-post__link {
    font-size: 14px;
  }

  .ss-post-gellary__inner,
  .ss-post {
    padding: 20px;
  }

  .ss-post-gellary__inner {
    gap: 10px;
  }
}

form.checkout.woocommerce-checkout {
    background-color: #f9f9f9;
    padding: 1rem;
}

form.checkout.woocommerce-checkout
    #customer_details
    .woocommerce-billing-fields
    h3 {
    font-size: 25px;
    font-weight: 600;
    line-height: 32px;
    border: none;
    padding: 0;
}

form.checkout.woocommerce-checkout #customer_details .col-1 {
    width: 100%;
}

form.checkout.woocommerce-checkout .woocommerce-additional-fields h3 {
    display: none;
}

form #order_review form #order_review{
  padding: 0!important;
}

form #order_review {
    border: none !important;
    padding: 0!important;
}

button#place_order {
    width: 100%;
}

/* Customization */
.ast-on-card-button.ast-select-options-trigger{
  display: none;
}

.woocommerce.woocommerce-checkout form #customer_details.col2-set, .woocommerce-page.woocommerce-checkout form #customer_details.col2-set {
  width: 100%;
}

    .woocommerce.woocommerce-checkout form #order_review, .woocommerce.woocommerce-checkout form #order_review_heading, .woocommerce-page.woocommerce-checkout form #order_review, .woocommerce-page.woocommerce-checkout form #order_review_heading {
        width: 100%;
    }

    /* mini cart */
    .hks-cart-product {
    display: flex;
}

.hks-mini-cart__dropdown {
    position: absolute;
}

.hks-mini-cart .hks-cart-product__thumb {
    flex-basis: 80px;
    max-width: 80px;
}

.hks-cart-icon svg {
    width: 30px;
}

.hks-cart-head {
    position: relative;
}

.hks-cart-icon {
    position: relative;
    display: inline-flex;
}

.hks-cart-count {
    position: absolute;
    background-color: red;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    top: 0;
    font-size: 11px;
    transform: translate(50%, -50%);
}

/* shop style */
.astra-shop-summary-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.woocommerce-js ul.products li.product a img{
  border-radius: 4px;
}

.ast-woo-shop-product-description{
  padding-bottom: 20px;
}

.astra-shop-summary-wrap .add_to_cart_button.ajax_add_to_cart{
  margin-top: auto!important;
  text-align: center;
}

.woocommerce-js ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  font-size: 1.06em;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  display: flex!important;
  flex-direction: column!important;
  width: 100%;
  padding: 0;
  position: relative;
}

.woocommerce-js div.product .related.products,
section.related.products,
.tabs.wc-tabs{
  display: none!important;
}

.woocommerce-js div.product div.images{
  margin-bottom: 0;
}

/* Category Widget*/
.parent-cat,
.sub-cat{
  list-style: none;
  margin: 0;
}

.parent-cat .sub-cat{
  padding-left: 20px;
}

.parent-cat li a{
  color: #666666;
  font-size: 16px;
}

.parent-cat li.active > a{
  color: #f08519;
  font-weight: 500;
}