/*
Theme Name: Breakdance Zero Theme
Theme URI: https://breakdance.com/zero-theme // todo
Author: Breakdance Builder
Author URI: https://breakdance.com/
Description: Entirely disables the WordPress theme system and lets you design every part of your site with Breakdance, while keeping other theme functionality like templates overrides and functions.php.
Version: 1.0.0
Tested up to: 5.9
Requires PHP: 7
License: GNU General Public License v2 or later // todo no idea about this
License URI: LICENSE
Text Domain: breakdance

Requires Breakdance to be installed.
/*--------------------------------------------------------------*/

.wpgb-facet>fieldset:last-child {
    margin-bottom: 20px !important;
}



/* === CFVSW Swatch Brand Overrides === */

.cfvsw_variations_form .cfvsw-swatches-container,
.cfvsw-product-page .cfvsw-swatches-container {
  gap: 8px !important;
}

.cfvsw_variations_form .cfvsw-swatches-option,
.cfvsw-product-page .cfvsw-swatches-option {
  padding: 8px 8px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  color: var(--hcl-brand-12) !important;
  background-color: var(--hcl-brand-3) !important;
  border: 1.5px solid var(--hcl-brand-8) !important;
  border-radius: 6px !important;
  /* min-width: 52px !important;
  min-height: 36px !important; */
  transition: all 180ms ease !important;
  box-sizing: border-box !important;
}

.cfvsw_variations_form .cfvsw-swatches-option:not(.cfvsw-swatches-disabled):hover,
.cfvsw-product-page .cfvsw-swatches-option:not(.cfvsw-swatches-disabled):hover {
  background-color: var(--hcl-brand-5) !important;
  border-color: var(--hcl-brand-11) !important;
  box-shadow: 0 0 0 1px var(--hcl-brand-11) !important;
}

.cfvsw_variations_form .cfvsw-selected-swatch,
.cfvsw-product-page .cfvsw-selected-swatch,
.cfvsw_variations_form .cfvsw-selected-swatch:not(.cfvsw-label-option),
.cfvsw-product-page .cfvsw-selected-swatch:not(.cfvsw-label-option) {
  background-color: var(--hcl-brand-6) !important;
  border-color: var(--hcl-brand-11) !important;
  box-shadow: 0 0 0 1px var(--hcl-brand-11) !important;
  color: var(--hcl-brand-12) !important;
}

/* === Disabled state === */
.cfvsw-swatches-blur-cross-disable.cfvsw-swatches-disabled {
  cursor: not-allowed !important;
  border-color: var(--hcl-brand-7) !important;
  background-color: var(--hcl-brand-3) !important;
  color: var(--hcl-brand-9) !important;
  opacity: 0.75 !important;
  overflow: visible !important;
}

.cfvsw-swatches-blur-cross-disable.cfvsw-swatches-disabled:hover {
  opacity: 0.85 !important;
}

/* Diagonal strikethrough */
.cfvsw-swatches-blur-cross-disable.cfvsw-swatches-disabled::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: transparent !important;
  background-image: linear-gradient(
    to top right,
    transparent calc(50% - 0.8px),
    var(--hcl-brand-10) calc(50% - 0.8px),
    var(--hcl-brand-10) calc(50% + 0.8px),
    transparent calc(50% + 0.8px)
  ) !important;
  border-radius: 6px !important;
  z-index: 1 !important;
}

