/* Scoped exclusively to the managed WooCommerce gift-voucher product. */
body.alba-gift-product {
  --alba-woo-bg: #070b12;
  --alba-woo-surface: #101826;
  --alba-woo-text: #f7f9fc;
  --alba-woo-muted: #cbd5e1;
  --alba-woo-blue: #38bdf8;
  --alba-woo-border: rgba(148, 163, 184, 0.28);
  background: var(--alba-woo-bg);
  color: var(--alba-woo-text);
}

body.alba-gift-product #main,
body.alba-gift-product #content-wrap,
body.alba-gift-product .content-area,
body.alba-gift-product .site-main,
body.alba-gift-product div.product {
  background: var(--alba-woo-bg);
  color: var(--alba-woo-text);
}

body.alba-gift-product div.product .product_title,
body.alba-gift-product div.product .woocommerce-product-details__short-description,
body.alba-gift-product div.product .woocommerce-product-details__short-description p,
body.alba-gift-product div.product form.cart,
body.alba-gift-product div.product form.cart label,
body.alba-gift-product div.product .product_meta,
body.alba-gift-product div.product .woocommerce-tabs,
body.alba-gift-product div.product .woocommerce-tabs h2,
body.alba-gift-product div.product .woocommerce-tabs p {
  color: var(--alba-woo-text);
}

body.alba-gift-product div.product .product_meta,
body.alba-gift-product div.product .product_meta a,
body.alba-gift-product div.product .reset_variations,
body.alba-gift-product div.product table.variations .label,
body.alba-gift-product div.product table.variations label {
  color: var(--alba-woo-muted);
}

body.alba-gift-product div.product p.price,
body.alba-gift-product div.product span.price,
body.alba-gift-product div.product .woocommerce-variation-price .price {
  color: var(--alba-woo-blue);
}

body.alba-gift-product div.product table.variations,
body.alba-gift-product div.product table.variations td,
body.alba-gift-product div.product table.variations th {
  border-color: var(--alba-woo-border);
}

body.alba-gift-product div.product table.variations select,
body.alba-gift-product div.product .quantity .qty {
  border: 1px solid var(--alba-woo-border);
  background: var(--alba-woo-surface);
  color: var(--alba-woo-text);
}

body.alba-gift-product div.product .single_add_to_cart_button {
  min-height: 48px;
  border-radius: 8px;
  background: #1677ff;
  color: #fff;
  font-weight: 700;
}

body.alba-gift-product div.product .single_add_to_cart_button:hover,
body.alba-gift-product div.product .single_add_to_cart_button:focus-visible {
  background: #0b5ed7;
}

/* WooCommerce starts the gallery at opacity:0 until its slider initializes.
   Keep it visible as a resilient mobile fallback if initialization is delayed. */
body.alba-gift-product .woocommerce-product-gallery {
  opacity: 1 !important;
  visibility: visible !important;
}

body.alba-gift-product .woocommerce-product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

body.alba-gift-product .woocommerce-product-gallery__wrapper,
body.alba-gift-product .woocommerce-product-gallery__image {
  background: var(--alba-woo-surface);
}

body.alba-gift-product div.product .woocommerce-tabs ul.tabs li a,
body.alba-gift-product div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--alba-woo-text);
}

@media (max-width: 767px) {
  body.alba-gift-product div.product .product_title {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.12;
  }

  body.alba-gift-product .woocommerce-product-gallery {
    min-height: 0;
    margin-bottom: 24px;
  }
}
