/* WooCommerce overrides — extends miltina.css */

/* Remove default WC styles that conflict */
.woocommerce .woocommerce-breadcrumb { display: none; } /* we use our own */
.woocommerce-page .woocommerce { width: 100%; }

/* Product images gallery */
.woocommerce-product-gallery {
  position: relative;
}
.woocommerce-product-gallery .flex-viewport {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--blue-pale);
}
.woocommerce-product-gallery figure img {
  object-fit: contain;
  max-height: 400px;
  width: 100%;
}
.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  list-style: none;
  padding: 0;
}
.woocommerce-product-gallery .flex-control-thumbs li {
  width: 94px;
  height: 94px;
}
.woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-light);
  cursor: pointer;
  transition: border-color .2s;
}
.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs .flex-active {
  border-color: var(--navy);
}

/* Stars */
.woocommerce .star-rating {
  font-size: 14px;
  color: var(--yellow);
}
.woocommerce .star-rating span { color: var(--yellow); }

/* Product variations */
.variations label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: 8px;
  display: block;
}
.variations select {
  padding: 9px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
}

/* Cart totals */
.cart-collaterals .cart_totals { width: 100%; }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table tr td, .cart_totals table tr th {
  padding: 8px 0;
  font-size: 13.5px;
  font-family: var(--font-body);
  color: var(--text-light);
  border-bottom: 1px solid var(--gray-light);
  text-align: right;
}
.cart_totals table tr th { text-align: left; color: var(--navy); font-weight: 700; }
.cart_totals table tr.order-total td,
.cart_totals table tr.order-total th {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  border-bottom: none;
}
.cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 900;
  font-family: var(--font-head);
  margin-top: 16px;
  text-decoration: none;
  transition: opacity .15s;
}
.cart_totals .wc-proceed-to-checkout a.checkout-button:hover { opacity: .88; }

/* WC coupon */
.coupon { display: flex; gap: 8px; margin-bottom: 12px; }
.coupon .input-text {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--font-body);
}
.coupon .button {
  background: var(--off-white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--navy);
  cursor: pointer;
  transition: background .15s;
}
.coupon .button:hover { background: var(--gray-light); }

/* Order received */
.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: 20px;
}
