/*
Theme Name: Edika laser
Theme URI: 
Author: Hundikuu Agentuur
Author URI: 
Description: 2025 teemapaketi alamteema Edika laser lehele
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: edika-laser
Tags: 
*/



:root {

  --edi--default--shadow: 1px 1px 10px -1px rgba(0, 0, 0, 0.25);
  --edi--default--shadow-hover: 1px 1px 10px -1px rgba(0, 0, 0, 0.44);
  --edi--default--shadow-inset: 1px 0px 15px 0px rgba(0, 0, 0, 0.20) inset;
  --edi--default--transition: all 0.3s ease-in-out;
  --edi--default--scale: scale(1.05);
  --edi--default--small-scale: scale(1.01);
}

/* Global styles */
.edi-img-shadowbox {
  box-shadow: 10px -10px 0px 0px #f39a2e;
  transition: var(--edi--default--transition);
}

.edi-img-shadowbox:hover,
.edi-img-shadowbox:focus {
  box-shadow: -10px 10px 0px 0px #f39a2e;
  transform: translateY(-10px) translateX(10px);
  transition: var(--edi--default--transition);
}

/* Footer */
footer.wp-block-template-part {
  margin-top: 0px !important;
}

.wp-block-group.woocommerce.product {
  margin-top: 0px !important;
}

.wp-block-template-part a {
  text-decoration: none !important;
}

.edi-block-border {
  border-radius: 8px;
  padding: 1rem;
  box-shadow: var(--edi--default--shadow);
  transition: var(--edi--default--transition);
}

.edi-block-border:hover {
  box-shadow: var(--edi--default--shadow-hover);
  transition: var(--edi--default--transition);
  -webkit-transition: var(--edi--default--transition);
  -moz-transition: var(--edi--default--transition);
}

/* HEADER */

.edi-keeled-konto {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding-left: 0.5rem;
}

@media screen and (max-width: 599px) {
  .avaleht-header.wp-block-template-part {
    background-color: #0000008c;
    backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: visible;
    box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.12) !important;
    z-index: 9999;
  }

  .avaleht-header.adminvisible {
    top: 46px;
  }

  .wp-block-navigation__responsive-container.has-modal-open.is-menu-open {
    z-index: 99999;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background-color: white;
  }

  .avaleht-header .wp-block-site-logo {
    width: 120px;
  }

  .wp-block-navigation__responsive-container-open {
    color: white;
  }

  .pood-logo-img {
    max-width: 140px !important;
  }
}

@media screen and (min-width: 600px) {
  .avaleht-header .wp-block-site-logo {
    transform: translateY(20px);
    transition: transform 1s ease;
  }

  .avaleht-header.sticky .wp-block-site-logo {
    transform: translateY(0px) scale(0.7);
    transition: transform 1s ease;
  }

  .header-row {
    max-height: 85px !important;
  }

  .avaleht-header {
    position: absolute;
    min-height: 85px;
    height: 85px !important;
    overflow: visible;
    transition: top 0.3s;
    z-index: 10;
    box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.12) !important;
    width: 100%;
    backdrop-filter: blur(1px);
    background-color: #0000002c;
    transition: transform 0.3s ease;
    --webkit-transition: transform 0.8s ease;
    will-change: transform;
  }

  .avaleht-header.sticky {
    position: fixed;
    transition: top 0.3s;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: #0000008c;
    backdrop-filter: blur(10px);
    transition: transform 0.8s ease;
    --webkit-transition: transform 0.8s ease;
    will-change: transform;
  }

  .avaleht-header.sticky.admin {
    top: 32px;
  }

  .avaleht-header .wp-block-navigation__responsive-container-content a {
    color: #fff !important;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 600 !important;
    text-transform: uppercase;
  }

  #wpadminbar {
    z-index: 10000;
  }
}

@media screen and (min-width: 600px) and (max-width: 900px) {
  .avaleht-header .wp-block-site-logo {
    width: 140px;
  }

  span.wp-block-navigation-item__label {
    font-size: 14px;
  }
}

.sisuleht-header {
  height: 350px;
}

.sisuleht-headerblock {
  height: 100%;
  padding-top: 175px;
}

.sisuleht-headerblock h1 {
  font-size: var(--wp--preset--font-size--xx-large);
  color: #fff;
  font-weight: 700 !important;
}