/* Tooltip — hidden by default */
.cfvsw-swatches-blur-cross-disable.cfvsw-swatches-disabled::after {
  content: "Nincs raktáron" !important;
  position: absolute !important;
  bottom: calc(100% + 8px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background-color: var(--hcl-brand-12) !important;
  color: var(--hcl-brand-3) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  padding: 5px 10px !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
  z-index: 10 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 180ms ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  line-height: 1.3 !important;
}

/* Show tooltip on hover */
.cfvsw-swatches-blur-cross-disable.cfvsw-swatches-disabled:hover::after {
  opacity: 1 !important;
}

/* === Shop Loop Tweaks === */

/* === Shop Loop Tweaks === */

/* Hide Clear button */
.cfvsw_variations_form .reset_variations {
  display: none !important;
}

/* Qty inside footer — hidden by default for variable */
/* .product-type-variable .bde-woo-product-footer .quantity {
  display: none !important;
}
.product-type-variable.pkdev-variation-active .bde-woo-product-footer .quantity {
  display: inline-flex !important;
} */

/* Qty inside footer — hidden by default, slides in */
/* Hide qty on variable products everywhere, not just in footer */
.woocommerce-shop .product-type-variable .quantity {
    max-width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    transition: max-width 250ms ease, opacity 200ms ease, margin 250ms ease !important;
    margin-right: 0 !important;
}
.product-type-variable.pkdev-variation-active .quantity {
    max-width: 90px !important;
    opacity: 1 !important;
    /* margin-right: 8px !important; */
}

/* Footer alignment */
.product-type-variable .bde-woo-product-footer {
  align-items: center !important;
}

.bde-woo-product-footer{
  justify-content: center !important;
}

.bde-woo-product-footer a.button{
  width: auto !important;
  border-radius: 5px !important;
}

/* "Added to cart" link → checkmark linking to checkout */
.added_to_cart {
  font-size: 0 !important;
  min-width: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 5px !important;
  max-width:2.2rem !important;
}


.added_to_cart::after {
  content: "" !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  margin-left: 0 !important;          /* centered by flex already */
  background-color: var(--hcl-brand-11) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%3E%3Cpath%20d%3D%22M9%2016.17%204.83%2012l-1.42%201.41L9%2019%2021%207l-1.41-1.41z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat !important;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22black%22%3E%3Cpath%20d%3D%22M9%2016.17%204.83%2012l-1.42%201.41L9%2019%2021%207l-1.41-1.41z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat !important;
}


.added_to_cart:hover::after {
  background-color: #fff !important;
}




.breakdance-woocommerce small.woocommerce-password-hint, .breakdance-woocommerce .order-info, .breakdance-woocommerce .woocommerce-notices-wrapper + p:not([class]), .breakdance-woocommerce .woocommerce-mini-cart__empty-message, .breakdance-woocommerce .woocommerce-noreviews, .breakdance-woocommerce .available-on-backorder, .breakdance-woocommerce .woocommerce-info {
    color: #212121;
    background: #EDF0EBFF;
    der-radius: var(--bde-woo-notices__border-radius);
    padding: var(--bde-woo-notices__padding);
    font-weight: var(--bde-woo-typography-font-weight-medium);
    padding-left: var(--bde-woo-notices__padding-left);
    font-size: var(--bde-woo-typography__size-standard);
    font-family: var(--bde-woo-typography__size-standard-font-family);
    line-height: var(--bde-woo-base-paragraph-line-height);
    position: relative;
    width: 100%;
}


.breakdance-woocommerce small.woocommerce-password-hint:before, .breakdance-woocommerce .order-info:before, .breakdance-woocommerce .woocommerce-notices-wrapper + p:not([class]):before, .breakdance-woocommerce .woocommerce-mini-cart__empty-message:before, .breakdance-woocommerce .woocommerce-noreviews:before, .breakdance-woocommerce .available-on-backorder:before, .breakdance-woocommerce .woocommerce-info:before
Specificity: (0,2,2)
 {
    content: "";
    background-color: #86A073FF;
    mask-image: var(--info-svg-icon);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    width: var(--bde-woo-notices__icon-size);
    height: var(--bde-woo-notices__icon-size);
    position: absolute;
    top: calc(50% - var(--bde-woo-notices__icon-size) / 2);
    left: var(--bde-woo-notices__padding);
}



.breakdance-woocommerce .order-info mark, .breakdance-woocommerce .woocommerce-notices-wrapper + p:not([class]) mark {
    background-color: transparent;
    color: #212121;
    display: inline;
    font-weight: var(--bde-woo-typography-font-weight-heavy);
}




/* === Shop loop variation swatches (table-based) === */
.cfvsw-shop-variations.variations {
    width: 100% !important;
    text-align: center !important;
}

.cfvsw-shop-variations.variations td,
.cfvsw-shop-variations.variations tr {
    text-align: center !important;
}

.cfvsw-shop-variations.variations .cfvsw-swatches-container {
    justify-content: center !important;
    width: 100% !important;
}


/* Reserve stock notice elrejtése CSAK a shop/kategória listázó oldalakon */
ul.products li.product .main_status_div {
    display: none !important;
}

/* Reserve stock notice doboz stílusa - csak a termékoldalon */
.single-product .main_status_div {
    background-color: #EDF0EB; /* válassz ízlés szerint, ez egy halvány zold */
    border: 1px solid #d8d0bd; /* opcionális keret, ha nem kell, hagyd ki ezt a sort */
    border-radius: 8px;
    margin: 15px 0;
    padding: 0px 12px 0px; /* enélkül a háttér/border szorosan a szövegre tapadna */
}

.single-product .main_status_div p:first-of-type {
    font-weight: 500;
}


.added_to_cart {
    font-size: 0 !important;
    min-width: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-right: 5px !important;
    border-radius: 8px !important;
    max-width: 2.2rem !important;
}


.cr-credits-div {
    display: none !important;
}