/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
.input-text.qty.text {
  color: black;
}
.related.products .products {
  padding-bottom: 30px;
}

/* Product cards mobile */
@media (max-width: 768px) {
  .products .product {
    padding: 0 10px 20px 10px !important;
  }
  .products .product .ct-woo-card-actions {
    flex-direction: column;
  }
  .products .product .ct-woo-card-actions .price:not(:only-child):after {
    display: none;
  }
  .products .product .ct-woo-card-actions > * {
    min-height: unset;
  }
}

.home-title {
  background: linear-gradient(
    110deg,
    var(--wp--preset--color--palette-color-1),
    #ffffff,
    var(--wp--preset--color--palette-color-1)
  );

  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  animation: soft-shimmer 6s ease-in-out infinite;
}

@keyframes soft-shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Products card 3D  */

.woocommerce ul.products {
  perspective: 1000px;
}

.woocommerce ul.products li.product {
  --rx: 0deg;
  --ry: 0deg;

  transform-style: preserve-3d;
  transform: translateY(0) rotateX(var(--rx)) rotateY(var(--ry)) scale(1);

  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* optional hover lift fallback */
.woocommerce ul.products li.product:hover {
  z-index: 10;
}

.solicitare {
  cursor: pointer;
}

.blue-btn:hover a {
  background: var(--theme-palette-color-1) !important;
}

.gtranslate_wrapper a {
  color: var(--theme-palette-color-2);
}
.gtranslate_wrapper a.gt-current-lang {
  color: var(--theme-palette-color-1);
}

/* Dark mode product */
.products .black-mode-on {
  background: black !important;
}
.products .black-mode-on .add_to_cart_button,
.products .black-mode-on p,
.products .black-mode-on h2 {
  color: white;
}
.black-mode-on .add_to_cart_button:hover {
  color: var(--theme-palette-color-1);
}

/* Product hover  */

.products .product:hover {
  box-shadow: 0px 0px 18px -4px var(--theme-palette-color-1);
}

/* ── FAQ Accordion ── */
.faq-accordion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  align-items: start; /* keeps columns independent */
}

@media (max-width: 768px) {
  .faq-accordion {
    grid-template-columns: 1fr;
  }
}

.faq-column {
  display: flex;
  flex-direction: column;
}

.faq-item {
  /* background: #00abff6e; */
  border-radius: 10px;
  padding: 0 20px;
  margin-bottom: 10px;
  border: 1px solid #00abff6e;
}

.faq-trigger {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  cursor: pointer;
  gap: 1rem;
  box-sizing: border-box;
}

.faq-trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-title {
  margin: 0 !important;
  font-size: inherit;
  text-align: left;
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-arrow {
  display: block;
  transition: transform 0.3s ease;
  will-change: transform;
}

.faq-trigger[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

/* Body — hidden by default, animated via max-height */
.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

/* When hidden attr is removed we animate open */
.faq-body:not([hidden]) {
  display: block; /* override hidden */
}

.faq-content {
  padding-bottom: 1rem;
}

.faq-content > *:first-child {
  margin-top: 0;
}
.faq-content > *:last-child {
  margin-bottom: 0;
}

/* Featured categories */

.wc-block-featured-category {
  position: relative;
}
@media (max-width: 768px) {
  .wc-block-featured-category {
    min-height: 250px !important;
  }
  .wc-block-featured-category .wc-block-featured-category__inner-blocks h2 {
    font-size: 14px !important;
  }
}
.wc-block-featured-category .wc-block-featured-category__wrapper {
  position: absolute;
}
.wc-block-featured-category .wc-block-featured-category__inner-blocks {
  position: absolute;
  bottom: 0;
  padding: 0 10px 20px 15px;
  height: 100%;
  display: flex;
  align-items: end;
}
.wc-block-featured-category .wc-block-featured-category__inner-blocks h2 {
  text-align: left;
  margin: 0;
  font-size: 24px;
}
.wc-block-featured-category
  .wc-block-featured-category__inner-blocks
  .wp-block-buttons {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.wc-block-featured-category
  .wc-block-featured-category__inner-blocks
  .wp-block-buttons
  .wp-block-button {
  width: 100%;
  height: 100%;
  opacity: 0;
}
.wc-block-featured-category .background-dim__overlay {
  transition: background-color 0.3s ease;
}
.wc-block-featured-category:has(.wp-block-button__link:hover)
  .background-dim__overlay {
  background-color: transparent !important;
}