.header-row .wp-block-navigation a,
.header-row .wp-block-navigation a span {

  text-transform: uppercase;
  text-decoration: none !important;
  transition: var(--edi--default--transition);
  -webkit-transition: var(--edi--default--transition);
  -moz-transition: var(--edi--default--transition);
}

.header-row .wp-block-navigation a:focus {
  text-decoration: none !important;
  outline: 0px;
  outline-offset: 0px;
}

.header-row .wp-block-navigation a span:hover {
  text-decoration: none !important;
  color: var(--wp--preset--color--accent-3);
  transition: var(--edi--default--transition);
  -webkit-transition: var(--edi--default--transition);
  -moz-transition: var(--edi--default--transition);
}

.header-row .current-menu-item.wp-block-navigation-link span {
  color: var(--wp--preset--color--accent-3);
  font-weight: 700 !important;
}


/* AVALEHT */
.banner-container {
  height: 60vh;
}



.banner-left p {
  color: #fff;
  font-size: var(--wp--preset--font-size--x-large);
  margin-top: 0.8rem;
  font-weight: 600 !important;
  letter-spacing: 2px;
}

.banner-left p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.banner-left.p-visible p {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 600px) {
  .banner-left p {
    font-size: var(--wp--preset--font-size--large);
  }
}


/* For staggered effect */
.banner-left.p-visible p:nth-child(1) {
  transition-delay: 0.2s;
}
.banner-left.p-visible p:nth-child(2) {
  transition-delay: 0.4s;
}
.banner-left.p-visible p:nth-child(3) {
  transition-delay: 0.6s;
}
.banner-left.p-visible p:nth-child(4) {
  transition-delay: 0.8s;
}

@media screen and (min-width: 601px) {
  .flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.img-4-5 img {
  aspect-ratio: 4 / 5 !important;
  width: 100% !important;
  object-fit: cover !important;
}

.avaleht-galerii .single-gallery-image img:hover,
.avaleht-karusell .alcb__logo-image img:hover,
.teenus-image img:hover,
.teenus-item:hover .teenus-image img,
.edika-toode .wc-block-product:hover .wp-block-woocommerce-product-image img {
  transform: var(--edi--default--scale);
  -webkit-transform: var(--edi--default--scale);
  -moz-transform: var(--edi--default--scale);
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
}

.avaleht-galerii .single-gallery-image img,
.avaleht-galerii .single-gallery-image img:hover,
.alcb__logo-image img:hover,
.alcb__logo-image img,
.teenus-image img {
  transition: var(--edi--default--transition);
  -webkit-transition: var(--edi--default--transition);
  -moz-transition: var(--edi--default--transition);
}

/* TEENUSED */
.teenused-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.teenus-item {
  flex: 0 1 calc(25% - 1rem);
  box-sizing: border-box;
  text-align: center;
  box-shadow: var(--edi--default--shadow);
  -webkit-box-shadow: var(--edi--default--shadow);
  -moz-box-shadow: var(--edi--default--shadow);
  transition: var(--edi--default--transition);
  -webkit-transition: var(--edi--default--transition);
  -moz-transition: var(--edi--default--transition);
}

.teenus-item:hover {
  box-shadow: var(--edi--default--shadow-hover);
  -webkit-box-shadow: var(--edi--default--shadow-hover);
  -moz-box-shadow: var(--edi--default--shadow-hover);
  transition: var(--edi--default--transition);
  -webkit-transition: var(--edi--default--transition);
  -moz-transition: var(--edi--default--transition);
}

.teenus-image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.teenus-image img {
  max-width: 100%;
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  height: auto;
  border-radius: 2px;
}

.teenus-title {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.teenus-item a {
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .teenus-item {
    flex: 0 1 100%;
  }
}





/* Tooted - kataloog */
.edika-toode .wc-block-product {
  box-shadow: var(--edi--default--shadow);
  -webkit-box-shadow: var(--edi--default--shadow);
  -moz-box-shadow: var(--edi--default--shadow);
  transition: var(--edi--default--transition);
  -webkit-transition: var(--edi--default--transition);
  -moz-transition: var(--edi--default--transition);
}

.edika-toode .wc-block-product:hover {
  box-shadow: var(--edi--default--shadow-hover);
  -webkit-box-shadow: var(--edi--default--shadow-hover);
  -moz-box-shadow: var(--edi--default--shadow-hover);
  transition: var(--edi--default--transition);
  -webkit-transition: var(--edi--default--transition);
  -moz-transition: var(--edi--default--transition);
}

.edika-toode h3 {
  margin-bottom: 0.5rem !important;
}

.edika-toode h3 a:hover {
  text-decoration: none !important;
}

.edika-toode .woocommerce-Price-amount.amount {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
}

.edika-toode .wp-block-woocommerce-product-price {
  padding-top: 0.5rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.edika-toode .wp-block-woocommerce-product-price:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, #ccc 30%, #ccc 70%, transparent 100%);
}

.edika-toode .wp-block-woocommerce-product-image img {
  transition: var(--edi--default--transition);
  -webkit-transition: var(--edi--default--transition);
  -moz-transition: var(--edi--default--transition);
}

.edika-toode .wp-block-woocommerce-product-image img:hover {
  transform: var(--edi--default--scale);
  -webkit-transform: var(--edi--default--scale);
  -moz-transform: var(--edi--default--scale);
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
}

.edika-toode .wp-block-woocommerce-product-image {
  overflow: hidden;
}

.edika-toode .wp-block-woocommerce-product-button .add_to_cart_button {
  background-color: var(--wp--preset--color--accent-3) !important;
  color: #fff !important;
  border-radius: 8px;
  transition: var(--edi--default--transition);
  padding: .8rem 1.5rem;
  margin-bottom: .8rem;
}

.edika-toode .wp-block-woocommerce-product-button .add_to_cart_button:hover {
  transition: var(--edi--default--transition);
  transform: var(--edi--default--small-scale);
  box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.44) inset;

}

.edika-toode .wp-block-woocommerce-product-button .add_to_cart_button:focus,
.edika-toode .wp-block-woocommerce-product-button .add_to_cart_button:active,
.laseranimation a:focus,
.laseranimation a:active {
  transition: var(--edi--default--transition);
  transform: var(--edi--default--small-scale);
  box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.44) inset;
  outline: 1px solid var(--wp--preset--color--accent-1) !important;
  outline-offset: 0px !important;
}

