.imp-wc-single-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  min-height: 100vh;
}

#ast-sticky-row-summary>.woocommerce-product-gallery,
#ast-sticky-row-summary>.summary.entry-summary {
  width: 100%;
}

#wpadminbar {
  display: none;
}

html {
  margin: 0 !important;
}

.single-product #primary {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/**
**Image Gallery
*/

.custom-product-gallery,
.gallery-thumbnails {
  display: grid;
  gap: 10px;
}

.custom-product-gallery {
  margin-top: calc((var(--nav-bar-pad) * 2) + var(--height-logo-wappen) + var(--height-logo-txt) + var(--gap-logo)) !important;
  transition: all var(--trans-dur) cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
}

.small .custom-product-gallery {
  margin-top: calc((var(--nav-bar-pad) * 2) + var(--height-logo-txt) + var(--gap-logo)) !important;
}

.custom-product-gallery img {
  box-shadow: none !important;
}

/**
**Summary
*/

.imp-wc-single-col.imp-wc-single-col-summary {
  position: relative;
  height: 100%;
}

.imp-wc-summary-wrapper {
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  gap: var(--gap-l);
  flex-direction: column;
  position: sticky;
  top: calc((var(--nav-bar-pad) * 2) + var(--height-logo-wappen) + var(--height-logo-txt) + var(--gap-logo)) !important;
  transition: all var(--trans-dur) cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
  padding-top: var(--gap-xl);
  padding-bottom: var(--gap-l);
}

.small .imp-wc-summary-wrapper {
  top: calc((var(--nav-bar-pad) * 2) + var(--height-logo-txt) + var(--gap-logo)) !important;
}

.imp-wc-single-sku-like-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--gap-l);
}

.imp-wc-single-sku-like-wrapper .simplefavorite-button {
  position: relative;
  top: unset;
  right: unset;
}

.imp-wc-single-sku {
  font-size: 12px;
  color: #808080;
  font-style: normal;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.imp-wc-single-meta-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-m);
}

.imp-wc-single-meta-wrapper * {
  margin-bottom: 0 !important;
}

.imp-wc-single-meta-wrapper .product-price * {
  font-size: var(--base-font-size-small);
}

.imp-wc-single-meta-wrapper .product-price bdi {
  font-size: var(--base-font-size-large);
  font-weight: 700;
}

small.woocommerce-price-suffix {
  display: block;
  font-size: 0.8em !important;
  font-weight: 400 !important;
  text-align: center;
  color: var(--ast-gallery-block-color);
}

.imp-wc-single-meta-wrapper .product-price small.woocommerce-price-suffix {
  text-align: left;
}

.imp-wc-single-meta-wrapper .product-price small.woocommerce-price-suffix a {
  text-decoration: underline;
}

.imp-wc-3d-btn-expert-btn-wrapper {
  display: flex;
  justify-content: flex-start;
  gap: var(--gap-l);
}

.imp-wc-btn-txt-wrapper a {
  color: var(--ast-global-color-3) !important;
}

.txt-btn:after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: var(--ast-global-color-3);
  margin: 0 auto;
  transition: all 0.5s cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
}

.txt-btn:hover::after {
  width: 40px;
}

.imp-wc-add-to-cart-wrapper * {
  font-family: var(--headlinefont);
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.imp-wc-add-to-cart-wrapper form {
  display: flex;
  flex-direction: column;
}

.imp-wc-add-to-cart-wrapper #stack_selection {
  height: auto;
  border: none;
  font-size: var(--btn-font-size);
  font-family: var(--headlinefont);
  font-weight: 400;
  padding: 1em 3em 1em 2em !important;
  border-radius: 5px;
  background-color: var(--ast-global-color-0);
  color: var(--ast-global-color-3);
  text-transform: uppercase;
  width: auto;
  background-position: calc(100% - 0.8em - 0.8em) 50%;
}

.imp-wc-add-to-cart-wrapper #stack_selection option {
  font-size: 13px !important;
  font-weight: 400 !important;
  font-family: var(--headlinefont) !important;
  text-align: center !important;
  font-style: normal !important;
  text-transform: uppercase !important;
  padding: 1em 3em 1em 2em !important;
}

.imp-wc-add-to-cart-wrapper #stack_price_display {
  margin: var(--gap-m) 0 !important;
}

.imp-wc-add-to-cart-wrapper .single_add_to_cart_button.button.alt {
  color: var(--ast-global-color-3) !important;
  font-size: var(--btn-font-size);
  font-family: var(--headlinefont);
  font-weight: 400;
  padding: 1em 2em !important;
  border-radius: 5px;
  background-color: var(--ast-global-color-0) !important;
  color: var(--ast-global-color-3);
  text-transform: uppercase;
  margin-bottom: 0 !important;
}

.imp-wc-add-to-cart-wrapper .single_add_to_cart_button.button.alt+a.added_to_cart.wc-forward {
  color: var(--ast-global-color-3) !important;
  font-size: var(--btn-font-size);
  font-family: var(--headlinefont);
  font-weight: 400;
  padding: 1em 2em !important;
  border-radius: 5px;
  background-color: var(--ast-global-color-0) !important;
  color: var(--ast-global-color-3);
  text-transform: uppercase;
  margin-bottom: 0 !important;
  text-align: center;
  margin-top: var(--gap-s);
}

/* Add to cart, Checkout */

.imp-wc-add-to-cart-wrapper #custom-product-button {
  margin: 10px 0 0 0 !important;
  display: none !important;
}

