/** Product template */

.brandy-site-product-template .brandy-halloween-product-thumbnail-group {
  position: relative;
  overflow: hidden;
}

.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  [data-block-name="woocommerce/product-button"],
.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  [data-type="woocommerce/product-button"] {
  position: absolute;
  width: calc(100% - 30px);
  left: 15px;
  bottom: 15px;
  z-index: 2;
}

.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  [data-block-name="woocommerce/product-button"] {
  visibility: hidden;
  opacity: 0;
}

.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  [data-block-name="woocommerce/product-image"]
  a {
  display: block;
  position: relative;
}
.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  [data-block-name="woocommerce/product-image"]
  a::before {
  content: "";
  position: absolute;
  background: #0e1326;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
}

.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  .brandy-halloween-product-extra-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
}

.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  .brandy-halloween-product-extra-actions:not(.block-editor-block-list__block) {
  visibility: hidden;
  opacity: 0;
}

.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  [data-block-name="woocommerce/product-image"]
  img,
.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  [data-block-name="woocommerce/product-button"],
.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  [data-block-name="woocommerce/product-image"]
  a::before,
.brandy-site-product-template
  .brandy-halloween-product-thumbnail-group
  .brandy-halloween-product-extra-actions {
  transition: all ease-in-out 0.6s;
}

li.product:hover
  .brandy-halloween-product-thumbnail-group
  [data-block-name="woocommerce/product-button"] {
  visibility: visible;
  opacity: 1;
}
li.product:hover
  .brandy-halloween-product-thumbnail-group
  [data-block-name="woocommerce/product-image"]
  img {
  scale: 1.1;
}
li.product:hover
  .brandy-halloween-product-thumbnail-group
  [data-block-name="woocommerce/product-image"]
  a::before {
  visibility: visible;
  opacity: 0.5;
}

li.product:hover
  .brandy-halloween-product-thumbnail-group
  .brandy-halloween-product-extra-actions {
  opacity: 1;
  visibility: visible;
}

/** Override theme variables */
body {
  --embla-navigation-display: none;
  --embla-scrollbar-display: block;
  --embla-scrollbar-bg-color: #e0e3ec0d;
  --embla-scrollbar-drag-bg-color: #a8aeae;
  --embla-scrollbar-size: 5px;
  --embla-scrollbar-margin-top: var(--wp--preset--spacing--40);

  --wc-sale-badge-font-weight: 500;
  --wc-sale-badge-distance: 15px;

  --brandy-post-img-aspect-ratio: 3/4;

  --theme-tooltip-background-color: #ffffff;
  --theme-tooltip-color: #122940;

  --brandy-live-result-suggestion-item-background-hover: var(
    --wp--preset--color--brandy-theme-background
  );
  --brandy-live-result-suggestion-item-border-hover: #ffffff;
  --brandy-live-result-suggestion-item-shadow-hover: 0 0 #ffff, 0 0 #ffff,
    0 5px 15px rgba(255, 255, 255, 0.07);
  --brandy-live-result-suggestion-item-color: #272829;
  --brandy-live-result-suggestion-item-color-hover: #ffffff;

  --woocommerce-quantity-input-background-color: var(
    --input-background-color-normal
  );
  --woocommerce-quantity-input-border-width: 1px;
  --woocommerce-quantity-input-border-color: #5a6d80;
  --woocommerce-quantity-input-color-normal: #d6e0e9;
  --woocommerce-quantity-input-color-hover: #d6e0e9;
  --woocommerce-quantity-input-button-color-normal: #5a6d80;
  --woocommerce-quantity-input-button-color-hover: #d6e0e9;

  --cart-remove-icon-color: rgb(90 109 128/1);
  --brandy-wishlist-shortcode-loading-bg: rgba(242, 242, 243, 0.1);

  --brandy-icon-global-stroke-width: 1.5px;

  --checkout-totals-block-brightness: 60%;
  --checkout-totals-block-radius: 12px;

  --cart-totals-block-brightness: 60%;
  --cart-totals-block-radius: 12px;
}