.edi-single-tumbnails img {
  aspect-ratio: 1 / 1;
  width: 88.41px !important;
  height: 88.41px !important;
  object-fit: cover !important;

}

.edi-toode-productmeta a,
.edi-toode-productmeta span.sku {
  font-weight: 500;
  text-decoration: none;
}

.wc-block-grid__product-rating__stars span,
.comment-text .star-rating {
  color: var(--wp--preset--color--accent-3);

}


.stars.selected,
.stars a:where(:not(.wp-element-button)) {
  color: var(--wp--preset--color--accent-3) !important;
}

.variations .reset_variations {
  display: none !important;
}

.stars.selected a:focus {
  outline: 0px !important;
}

.wc-block-components-product-badge.wc-block-components-sale-badge {
  color: var(--wp--preset--color--accent-3) !important;
}

.wc-block-cart__submit.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button.contained,
.wc-block-components-totals-coupon__content .wc-block-components-totals-coupon__button,
.wc-block-checkout__actions_row .wc-block-components-button.wc-block-components-checkout-place-order-button {
  background-color: var(--wp--preset--color--accent-3) !important;
  color: #fff !important;
  border-radius: 8px;
  transition: var(--edi--default--transition);
  padding: .8rem 1.5rem;
}

.wc-block-cart__submit.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button.contained:hover,
.wc-block-components-totals-coupon__content .wc-block-components-totals-coupon__button:hover,
.wc-block-checkout__actions_row .wc-block-components-button.wc-block-components-checkout-place-order-button:hover {
  transition: var(--edi--default--transition);
  box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.44) inset;
}

.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block *:focus {
  outline: 0px !important;
  outline-offset: 0px !important;
}

.wc-block-cart-items__row a.wc-block-components-product-name {
  text-decoration: none !important;
  font-weight: 500;
  ;
}