.imp-wc-add-to-cart-wrapper>#wc-stripe-express-checkout-element {
  flex-direction: column;
  display: none !important;
}

/**
**Breadcrumps
*/

.imp-wc-single-breadcrump-wrapper .woocommerce-breadcrumb,
.imp-wc-single-breadcrump-wrapper .woocommerce-breadcrumb * {
  color: var(--ast-global-color-4) !important;
  font-size: var(--base-font-size-small);
  font-style: normal;
  font-weight: 400;
  line-height: 1.29;
  letter-spacing: 0.07em;
}

/**Favorite Button
*/

.imp-wc-single-wrapper .simplefavorite-button svg * {
  stroke: var(--ast-global-color-3);
}

.imp-wc-single-wrapper .simplefavorite-button.active svg,
.imp-wc-single-wrapper .simplefavorite-button:hover svg {
  fill: #000;
}

/**Accordions 
**({theme}/template-parts/imp-wc-templates/imp-wc-single-accordion.php) 
*/

.imp-wc-accordion-content-wrapper {
  max-height: 0px;
  overflow: hidden;
  transition: all 0.9s cubic-bezier(0.45, 0.05, 0.55, 0.95) 0s;
}

.imp-wc-accordion-item[aria-expanded="true"] .imp-wc-accordion-content-wrapper {
  max-height: 100vh;
}

.imp-wc-accordion-content {
  padding: var(--gap-m);
}

.imp-wc-accordion-title,
.imp-wc-accordion-title * {
  margin-bottom: 0 !important;
}

.imp-wc-accodrion-title-wrapper {
  border-bottom: 1px solid #000;
}

.imp-wc-accodrion-title-wrapper h5 {
  margin: 0;
}

a.imp-wc-accordion-title {
  display: flex;
  padding: 1em 0;
  align-items: center;
  gap: 15px;
  text-transform: uppercase;
  font-size: var(--h5-font-size);
  font-style: normal;
  font-weight: 400;
  line-height: 1.69;
  letter-spacing: 0.05em;
  color: #000;
  -webkit-text-stroke-width: 0.2px;
  -webkit-text-stroke-color: var(--Colors-Schwarz, #000);
  font-family: var(--headlinefont);
}

a.imp-wc-accordion-title::before {
  content: "";
  display: block;
  --my-size: 1em;
  height: calc(var(--my-size) / 2.116428);
  width: var(--my-size);
  background-image: url(/wp-content/themes/astra-impuls-child/img/arrow-acc);
  background-size: contain;
  background-repeat: no-repeat;
  transition: all var(--trans-dur) cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
}

a.imp-wc-accordion-title[aria-selected="true"]::before {
  rotate: 180deg;
}

/**
** Related Grids
*/

.related.products {
  margin-top: var(--cont-gap);
  gap: var(--gap-l);
  display: grid;
  text-align: center;
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
}

.imp-wc-related-product-slider .products.columns-4 {
  display: flex !important;
}

.imp-wc-related-product-slider .products.columns-4 {
  grid-template-columns: repeat(4,
      calc(25% - (var(--grid-column-gap) / 1))) !important;
  gap: var(--grid-column-gap);
  width: 90vw;
  display: grid !important;
  --grid-column-gap: var(--gap-m);
}

.continue-shopping {
  font-weight: 400;
  font-size: var(--btn-font-size);
  font-family: var(--headlinefont);
  margin-top: var(--gap-l);
  display: block;
  text-transform: uppercase;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.continue-shopping::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: black;
  margin-top: 0.3em;
  transition: all 0.5s cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s;
}

.continue-shopping:hover::after {
  width: 40%;
}

@media screen and (max-width: 1400px) and (min-width: 991px) {

  /**
**Summary
*/
  .imp-wc-3d-btn-expert-btn-wrapper {
    flex-direction: column;
  }
}

@media screen and (max-width: 1400px) {
  /**
**Summary
*/

  .imp-wc-summary-wrapper {
    top: 0 !important;
    margin-top: calc((var(--nav-bar-pad) * 2) + var(--height-logo-wappen) + var(--height-logo-txt) + var(--gap-logo)) !important;
  }

  .small .imp-wc-summary-wrapper {
    top: 0 !important;
    margin-top: calc((var(--nav-bar-pad) * 2) + var(--height-logo-txt) + var(--gap-logo)) !important;
  }

  .imp-wc-accordion-content>p {
    font-size: var(--base-font-size-small);
  }
}

@media screen and (max-width: 1200px) {

  /**
**Summary
*/
  .imp-wc-single-sku-like-wrapper {
    margin-top: 0;
  }
}

@media screen and (max-width: 990px) {
  .imp-wc-single-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 100%);
  }

  .imp-wc-related-product-slider .products.columns-4 {
    grid-template-columns: repeat(2,
        calc(50% - (var(--grid-column-gap) / 2))) !important;
  }

  /**
**Summary
*/
  .imp-wc-summary-wrapper {
    max-width: 90vw;
  }
}

@media screen and (max-width: 767px) {

  /**
**Summary
*/
  .imp-wc-3d-btn-expert-btn-wrapper {
    flex-direction: column;
  }

  .small .imp-wc-summary-wrapper,
  .imp-wc-summary-wrapper {
    margin-top: 0 !important;
  }

  .imp-wc-single-meta-wrapper .product-price bdi {
    font-weight: 600;
  }
}