/* Extended theme variables and custom animations */
:root {
  --color-primary: #5326c0;
  --color-primary-container: #6c45d9;
  --color-secondary: #685393;
  --color-surface: #faf9fd;
  --color-surface-container: #eeedf1;
  --color-on-surface: #1a1c1e;
  --color-outline: #7a7486;
}

/* RTL Helpers */
[dir="rtl"] .tracking-wide {
  letter-spacing: normal;
}

/* Transitions */
.transition-smooth {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Consultation form input styling */
.consultation-input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e3e2e6;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #1a1c1e;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.consultation-input:focus {
  outline: none;
  border-color: #6c45d9;
  box-shadow: 0 0 0 3px rgba(108, 69, 217, 0.15);
}

/* Floating WhatsApp pulse animation */
@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.whatsapp-pulse {
  animation: pulse-subtle 3s infinite ease-in-out;
}

/* ======================================================== */
/* WooCommerce Official Styling (Royal Purple Theme)       */
/* ======================================================== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #ffffff;
  border: 1px solid #e8e8ec;
  border-radius: 1rem;
  padding: 1.25rem !important;
  text-align: right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px -2px rgba(23, 23, 23, 0.03);
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(108, 69, 217, 0.12);
  border-color: #cac3d7;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #1a1c1e !important;
  padding: 0.5rem 0 !important;
}

.woocommerce ul.products li.product .price {
  color: #5326c0 !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
}

.woocommerce ul.products li.product .button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .cart .button,
.woocommerce .checkout-button {
  background-color: #6c45d9 !important;
  color: #ffffff !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 1.5rem !important;
  font-family: 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
  transition: all 0.2s ease !important;
  text-shadow: none !important;
  box-shadow: 0 2px 6px rgba(108, 69, 217, 0.25) !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .cart .button:hover,
.woocommerce .checkout-button:hover {
  background-color: #5326c0 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.woocommerce span.onsale {
  background-color: #6c45d9 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  padding: 0.25rem 0.75rem !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: normal !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #5326c0 !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
}

.woocommerce div.product .product_title {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  color: #1a1c1e !important;
}

.woocommerce-message,
.woocommerce-info {
  border-top-color: #6c45d9 !important;
  background-color: #faf9fd !important;
  border-radius: 0.75rem !important;
}
.woocommerce-message::before,
.woocommerce-info::before {
  color: #6c45d9 !important;
}