@media screen and (max-width: 599px) {
  .edika-toode.seotudtooted li {
    width: calc(50% - 1rem) !important;
  }
  .edi-woo-control-items {
 display: flex
;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
}
.wc-block-product-gallery-large-image-next-previous-container {
    position: absolute;
    top: 50%;
}



/* Breadcrumbs */
.custom-breadcrumbs,
.custom-breadcrumbs a {
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
}

.custom-breadcrumbs .current-breadcrumb {
  font-weight: 600;
  color: var(--wp--preset--color--accent-2);
}

.sisuleht-headerblock .custom-breadcrumbs,
.sisuleht-headerblock .custom-breadcrumbs a {
  font-size: var(--wp--preset--font-size--small);
  color: #fff;
  text-decoration: none;
}

/* Animeeritud nupp */
.laseranimation {
  position: relative;
  overflow: visible;
}

.laseranimation a,
.edi-toode-ostukorvi .single_add_to_cart_button.button.wp-element-button,
.submit.wp-block-button__link.wp-element-button {
  background-color: var(--wp--preset--color--accent-3) !important;
  color: #fff !important;
  border-radius: 8px;
  transition: var(--edi--default--transition);
  padding: .8rem 1.5rem;

}

.laseranimation a:hover,
.edi-toode-ostukorvi .single_add_to_cart_button.button.wp-element-button:hover,
.submit.wp-block-button__link.wp-element-button:hover {
  transition: var(--edi--default--transition);
  transform: scale(1.02);
  box-shadow: var(--edi--default--shadow-inset);
  -webkit-box-shadow: var(--edi--default--shadow-inset);
  -moz-box-shadow: var(--edi--default--shadow-inset);
}

.laser-dot {
  position: absolute;
  width: 0px;
  height: 0px;
  background: yellow;
  border-radius: 50%;
  filter: drop-shadow(0 0 4px yellow) drop-shadow(0 0 8px orange);
  z-index: 998;
  display: none;
}

.spark {
  position: fixed !important;
  width: 4px !important;
  height: 4px !important;
  background: rgb(255, 217, 0) !important;
  box-shadow:
    inset 0 0 2px white,
    0 0 8px orange,
    0 0 4px yellow !important;
  z-index: 9999 !important;
  pointer-events: none !important;
  animation: sparkAnim 0.5s ease-out forwards !important;
}


@keyframes sparkAnim {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.3);
  }
}

/* POOD - KAT nimekiri */

.custom-category-list {
  list-style: none;
  padding-left: 0;
  width: 100%
}

.custom-category-list .category-item,
.custom-category-list .subcategory-item {
  border-bottom: 1px solid #ddd;
  padding: 2px 0
}

.custom-category-list .category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px 5px 0;
  width: 100%
}

.custom-category-list .category-title {
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
  flex-grow: 1;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--edi--default--transition);
}



.custom-category-list .category-title:focus,
.custom-category-list .category-title:active {
  text-decoration: none;

  outline: 0px;
  outline-offset: 0px
}

.custom-category-list .product-count {
  margin-left: auto;
  padding: 0 10px;
  color: #777
}

.custom-category-list .expand-icon,
.custom-category-list .expand-placeholder {
  width: 20px;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  color: #555
}

.custom-category-list .expand-placeholder {
  visibility: hidden
}

.custom-category-list .current-cat .category-title {
  font-weight: 700;
  color: #0e0707
}

.subcategories {
  list-style: none;
  padding-left: 20px;
  display: none
}

.subcategories .subcategory-item {
  padding: 5px 0
}

/* Kontakt */
.kontaktleht a {
  color: var(--wp--preset--color--accent-1);
  text-decoration: none;
}


.kontaktleht .wp-block-social-links svg {

  fill: var(--wp--preset--color--accent-3) !important;
  color: var(--wp--preset--color--accent-3) !important;
}

footer .wp-block-social-link svg {
  color: white !important;
}

footer .wp-block-social-link {

  background-color: var(--wp--preset--color--accent-3) !important;
}

/* Gravity Forms */
.ginput_container input,
.ginput_container textarea,
.comment-form-comment textarea {
  font-size: var(--wp--preset--font-size--medium);
  padding: 0.5em !important;
  border-radius: 0.2rem !important;
  border: 0.5px solid #ccc !important;
  font-family: var(--wp--preset--font-family--roboto);
  background-color: #f4f4f4 !important;
  display: block !important;
  transition: all 0.3s !important;
  font-weight: 500 !important;
}

.ginput_container input:focus,
.ginput_container textarea:focus,
.comment-form-comment textarea:focus {
  outline: 0px !important;
  outline-offset: 0px !important;
  box-shadow: var(--edi--default--shadow-inset) !important;
  -webkit-box-shadow: var(--edi--default--shadow-inset) !important;
  -moz-box-shadow: var(--edi--default--shadow-inset) !important;
}

