/**
 * Twiga Cart - Performance-optimized design (light animations)
 * GPU-friendly: only transform + opacity. No heavy entrance animations.
 */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Product cards: hover only (no load animation) */
.products .product,
ul.products li.product,
.product-inner {
  transition: transform 0.35s ease !important;
  border-radius: 12px;
  overflow: hidden;
}

.products .product:hover,
ul.products li.product:hover,
.product-inner:hover {
  transform: translateY(-6px) !important;
}

.products .product img,
ul.products li.product img {
  transition: transform 0.4s ease !important;
}

.products .product:hover img,
ul.products li.product:hover img {
  transform: scale(1.05) !important;
}

/* Buttons: transform only */
button,
.button,
a.button,
input[type="submit"],
.add_to_cart_button,
.single_add_to_cart_button {
  transition: transform 0.25s ease !important;
}

button:hover,
.button:hover,
a.button:hover,
.add_to_cart_button:hover,
.single_add_to_cart_button:hover {
  transform: translateY(-2px) !important;
}

/* FAQ toggles */
.vc_toggle_title {
  transition: color 0.2s ease !important;
}

.vc_toggle_title:hover {
  color: #0787ea !important;
}

/* Links */
a {
  transition: color 0.2s ease !important;
}

/* Form focus */
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(7, 135, 234, 0.3);
  outline-offset: 2px;
}

/* Cart icon */
.cart-contents,
.ec-cart {
  transition: transform 0.25s ease !important;
}

.cart-contents:hover,
.ec-cart:hover {
  transform: scale(1.08) !important;
}

/* Entry headings - no opacity animation */
.entry-content .vc_column_text h2:hover,
.entry-content .vc_column_text h3:hover {
  color: #0787ea !important;
}

.entry-content .vc_column_text h2,
.entry-content .vc_column_text h3 {
  transition: color 0.2s ease;
}
