/* Dual Price Display */
.shampoo-dual-price {
  line-height: 1.2;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column; /* Stack vertically */
  justify-content: center;
  align-items: center; /* Center alignment looks best for product cards */
  gap: 4px;
}

.shampoo-dual-price .price-retail,
.shampoo-dual-price .price-wholesale {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

/* Retail Price - Secondary/Subtle */
.shampoo-dual-price .price-retail .value {
  color: var(--outline); /* Muted gray */
  font-size: 0.95em;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Wholesale Price - Primary/Prominent */
.shampoo-dual-price .price-wholesale .value {
  color: var(--error); /* Using error color for emphasis */
  font-size: 1.05em; /* Slightly larger but not too big */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.shampoo-dual-price .price-suffix {
  font-size: 0.65em;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}

/* Suffix Styles */
.shampoo-dual-price .price-retail .price-suffix {
  background-color: var(--surfaceContainerHigh);
  color: var(--onSurfaceVariant);
  font-size: 0.6em;
}

.shampoo-dual-price .price-wholesale .price-suffix {
  background-color: var(--error); /* Using error color to match price */
  color: var(--onError);
  font-size: 0.6em;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(186, 26, 26, 0.3);
}



/* Catalog Button Group */
.td_module_wrap .read-more {
  display: flex !important;
  width: 100%;
  gap: 8px; /* Space between buttons */
  margin-top: 8px;
}

.td_module_wrap .read-more a.button {
  flex: 0 0 auto; /* Default to auto width */
  margin: 0 !important;
  padding: 10px 12px !important; /* Slightly more side padding */
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  font-size: 11px !important;
  line-height: 1.2;
  height: auto;
  min-height: 40px;
  border-radius: 4px !important;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none !important;
}

/* Add to Cart (Left) - Fluid, takes available space */
.td_module_wrap .read-more a.add_to_cart_button {
  flex: 1 1 auto; /* Grow to fill space */
  background-color: var(--surfaceContainerHighest);
  color: var(--onSurface);
}

/* Buy Now (Right) - Compact, Fixed or Content sized */
.td_module_wrap .read-more a.shampoo-buy-now {
  flex: 0 0 auto; /* Do not grow */
  min-width: 90px; /* Minimum width for tap target */
  background-color: var(--primary) !important;
  color: var(--onPrimary) !important;
}

/* ==========================================================================
   Shipping Estimate Styles
   ========================================================================== */

/* Cart table shipping estimate row */
.shipping-estimate th,
.shipping-estimate td {
  background-color: var(--surfaceContainerLow) !important;
  border-top: 1px dashed var(--outlineVariant) !important;
}

.shipping-estimate .shipping-note {
  display: block;
  font-size: 0.85em;
  color: var(--outline);
  margin-top: 4px;
}

/* Mini-cart shipping estimate */
.mini-cart-shipping-estimate {
  background: var(--surfaceContainerLow);
  padding: 12px 15px !important;
  margin: 10px 0 0 0 !important;
  border-top: 1px dashed var(--outlineVariant);
  list-style: none !important;
}

.mini-cart-shipping-estimate .shipping-estimate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  margin-bottom: 6px;
}

.mini-cart-shipping-estimate .shipping-estimate-row:last-child {
  margin-bottom: 0;
}

.mini-cart-shipping-estimate .label {
  color: var(--onSurfaceVariant);
  font-weight: 500;
}

.mini-cart-shipping-estimate .cost {
  font-weight: 600;
  color: var(--onSurface);
}

.mini-cart-shipping-estimate .total-row {
  padding-top: 8px;
  border-top: 1px solid var(--outlineVariant);
  margin-top: 8px;
}

.mini-cart-shipping-estimate .total-row .label {
  font-weight: 600;
  color: var(--primary);
}

.mini-cart-shipping-estimate .total-cost {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1em;
}
/* ==========================================================================
   Product Card Hover Animation - Internal Effects Only
   ========================================================================== */

/* Base styles for both containers */
.td_woo_product_module.td_module_wrap,
.td_woo_product_module .td-module-container {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
  border: 1px solid transparent;
}

/* Gradient overlay effect */
.td_woo_product_module .td-module-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(14, 102, 129, 0.02) 0%, 
    rgba(14, 102, 129, 0.08) 50%,
    rgba(14, 102, 129, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

/* Shimmer effect */
.td_woo_product_module .td-module-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.2) 80%,
    transparent 100%);
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 2;
}

/* Hover state - SOLO en .td-module-container */
.td_woo_product_module .td-module-container:hover {
  box-shadow: 
    inset 0 0 0 1px rgba(14, 102, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 25px rgba(0, 0, 0, 0.1),
    0 4px 10px rgba(14, 102, 129, 0.1);
  border-color: rgba(14, 102, 129, 0.15);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surfaceContainerLow) 100%);
}

.td_woo_product_module .td-module-container:hover::before {
  opacity: 1;
}

.td_woo_product_module .td-module-container:hover::after {
  left: 100%;
}

/* Image enhancement */
.td_woo_product_module .entry-thumb {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.td_woo_product_module .td-module-container:hover .entry-thumb {
  filter: brightness(1.08) contrast(1.05) saturate(1.1);
}

/* Content area enhancement */
.td_woo_product_module .td-module-meta-info {
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
  padding: 12px;
}

.td_woo_product_module .td-module-container:hover .td-module-meta-info {
  background: rgba(255, 255, 255, 0.03);
}

/* Title enhancement */
.td_woo_product_module .td-module-title {
  transition: all 0.3s ease;
  position: relative;
}

.td_woo_product_module .td-module-container:hover .td-module-title a {
  color: var(--primary) !important;
  text-shadow: 0 1px 3px rgba(14, 102, 129, 0.2);
  font-weight: 600;
}

/* Price enhancement */
.td_woo_product_module .shampoo-dual-price {
  transition: all 0.3s ease;
  position: relative;
}

.td_woo_product_module .td-module-container:hover .price-wholesale .value {
  color: var(--onErrorContainer); /* Darker error color on hover */
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(147, 0, 10, 0.2);
}

.td_woo_product_module .td-module-container:hover .price-retail .value {
  opacity: 0.8;
}

/* Button enhancement */
.td_woo_product_module .read-more {
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.td_woo_product_module .td-module-container:hover .read-more a.button {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  filter: brightness(1.05);
}

.td_woo_product_module .td-module-container:hover .read-more a.add_to_cart_button {
  background-color: var(--surfaceContainerHigh) !important;
  color: var(--onSurface) !important;
  border: 1px solid var(--outline) !important;
}

.td_woo_product_module .td-module-container:hover .read-more a.shampoo-buy-now {
  background-color: var(--primary) !important;
  color: var(--onPrimary) !important;
  box-shadow: 0 4px 16px rgba(14, 102, 129, 0.3) !important;
  filter: brightness(1.1);
}

/* Subtle pulsing glow - internal only */
@keyframes internal-glow {
  0%, 100% { 
    box-shadow: 
      inset 0 0 0 1px rgba(14, 102, 129, 0.1),
      0 4px 15px rgba(0, 0, 0, 0.08);
  }
  50% { 
    box-shadow: 
      inset 0 0 0 1px rgba(14, 102, 129, 0.25),
      inset 0 0 20px rgba(14, 102, 129, 0.05),
      0 6px 20px rgba(0, 0, 0, 0.12);
  }
}

.td_woo_product_module .td-module-container:hover {
  animation: internal-glow 2.5s ease-in-out infinite;
}