.gform-button--width-full {
  background: var(--wp--preset--color--accent-3) !important;
  font-size: 1em !important;
  padding: 0.6em !important;
  color: white;
  border-radius: 0.2rem !important;
  border-style: solid;
  border-width: 0.1em;
  border-color: var(--wp--preset--color--accent-3) !important;
}

.gform-button--width-full:hover {
  border-color: var(--wp--preset--color--accent-3) !important;

  color: white;
  box-shadow: var(--edi--default--shadow-inset) !important;
  -webkit-box-shadow: var(--edi--default--shadow-inset) !important;
  -moz-box-shadow: var(--edi--default--shadow-inset) !important;
  transition: var(--edi--default--transition) !important;
  cursor: pointer;
}

/* Teenused nimekiri */
.services-loop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 13px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.3s ease;
}

.services-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

.services-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.services-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  margin-bottom: 0px !important;
}

.services-image img {
  transition: var(--edi--default--transition)
}
.services-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 70%);
  transition: background 0.4s ease;
}

.services-title {
  width: 100%;
  text-align: center;
  font-size: 1.7rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  margin: 0;
  transition: transform 0.4s ease;
}

.services-excerpt {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.8s ease, opacity 0.8s ease;
}

@media screen and (min-width: 600px) and (max-width: 900px) {

  .services-loop {
  display: grid;
  grid-template-columns: 1fr;

}
}

@media screen and (max-width: 599px) {
.services-loop {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
}
}

/* Hover effects */
.services-item:hover .services-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.services-item:hover .services-image img {
  transform: scale(1.02);
  transition: var(--edi--default--transition)
}

.services-item:hover .services-title {
  transform: translateY(-30%);

}

.services-item:hover .services-excerpt {
  max-height: 300px;
  opacity: 1;

}

.shop-header {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.bg-blur {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2025/05/edika-disain-pood-450.webp');
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.8);
  transform: scale(1.1); /* subtle zoom */
  z-index: 1;
}

.bg-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  z-index: 2;
  object-fit: contain;
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  margin-top: 0px !important;
}

.shop-header .sisuleht-headerblock  {
  position: relative;
  z-index: 3;

}

.avaleht-banner-header {
  position: relative;
  height: 60vh;
  overflow: hidden;
  padding-top: 20vh !important;

}

.edi-sisuleht-paisega {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.banner-bg-blur {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2025/05/edika-avaleht-banner-final.webp');
  background-size: cover !important;
  background-position: center;
  filter: blur(20px) brightness(0.8);
  transform: scale(1.1); /* subtle zoom */
  z-index: 1;
}

.sisuleht-bg-blur{
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2025/05/edika-sisuleht-header-bg.webp');
  background-size: cover !important;
  background-position: center;
  filter: blur(20px) brightness(0.8);
  transform: scale(1.1); /* subtle zoom */
  z-index: 1;
}

.banner-bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  z-index: 2;
  object-fit: contain;
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  margin-top: 0px !important;
}

.avaleht-banner-header .banner-content, .edi-sisuleht-banner-content {
  z-index: 3;
}

@media (max-width: 768px) {

  .shop-header {
    height: 350px;
  }
  .bg-main {
    height: 100% !important;
    top: 0;
    transform: translateX(-50%);
    object-fit: cover;
    mask-image: none;
    -webkit-mask-image: none;
  }
 .banner-bg-img {
    height: 100% !important;
    top: 0;
    transform: translateX(-60%);
    object-fit: cover;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .header-wrapper, .avaleht-banner-header {
    height: 50vh;
    min-height: 300px;
  }
}

.edidisain .pood-activeclass span {
  color: var(--wp--preset--color--accent-3) !important;
  font-weight: 700 !important;
}

.wp-block-navigation__submenu-icon svg {
  fill: white !important;
}

.woocommerce-result-count {
  font-size: var(--wp--preset--font-size--small) !important;
  font-weight: 400;
}

.woocommerce-ordering .orderby {
    font-weight: 500;
    background-color:#f8f8f8;
    border: 0px;
    padding: 5px;
 
}
@media screen and (max-width: 599px) {
 .variations th, .variations td {
  display: block;
  width: 100%;
}

.variations table {
  width: 100%;
}
}
