/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

html[lang="de-DE"] .en {
    display: none !important;
}
 html[lang="en-US"] .de {
    display: none !important;
}

 .ct-language .ct-label{
  position: relative;
  display: flex;
  align-items: center;
 }
 .ct-language .ct-label::before {
    content: "\f319";
    font-family: 'Dashicons';
    font-size: 19px;
    margin-right:8px;
    padding-top:2px;
 }

 h1 {
  line-height: 1em !important;
 }

.home #main {
  position: relative;
  top: calc(var(--header-height) * -1);
}

.home .hero-section {
  z-index: -1;
}

.home .entry-header {
  overflow-y: clip;
}

.home .page-title {

}
.hero-subline {
  margin-top: 0 !important;
  line-height: 1.2;
  padding:5px 15px 5px !important;

  text-transform: uppercase;
  font-size: calc(0.4 * var(--theme-font-size));
  font-weight: calc( var(--theme-font-weight) - 100);
      width: fit-content;
}

.hero-intro {

}

/* .hero-video {
  position: fixed;
  width:110vw;
  top:0;
  left:0vw;
  height: 65vh;
  overflow: clip;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 660px;
  z-index: -2;
} */

/* .hero-video video {
  width:unset;
  max-width: none;
} */


.highlighted-products {
  background:
  url('./assets/mountainlines.svg'),
  linear-gradient(0deg,var(--theme-palette-color-8),#252a31 15%,#000 100%);
  /* background-size:  250vw 100vh; */
  background-position: bottom left;
  background-repeat: no-repeat; 
  color:var(--theme-palette-color-6);
}
@media (max-width: 689.98px) {
.highlighted-products {

  background:
  url('./assets/mountainlines.svg'),
  linear-gradient(0deg,var(--theme-palette-color-8),#252a31 5%,#000 100%);
  background-size: cover, 100%;
  background-position: center left, center center;
  background-repeat: no-repeat, no-repeat; 

}
}
.highlighted-products > div {
  max-width: var(--theme-normal-container-max-width);
}

.highlighted-products h2 {
  color:var(--theme-palette-color-6);
}
@media (max-width: 689.98px) {
.highlighted-products li {
margin-bottom: 2rem;
}
}

.highlighted-products .price {
  color:var(--theme-palette-color-6);
  text-align: center;
}
      
.highlighted-products figure  {
  aspect-ratio: 12/13 !important;
}
@media (max-width: 689.98px) {
  .highlighted-products figure  {
  aspect-ratio: 6/6 !important;
}
}

.highlighted-products .ct-media-container {
  height:100% !important;
  display: flex;
  justify-content: center;
  width:120%;
  margin-left: -10%;
}
@media (max-width: 689.98px) {
  .highlighted-products .ct-media-container {
    width:100%;
    margin-left: 0;
  }
}
.highlighted-products .ct-media-container > img {
  max-width: none;
  overflow: visible;
  /*
  aspect-ratio: unset !important;
  height:100%;
  width:auto;
  */
}
@media (max-width: 689.98px) {
  .highlighted-products .ct-media-container > img {
    max-width:130%;
  }
}

.highlighted-products a.button {
  border:2px solid var(--theme-palette-color-1);
  color: var(--theme-palette-color-1);
  background-color: transparent;
}
.highlighted-products a.button:hover {
  border:2px solid var(--theme-palette-color-6);
  color: var(--theme-palette-color-6);
}

.highlighted-products .ct-woo-card-actions {
  justify-content: space-around !important;
}

.ct-header-cart {
  padding: var(--theme-button-padding);
  min-height: var(--theme-button-min-height);
  border-radius: var(--theme-button-border-radius, 3px);
  background-color:rgba(0,0,0,0.3);
  /* border:0px solid var(--theme-palette-color-1); */
}

@media (max-width: 689.98px) {
  .ct-header-cart { 
    background-color: transparent;
    position: relative;
    top:4px;
   }
}

.subline {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}
.highlighted-products .subline {
  opacity: 0.8;
  text-align: center;
}


[data-products] .product .price  {
  font-size: 80%;
  text-transform: uppercase;
}
[data-products] .product .price > span  {
  font-size: 165%;
  font-weight: 700 !important;
}

ul.products .wc-gzd-additional-info {
  display:none !important
}

ul.products .product_cat-keiler h2.woocommerce-loop-product__title,
ul.products .product_cat-fuchs h2.woocommerce-loop-product__title,
ul.products .product_cat-wiesel h2.woocommerce-loop-product__title {
  display: none;
}

ul.products .product_cat-keiler .ct-media-container.has-hover-effect, 
ul.products .ct-media-container.has-hover-effect, 
ul.products .product_cat-fuchs .ct-media-container.has-hover-effect, 
ul.products .product_cat-wiesel .ct-media-container.has-hover-effect {
  overflow: visible;
} 

.product .summary .ppc-button-wrapper,
.product .summary .ppcp-messages {
  display:none !important;
}

.ct-variation-swatches select {
  border-radius: 3px;
  border-width: 2px;
}

.reset_variations {
  margin-top: 0.5rem;
  width: 100%;
  font-family: var(--theme-button-font-family, var(--theme-font-family));
    font-size: var(--theme-button-font-size);
    font-weight: var(--theme-button-font-weight);
    font-style: var(--theme-button-font-style);
    line-height: var(--theme-button-line-height);
    letter-spacing: var(--theme-button-letter-spacing);
    text-transform: var(--theme-button-text-transform);
    -webkit-text-decoration: var(--theme-button-text-decoration);
    text-decoration: var(--theme-button-text-decoration);
    background-color: var(--theme-palette-color-6);
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--theme-button-min-height);
    padding: var(--theme-button-padding);
    border: none;
    appearance: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    text-align: center;
    border-radius: var(--theme-button-border-radius, 3px);
    transition: all .12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    --has-link-decoration: var(--false);

}

.wcgz-disclaimer {
  display: block;
  margin-top:-0.4rem;
  text-align: right;

}

.wcgz-disclaimer__hint {
  display: block;
  margin-top:-0.2rem;

  margin-bottom: 1rem;
  text-align: right;
}

.product .summary .price {
 text-align: right;
}

.product-techspecs {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.product-techspecs table {
  width:calc(50% - 1rem);
  border:none;
  height: fit-content;
}
@media (max-width: 689.98px) {
  .product-techspecs table {
  width:calc(100% - 1rem);
  }
}

.product-techspecs table tr td:first-child {
  font-weight: 600;
  text-transform: uppercase;
}
.product-techspecs table td {
  border-width: 0;
  border-bottom: 1px solid black;
  padding:10px 0;
}
@media (max-width: 689.98px) {
  .product-techspecs table td {
    display: block;
  width:100%;
  border-bottom-width: 0px;
  padding-top:0;
  padding-bottom:0;
  }
  .product-techspecs table td:last-child {
  padding-bottom:6px;
  border-bottom-width: 1px;
  margin-bottom: 6px;
  line-height: 1;
  }
}

.entry-summary-items > .product_meta > span {
  display: flex !important;
  justify-content: space-between;
}

.product_cat-keiler .entry-title,
.product_cat-fuchs .entry-title,
.product_cat-wiesel .entry-title,
.product_cat-keiler .woocommerce-variation-availability,
.product_cat-fuchs .woocommerce-variation-availability,
.product_cat-wiesel .woocommerce-variation-availability
{
  visibility: hidden;
  height:0;
  margin:0 !important;
}

.product_cat-keiler .woocommerce-product-details__short-description,
.product_cat-fuchs .woocommerce-product-details__short-description,
.product_cat-wiesel .woocommerce-product-details__short-description {
  margin-bottom: 0 !important;
}

.woocommerce-product-details__short-description p > a:not(.detail) {
  font-weight: 500;
  padding:0 3px;
  background-color: var(--theme-palette-color-1);
  color: var(--theme-palette-color-4);
}
.woocommerce-product-details__short-description p > a:not(.detail):hover {
  font-weight: 600;
}

.woocommerce-product-details__short-description p > a.detail {
 width:100%;
 display: block;
 line-height: 2em;
 margin-bottom: 40px;
}

.woocommerce-product-details__short-description p > a:not(.detail):after,
.attentionbox a:after  {
  content: "↗";
  display: inline-block;
  font-size: 50%;
  padding-left: 2px;
  transform: translateY(-5px);
}

.product_cat-keiler .product_meta,
.product_cat-fuchs .product_meta,
.product_cat-wiesel .product_meta {
  margin-top: 0 !important;
}

.attentionbox {
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
  padding:15px;
  line-height: 1.2;
  background-color: #fc793c;
  color:var(--theme-palette-color-4);
}

.attentionbox .dashicons {
    margin-right: 5px;
    transform: translateY(4px);
}

.attentionbox h5 {
  text-transform: uppercase;
}

.attentionbox a {
  color:var(--theme-palette-color-4);
  text-decoration:underline;
  font-weight: 600;
}
.attentionbox a:hover {
  color:var(--theme-palette-color-3);
}

.fittinginfo {
    margin-top:0.875rem;
    border:none;
}
.fittinginfo td {
    /* border-color:var(--theme-palette-color-8); */
  border:none;
  border-bottom: 1px dashed #ad5227;
  padding:3px 0px;
  font-size: 16px;
}
.fittinginfo tr:last-child td {
  border:none;
}
.fittinginfo tr td:first-child {
  font-weight: 600;
  text-transform: uppercase;
  padding-right:2rem;
}
.fittinginfo tr td:last-child {
  width:10px;
  padding: 0 2px;
  border-radius: 3px;
  border: 1px solid #fc793c;
  text-align: right;
  background-color: var(--theme-palette-color-8);
  color: var(--theme-palette-color-4);
}
.fittinginfo .dashicons {
  transform: translateY(2px);
  margin: 0;
  font-size: 20px;
  line-height: 16px;
  height: 16px;
}

.framestock {
  margin-top:2rem;
  display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
}
.framestock__label {
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom:0.5rem;
  margin-right: 1rem;
  padding-top:3px;
}
.framestock__table {
  border:none;
  width: fit-content;
}
.framestock__table tr td:first-child {
  font-weight: 600;
  text-transform: uppercase;
  padding-right:2rem;
}
.framestock__table tr td:last-child {
  padding: 0 9px;
  border-radius: 3px;
  border: 1px solid var(--theme-palette-color-8);
  text-align: right;
  background-color: var(--theme-palette-color-1);
  color: var(--theme-palette-color-8);
}
.framestock__table td {
  /* border-color:var(--theme-palette-color-8); */
  border-width: 0 0 0 0;
  padding:3px 0px;
  font-size: 13px;
}

.generator-headline {
 margin-bottom: 0.5rem;
}

form.variations_form table.variations label {
 text-transform: uppercase;
}
form.variations_form table.variations label > span {
 text-transform: none;
}

div.onsale.acf {
  transform:rotate(-6deg);
  transform-origin:center;
  top:5%;
  left:5%;
  bottom:auto;
  height:auto;
  font-size:clamp(16px,1.2vw,32px);
  text-align:left;
  background:transparent;
  display: block;
}

div.onsale.acf span:first-child {
  display:inline-block;
  font-size:90%;
  word-break:keep-all;
  background:var(--badge-background-color);
  color:white;
  padding:0.2em 0.4em;
}

div.onsale.acf span:last-child {
  display:inline-block;
  color:var(--badge-background-color);
  background:rgba(0,0,0,0.8);
  font-size:110%;
  color:white;
  letter-spacing:0.01em;
  padding:0.2em 0.4em;
}
ul.products div.onsale.acf {
  top:56%;
  left:-3%;
}
.woocommerce-product-gallery div.onsale.acf {
  position: absolute;
  z-index: 5;
}
.woocommerce-product-gallery div.onsale.acf span:first-child {

}
.wc-block-components-totals-fees__gratis-qcs-rabatt {
  font-weight: 600;
  color:var(--theme-palette-color-1)
}

div.onsale.acf--long {
  top:0;
  left:0;
  position: relative;
  display: block;
  height:auto;
  text-align: left;
  background-color: rgba(0,0,0,0.8);
  font-size:clamp(16px,1.2vw,32px);
  padding:10px 15px;
  margin-bottom: 2rem !important;
}
div.onsale.acf--long span:first-child {
  display:inline-block;
  font-size:90%;
  word-break:keep-all;
  background:var(--badge-background-color);
  color:white;
  padding:0.2em 0.4em;
}

div.onsale.acf--long span:last-of-type{
  display:block;
  color:var(--badge-background-color);
  font-size:110%;
  color:white;
  letter-spacing:0.01em;
  padding:0;
  margin-bottom: 1rem;
  margin-top: 4px;
}
div.onsale.acf--long p:last-child {
  font-size: 16px;
  letter-spacing: 0.01em;
  font-weight: 500;
  text-transform: none;
  line-height: 1.2;
}
@media (max-width: 689.98px) {
  ul.products div.onsale.acf {
  top:48%;
  left:-3%;
}
div.onsale.acf--long p:last-child {
  font-size: 16px;
}
}


span.onsale {
  transform: rotate(-10deg) !important;
  transform-origin: center !important;
}

ul.products.columns-3 span.onsale {
  padding:0.2em 0.4em;
  transform: translate(5%,50%) rotate(-6deg);
  transform-origin: center center;
  height: fit-content !important;
  text-indent: 0.1em;
  font-size: clamp(16px,1.5vw,32px) !important;
}
ul.products.columns-4 span.onsale {
  text-indent: 0.2em;

  transform: translate(5%,100%) rotate(-6deg);
  font-size: clamp(16px,1.5vw,32px) !important;
}

.out-of-stock-badge {
  font-size: 20px !important;
  letter-spacing: 0.05em !important;
display: block !important;

    padding: 5px 10px !important;
    height: fit-content !important;
    width: max-content;
    /* transform: translate(-50%, -50%) rotate(-25deg); */
    transform-origin: center center;
    /* inset-inline-start: unset !important; */
}

footer .widget-title {
  margin-bottom: 1rem;
  padding-top: 1.3vw;
}

/** SINGLE BIKE **/

.detail-content--top {
margin-top: calc(-1 * var(--header-height));
}
.bg-fixed-fullheight > div.qubely-block-wrapper-block {
  background-size: 100vh;
}

/* VARIATION DEFAULT MARKING */

[data-value*="atr3"]:after,
[data-value*="atr4"]:after
 {
  position: absolute;
  content: "3";
  top:auto;
  right:3px;
  left:auto;
  bottom:3px;
  width:20px;
  height:20px;
  line-height: 17px;
  font-size: 15px;
  text-align: center;
  border-radius: 50%;
  display: block;
  border:2px solid #fc793c;
  background-color: white;
  color:#fc793c;
  font-weight: 600;
}
[data-value*="atr4"]:after
{
  content: "4";
  border:2px solid var(--theme-palette-color-1);
  color:var(--theme-palette-color-1);
}

.wc-block-components-product-details__name {
  display: block !important;
  font-weight: 600 !important;
  font-size: 14px;
}

.wc-block-components-product-name {
  font-weight: 600 !important;
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-formatted-money-amount.wc-block-components-order-summary-item__individual-price {
  font-weight: 400 !important;
  color:var(--theme-palette-color-5);
}

/* CHECKOUT */
.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {width:60% }
.woocommerce-checkout .wc-block-components-sidebar {width:40% }

.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-components-address-card,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]
 {
  border-radius:1px !important;
}

.wc-block-components-product-details__value {
  white-space:break-spaces;
  font-size: 14px;

}

.wc-block-components-address-card address .wc-block-components-address-card__address-section:first-child,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label
{
  font-weight: 600 !important;
}
.wc-block-components-sidebar-layout .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label,.wc-block-components-totals-item__value) {
  font-size: 20px !important;
}
.wc-block-components-totals-footer-item-tax {
  font-weight: 400 !important;
}
.wc-block-components-totals-item__label {
  text-transform: uppercase !important;
}
.ppcp-place-order-description {
  display: none !important;
}

/* WOOOOO FORMS */

.woocommerce-form-row {
  position: relative;
  margin-top: 16px;
    white-space: nowrap;
}

.woocommerce-form-row + p,
.woocommerce-form-login__submit,
.woocommerce-LostPassword.lost_password {
  position: relative;
  margin-top: 16px !important;
}

.woocommerce-form-row + p {
font-size: .875em;
    line-height: 1.2;
}

.woocommerce-form-row input {
      padding: 1.5em .5em .5em !important;
      box-sizing: border-box;
    color: #2b2d2f;
        font-size: 1em !important;
    height: 3.125em !important;
    line-height: 1em !important;
        color: var(--theme-form-text-initial-color, var(--theme-text-color)) !important;
        border-radius: 1px;
}

.woocommerce-form__input-checkbox {
  border-radius: 1px;
}

.woocommerce-form-row label {
  position: absolute;
  top:0;
  left: .5625em;
  font-size: 1em;
  top: 0;
  transform: translateY(4px) scale(.75);
  opacity: .6;
  inset-inline-start: 16px !important;
  color: var(--theme-form-text-initial-color, var(--theme-text-color)) !important;
  font-weight: 400;
  transform-origin: top left;
}

.ct-back-to-top.wiggle-animate {
  animation: wiggle 0.5s ease-in-out, bgflash 0.6s;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg);}
  15%, 45%, 75% { transform: scale(1.1) rotate(8deg);}
  30%, 60%, 90% { transform: rotate(-8deg);}
}

@keyframes bgflash {
  0%   { background: var(--theme-palette-color-1); } /* Red */
  80%  { background: var(--theme-palette-color-1); }
  100% { background: ''; }     /* Default, let theme restore */
}